32 #ifndef vtkHyperOctreeSampleFunction_h 33 #define vtkHyperOctreeSampleFunction_h 35 #include "vtkFiltersHyperTreeModule.h" 40 #if !defined(VTK_LEGACY_REMOVE) 62 void SetLevels(
int levels);
75 void SetMinLevels(
int minLevels);
81 double GetThreshold();
88 void SetThreshold(
double threshold);
100 void SetDimension(
int dim);
106 vtkSetVector3Macro(Size,
double);
113 vtkGetVector3Macro(Size,
double);
120 vtkSetVector3Macro(Origin,
double);
122 vtkGetVector3Macro(Origin,
double);
136 void SetWidth(
double width);
151 void SetHeight(
double height);
166 void SetDepth(
double depth);
181 vtkGetMacro(OutputScalarType,
int);
187 {this->SetOutputScalarType(
VTK_LONG);}
191 {this->SetOutputScalarType(
VTK_INT);}
199 {this->SetOutputScalarType(
VTK_CHAR);}
246 #endif // LEGACY remove abstract interface for implicit functions
void SetOutputScalarTypeToLong()
Set what type of scalar data this source should generate.
Superclass for algorithms that produce only octree as output.
void SetOutputScalarTypeToUnsignedInt()
Set what type of scalar data this source should generate.
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
#define VTK_UNSIGNED_SHORT
vtkImplicitFunction * ImplicitFunction
A dataset structured as a tree where each node has exactly 2^n children.
void SetOutputScalarTypeToUnsignedLong()
Set what type of scalar data this source should generate.
a simple class to control print indentation
sample an implicit function over an hyperoctree
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void SetOutputScalarTypeToUnsignedShort()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToShort()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToFloat()
Set what type of scalar data this source should generate.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Objects that can traverse hyperoctree nodes.
void SetOutputScalarTypeToInt()
Set what type of scalar data this source should generate.
#define VTK_UNSIGNED_CHAR
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetOutputScalarTypeToDouble()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToUnsignedChar()
Set what type of scalar data this source should generate.
static vtkAlgorithm * New()
#define VTK_UNSIGNED_LONG
void SetOutputScalarTypeToChar()
Set what type of scalar data this source should generate.