VTK
|
sample an implicit function over an hyperoctree More...
#include <vtkHyperOctreeSampleFunction.h>
sample an implicit function over an hyperoctree
vtkHyperOctreeSampleFunction is a source object that evaluates an implicit function to drive the subdivision process. The user can specify the threshold over which a subdivision occurs, the maximum and minimum level of subdivisions and the dimension of the hyperoctree.
Definition at line 39 of file vtkHyperOctreeSampleFunction.h.
Reimplemented from vtkHyperOctreeAlgorithm.
Definition at line 42 of file vtkHyperOctreeSampleFunction.h.
vtkHyperOctreeSampleFunction::vtkHyperOctreeSampleFunction | ( | ) | [protected] |
Default constructor. Set dimension to 3, width, height and depth to 1, levels to 5, minLevels to 1, implicitFunction to 0, OutputScalarType to VTK_DOUBLE, Threshold is 0.1.
vtkHyperOctreeSampleFunction::~vtkHyperOctreeSampleFunction | ( | ) | [protected] |
Default constructor. Set dimension to 3, width, height and depth to 1, levels to 5, minLevels to 1, implicitFunction to 0, OutputScalarType to VTK_DOUBLE, Threshold is 0.1.
static int vtkHyperOctreeSampleFunction::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkHyperOctreeAlgorithm.
virtual int vtkHyperOctreeSampleFunction::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkHyperOctreeAlgorithm.
static vtkHyperOctreeSampleFunction* vtkHyperOctreeSampleFunction::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkHyperOctreeAlgorithm.
virtual vtkObjectBase* vtkHyperOctreeSampleFunction::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkHyperOctreeAlgorithm.
Reimplemented from vtkHyperOctreeAlgorithm.
void vtkHyperOctreeSampleFunction::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkHyperOctreeAlgorithm.
static vtkHyperOctreeSampleFunction* vtkHyperOctreeSampleFunction::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
Return the maximum number of levels of the hyperoctree.
void vtkHyperOctreeSampleFunction::SetLevels | ( | int | levels | ) |
Set the maximum number of levels of the hyperoctree. If GetMinLevels()>=levels, GetMinLevels() is changed to levels-1.
Return the minimal number of levels of systematic subdivision.
void vtkHyperOctreeSampleFunction::SetMinLevels | ( | int | minLevels | ) |
Set the minimal number of levels of systematic subdivision.
Return the threshold over which a subdivision is required.
void vtkHyperOctreeSampleFunction::SetThreshold | ( | double | threshold | ) |
Set the threshold over which a subdivision is required.
Return the dimension of the tree (1D:binary tree(2 children), 2D:quadtree(4 children), 3D:octree (8 children))
void vtkHyperOctreeSampleFunction::SetDimension | ( | int | dim | ) |
virtual void vtkHyperOctreeSampleFunction::SetSize | ( | double | , |
double | , | ||
double | |||
) | [virtual] |
Set the size on each axis.
virtual void vtkHyperOctreeSampleFunction::SetSize | ( | double | [3] | ) | [virtual] |
Set the size on each axis.
virtual double* vtkHyperOctreeSampleFunction::GetSize | ( | ) | [virtual] |
Return the size on each axis.
virtual void vtkHyperOctreeSampleFunction::GetSize | ( | double & | , |
double & | , | ||
double & | |||
) | [virtual] |
Return the size on each axis.
virtual void vtkHyperOctreeSampleFunction::GetSize | ( | double | [3] | ) | [virtual] |
Return the size on each axis.
virtual void vtkHyperOctreeSampleFunction::SetOrigin | ( | double | , |
double | , | ||
double | |||
) | [virtual] |
Set the origin (position of corner (0,0,0) of the root.
virtual void vtkHyperOctreeSampleFunction::SetOrigin | ( | double | [3] | ) | [virtual] |
Set the origin (position of corner (0,0,0) of the root.
virtual double* vtkHyperOctreeSampleFunction::GetOrigin | ( | ) | [virtual] |
Set the origin (position of corner (0,0,0) of the root.
virtual void vtkHyperOctreeSampleFunction::GetOrigin | ( | double & | , |
double & | , | ||
double & | |||
) | [virtual] |
Set the origin (position of corner (0,0,0) of the root.
virtual void vtkHyperOctreeSampleFunction::GetOrigin | ( | double | [3] | ) | [virtual] |
Set the origin (position of corner (0,0,0) of the root.
Return the length along the x-axis.
void vtkHyperOctreeSampleFunction::SetWidth | ( | double | width | ) |
Set the length along the x-axis.
Return the length along the y-axis. Relevant only if GetDimension()>=2
void vtkHyperOctreeSampleFunction::SetHeight | ( | double | height | ) |
Set the length along the y-axis. Relevant only if GetDimension()>=2
Return the length along the z-axis. Relevant only if GetDimension()>=3
void vtkHyperOctreeSampleFunction::SetDepth | ( | double | depth | ) |
Return the length along the z-axis. Relevant only if GetDimension()>=3
virtual void vtkHyperOctreeSampleFunction::SetImplicitFunction | ( | vtkImplicitFunction * | ) | [virtual] |
Specify the implicit function to use to generate data.
virtual vtkImplicitFunction* vtkHyperOctreeSampleFunction::GetImplicitFunction | ( | ) | [virtual] |
Specify the implicit function to use to generate data.
virtual void vtkHyperOctreeSampleFunction::SetOutputScalarType | ( | int | ) | [virtual] |
Set what type of scalar data this source should generate.
virtual int vtkHyperOctreeSampleFunction::GetOutputScalarType | ( | ) | [virtual] |
Set what type of scalar data this source should generate.
void vtkHyperOctreeSampleFunction::SetOutputScalarTypeToDouble | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 137 of file vtkHyperOctreeSampleFunction.h.
void vtkHyperOctreeSampleFunction::SetOutputScalarTypeToFloat | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 139 of file vtkHyperOctreeSampleFunction.h.
void vtkHyperOctreeSampleFunction::SetOutputScalarTypeToLong | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 141 of file vtkHyperOctreeSampleFunction.h.
void vtkHyperOctreeSampleFunction::SetOutputScalarTypeToUnsignedLong | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 143 of file vtkHyperOctreeSampleFunction.h.
void vtkHyperOctreeSampleFunction::SetOutputScalarTypeToInt | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 145 of file vtkHyperOctreeSampleFunction.h.
void vtkHyperOctreeSampleFunction::SetOutputScalarTypeToUnsignedInt | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 147 of file vtkHyperOctreeSampleFunction.h.
void vtkHyperOctreeSampleFunction::SetOutputScalarTypeToShort | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 149 of file vtkHyperOctreeSampleFunction.h.
void vtkHyperOctreeSampleFunction::SetOutputScalarTypeToUnsignedShort | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 151 of file vtkHyperOctreeSampleFunction.h.
void vtkHyperOctreeSampleFunction::SetOutputScalarTypeToChar | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 153 of file vtkHyperOctreeSampleFunction.h.
void vtkHyperOctreeSampleFunction::SetOutputScalarTypeToUnsignedChar | ( | ) | [inline] |
Set what type of scalar data this source should generate.
Definition at line 155 of file vtkHyperOctreeSampleFunction.h.
unsigned long vtkHyperOctreeSampleFunction::GetMTime | ( | ) | [virtual] |
Return the MTime also considering the implicit function.
Reimplemented from vtkObject.
int vtkHyperOctreeSampleFunction::RequestInformation | ( | vtkInformation * | vtkNotUsedrequest, |
vtkInformationVector ** | vtkNotUsedinputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected] |
virtual int vtkHyperOctreeSampleFunction::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkHyperOctreeAlgorithm.
void vtkHyperOctreeSampleFunction::Subdivide | ( | vtkHyperOctreeCursor * | cursor, |
int | level, | ||
vtkHyperOctree * | output | ||
) | [protected] |
int vtkHyperOctreeSampleFunction::Dimension [protected] |
Definition at line 182 of file vtkHyperOctreeSampleFunction.h.
double vtkHyperOctreeSampleFunction::Size[3] [protected] |
Definition at line 183 of file vtkHyperOctreeSampleFunction.h.
double vtkHyperOctreeSampleFunction::Origin[3] [protected] |
Definition at line 184 of file vtkHyperOctreeSampleFunction.h.
int vtkHyperOctreeSampleFunction::Levels [protected] |
Definition at line 185 of file vtkHyperOctreeSampleFunction.h.
int vtkHyperOctreeSampleFunction::MinLevels [protected] |
Definition at line 186 of file vtkHyperOctreeSampleFunction.h.
int vtkHyperOctreeSampleFunction::OutputScalarType [protected] |
Definition at line 188 of file vtkHyperOctreeSampleFunction.h.
Definition at line 189 of file vtkHyperOctreeSampleFunction.h.
double vtkHyperOctreeSampleFunction::Threshold [protected] |
Definition at line 190 of file vtkHyperOctreeSampleFunction.h.