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);}
88 void SetSampleDimensions(
int i,
int j,
int k);
92 void SetSampleDimensions(
int dim[3]);
93 vtkGetVectorMacro(SampleDimensions,
int,3);
99 void SetModelBounds(
const double bounds[6]);
100 void SetModelBounds(
double xMin,
double xMax,
101 double yMin,
double yMax,
102 double zMin,
double zMax);
103 vtkGetVectorMacro(ModelBounds,
double,6);
110 vtkSetMacro(Capping,
int);
111 vtkGetMacro(Capping,
int);
112 vtkBooleanMacro(Capping,
int);
117 vtkSetMacro(CapValue,
double);
118 vtkGetMacro(CapValue,
double);
123 vtkSetMacro(ComputeNormals,
int);
124 vtkGetMacro(ComputeNormals,
int);
125 vtkBooleanMacro(ComputeNormals,
int);
131 vtkSetStringMacro(ScalarArrayName);
132 vtkGetStringMacro(ScalarArrayName);
138 vtkSetStringMacro(NormalArrayName);
139 vtkGetStringMacro(NormalArrayName);
164 int SampleDimensions[3];
165 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()