Go to the documentation of this file.
32 #ifndef vtkHyperOctreeSampleFunction_h
33 #define vtkHyperOctreeSampleFunction_h
35 #include "vtkFiltersHyperTreeModule.h"
105 vtkSetVector3Macro(Size,
double);
112 vtkGetVector3Macro(Size,
double);
119 vtkSetVector3Macro(Origin,
double);
121 vtkGetVector3Macro(Origin,
double);
180 vtkGetMacro(OutputScalarType,
int);
186 {this->SetOutputScalarType(
VTK_LONG);}
190 {this->SetOutputScalarType(
VTK_INT);}
198 {this->SetOutputScalarType(
VTK_CHAR);}
static vtkHyperOctreeSampleFunction * New()
void SetDimension(int dim)
sample an implicit function over an hyperoctree
double GetThreshold()
Return the threshold over which a subdivision is required.
void SetMinLevels(int minLevels)
Set the minimal number of levels of systematic subdivision.
void SetOutputScalarTypeToUnsignedShort()
#define VTK_UNSIGNED_SHORT
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToDouble()
void SetOutputScalarTypeToFloat()
~vtkHyperOctreeSampleFunction()
Objects that can traverse hyperoctree nodes.
void SetOutputScalarTypeToInt()
int GetMinLevels()
Return the minimal number of levels of systematic subdivision.
void SetOutputScalarTypeToUnsignedChar()
void SetThreshold(double threshold)
Set the threshold over which a subdivision is required.
vtkTypeUInt64 vtkMTimeType
abstract interface for implicit functions
Superclass for algorithms that produce only octree as output.
void SetOutputScalarTypeToChar()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
double GetDepth()
Return the length along the z-axis.
void SetLevels(int levels)
Set the maximum number of levels of the hyperoctree.
void SetDepth(double depth)
Return the length along the z-axis.
void SetOutputScalarTypeToLong()
a simple class to control print indentation
int GetLevels()
Return the maximum number of levels of the hyperoctree.
void SetOutputScalarTypeToUnsignedInt()
#define VTK_UNSIGNED_CHAR
void SetWidth(double width)
Set the length along the x-axis.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
#define VTK_UNSIGNED_LONG
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
int GetDimension()
Return the dimension of the tree (1D:binary tree(2 children), 2D:quadtree(4 children),...
void SetHeight(double height)
Set the length along the y-axis.
double GetWidth()
Return the length along the x-axis.
vtkImplicitFunction * ImplicitFunction
int RequestInformation(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector)
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function to use to generate data.
vtkHyperOctreeSampleFunction()
Default constructor.
double GetHeight()
Return the length along the y-axis.
A dataset structured as a tree where each node has exactly 2^n children.
vtkMTimeType GetMTime()
Return the MTime also considering the implicit function.
void SetOutputScalarTypeToUnsignedLong()
void Subdivide(vtkHyperOctreeCursor *cursor, int level, vtkHyperOctree *output)