30 #ifndef vtkSampleFunction_h 31 #define vtkSampleFunction_h 33 #include "vtkImagingHybridModule.h" 64 vtkGetMacro(OutputScalarType,
int);
70 {this->SetOutputScalarType(
VTK_LONG);}
74 {this->SetOutputScalarType(
VTK_INT);}
82 {this->SetOutputScalarType(
VTK_CHAR);}
90 void SetSampleDimensions(
int i,
int j,
int k);
96 void SetSampleDimensions(
int dim[3]);
97 vtkGetVectorMacro(SampleDimensions,
int,3);
105 void SetModelBounds(
const double bounds[6]);
106 void SetModelBounds(
double xMin,
double xMax,
107 double yMin,
double yMax,
108 double zMin,
double zMax);
109 vtkGetVectorMacro(ModelBounds,
double,6);
119 vtkGetMacro(Capping,
int);
128 vtkGetMacro(CapValue,
double);
136 vtkGetMacro(ComputeNormals,
int);
145 vtkSetStringMacro(ScalarArrayName);
154 vtkSetStringMacro(NormalArrayName);
183 int OutputScalarType;
184 int SampleDimensions[3];
185 double ModelBounds[6];
190 char *ScalarArrayName;
191 char *NormalArrayName;
abstract interface for implicit functions
sample an implicit function over a structured point set
vtkTypeUInt32 vtkMTimeType
#define VTK_UNSIGNED_SHORT
Detect and break reference loops.
void SetOutputScalarTypeToShort()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToUnsignedShort()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToDouble()
Set what type of scalar data this source should generate.
a simple class to control print indentation
abstract superclass for arrays of numeric data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void SetOutputScalarTypeToLong()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToInt()
Set what type of scalar data this source should generate.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void SetOutputScalarTypeToUnsignedLong()
Set what type of scalar data this source should generate.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetOutputScalarTypeToUnsignedChar()
Set what type of scalar data this source should generate.
#define VTK_UNSIGNED_CHAR
Generic algorithm superclass for image algs.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_UNSIGNED_LONG
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetOutputScalarTypeToFloat()
Set what type of scalar data this source should generate.
general representation of visualization data
void SetOutputScalarTypeToUnsignedInt()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToChar()
Set what type of scalar data this source should generate.