35 #ifndef __vtkSampleFunction_h
36 #define __vtkSampleFunction_h
63 vtkSetMacro(OutputScalarType,
int);
64 vtkGetMacro(OutputScalarType,
int);
70 {this->SetOutputScalarType(
VTK_LONG);}
74 {this->SetOutputScalarType(
VTK_INT);}
82 {this->SetOutputScalarType(
VTK_CHAR);}
93 void SetSampleDimensions(
int i,
int j,
int k);
97 void SetSampleDimensions(
int dim[3]);
98 vtkGetVectorMacro(SampleDimensions,
int,3);
104 void SetModelBounds(
const double bounds[6]);
105 void SetModelBounds(
double xMin,
double xMax,
106 double yMin,
double yMax,
107 double zMin,
double zMax);
108 vtkGetVectorMacro(ModelBounds,
double,6);
115 vtkSetMacro(Capping,
int);
116 vtkGetMacro(Capping,
int);
117 vtkBooleanMacro(Capping,
int);
122 vtkSetMacro(CapValue,
double);
123 vtkGetMacro(CapValue,
double);
128 vtkSetMacro(ComputeNormals,
int);
129 vtkGetMacro(ComputeNormals,
int);
130 vtkBooleanMacro(ComputeNormals,
int);
136 vtkSetStringMacro(ScalarArrayName);
137 vtkGetStringMacro(ScalarArrayName);
143 vtkSetStringMacro(NormalArrayName);
144 vtkGetStringMacro(NormalArrayName);
169 int SampleDimensions[3];
170 double ModelBounds[6];
abstract interface for implicit functions
sample an implicit function over a structured point set
#define VTK_UNSIGNED_SHORT
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
Detect and break reference loops.
virtual void ReportReferences(vtkGarbageCollector *)
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToUnsignedShort()
void SetOutputScalarTypeToDouble()
virtual unsigned long GetMTime()
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
abstract superclass for arrays of numeric data
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToUnsignedLong()
vtkImplicitFunction * ImplicitFunction
void SetOutputScalarTypeToUnsignedChar()
#define VTK_UNSIGNED_CHAR
Generic algorithm superclass for image algs.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
#define VTK_UNSIGNED_LONG
#define VTKIMAGINGHYBRID_EXPORT
void SetOutputScalarTypeToFloat()
general representation of visualization data
void SetOutputScalarTypeToUnsignedInt()
void SetOutputScalarTypeToChar()