35 #ifndef __vtkSampleFunction_h
36 #define __vtkSampleFunction_h
62 vtkSetMacro(OutputScalarType,
int);
63 vtkGetMacro(OutputScalarType,
int);
69 {this->SetOutputScalarType(
VTK_LONG);}
73 {this->SetOutputScalarType(
VTK_INT);}
81 {this->SetOutputScalarType(
VTK_CHAR);}
92 void SetSampleDimensions(
int i,
int j,
int k);
96 void SetSampleDimensions(
int dim[3]);
97 vtkGetVectorMacro(SampleDimensions,
int,3);
103 vtkSetVector6Macro(ModelBounds,
double);
104 vtkGetVectorMacro(ModelBounds,
double,6);
111 vtkSetMacro(Capping,
int);
112 vtkGetMacro(Capping,
int);
113 vtkBooleanMacro(Capping,
int);
118 vtkSetMacro(CapValue,
double);
119 vtkGetMacro(CapValue,
double);
124 vtkSetMacro(ComputeNormals,
int);
125 vtkGetMacro(ComputeNormals,
int);
126 vtkBooleanMacro(ComputeNormals,
int);
132 vtkSetStringMacro(ScalarArrayName);
133 vtkGetStringMacro(ScalarArrayName);
139 vtkSetStringMacro(NormalArrayName);
140 vtkGetStringMacro(NormalArrayName);
165 int SampleDimensions[3];
166 double ModelBounds[6];
abstract interface for implicit functions
sample an implicit function over a structured point set
virtual void ExecuteData(vtkDataObject *output)
#define VTK_UNSIGNED_SHORT
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
void SetOutputScalarTypeToFloat()
general representation of visualization data
void SetOutputScalarTypeToUnsignedInt()
void SetOutputScalarTypeToChar()