31 #ifndef __vtkHyperOctreeSampleFunction_h
32 #define __vtkHyperOctreeSampleFunction_h
54 void SetLevels(
int levels);
63 void SetMinLevels(
int minLevels);
67 double GetThreshold();
72 void SetThreshold(
double threshold);
82 void SetDimension(
int dim);
86 vtkSetVector3Macro(Size,
double);
91 vtkGetVector3Macro(Size,
double);
96 vtkSetVector3Macro(Origin,
double);
98 vtkGetVector3Macro(Origin,
double);
106 void SetWidth(
double width);
115 void SetHeight(
double height);
124 void SetDepth(
double depth);
134 vtkSetMacro(OutputScalarType,
int);
135 vtkGetMacro(OutputScalarType,
int);
141 {this->SetOutputScalarType(
VTK_LONG);}
145 {this->SetOutputScalarType(
VTK_INT);}
153 {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.
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()