32 #ifndef vtkHyperOctreeSampleFunction_h
33 #define vtkHyperOctreeSampleFunction_h
35 #include "vtkFiltersHyperTreeModule.h"
61 void SetLevels(
int levels);
74 void SetMinLevels(
int minLevels);
80 double GetThreshold();
87 void SetThreshold(
double threshold);
99 void SetDimension(
int dim);
105 vtkSetVector3Macro(Size,
double);
112 vtkGetVector3Macro(Size,
double);
119 vtkSetVector3Macro(Origin,
double);
121 vtkGetVector3Macro(Origin,
double);
135 void SetWidth(
double width);
150 void SetHeight(
double height);
165 void SetDepth(
double depth);
180 vtkGetMacro(OutputScalarType,
int);
186 {this->SetOutputScalarType(
VTK_LONG);}
190 {this->SetOutputScalarType(
VTK_INT);}
198 {this->SetOutputScalarType(
VTK_CHAR);}
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.
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.
vtkTypeUInt64 vtkMTimeType
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.