31 #ifndef vtkHyperOctreeSampleFunction_h
32 #define vtkHyperOctreeSampleFunction_h
55 void SetLevels(
int levels);
64 void SetMinLevels(
int minLevels);
68 double GetThreshold();
73 void SetThreshold(
double threshold);
83 void SetDimension(
int dim);
87 vtkSetVector3Macro(Size,
double);
92 vtkGetVector3Macro(Size,
double);
97 vtkSetVector3Macro(Origin,
double);
99 vtkGetVector3Macro(Origin,
double);
107 void SetWidth(
double width);
116 void SetHeight(
double height);
125 void SetDepth(
double depth);
135 vtkSetMacro(OutputScalarType,
int);
136 vtkGetMacro(OutputScalarType,
int);
142 {this->SetOutputScalarType(
VTK_LONG);}
146 {this->SetOutputScalarType(
VTK_INT);}
154 {this->SetOutputScalarType(
VTK_CHAR);}
abstract interface for implicit functions
void SetOutputScalarTypeToLong()
Superclass for algorithms that produce only octree as output.
void SetOutputScalarTypeToUnsignedInt()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_UNSIGNED_SHORT
vtkImplicitFunction * ImplicitFunction
A dataset structured as a tree where each node has exactly 2^n children.
#define VTKFILTERSHYPERTREE_EXPORT
void SetOutputScalarTypeToUnsignedLong()
virtual unsigned long GetMTime()
a simple class to control print indentation
sample an implicit function over an hyperoctree
void SetOutputScalarTypeToUnsignedShort()
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToFloat()
Objects that can traverse hyperoctree nodes.
void SetOutputScalarTypeToInt()
#define VTK_UNSIGNED_CHAR
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetOutputScalarTypeToDouble()
void SetOutputScalarTypeToUnsignedChar()
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
#define VTK_UNSIGNED_LONG
void SetOutputScalarTypeToChar()