49 #ifndef vtkHyperOctreeCutter_h
50 #define vtkHyperOctreeCutter_h
52 #include "vtkFiltersHyperTreeModule.h"
91 {this->ContourValues->SetValue(i,
value);}
97 {
return this->ContourValues->GetValue(i);}
104 {
return this->ContourValues->GetValues();}
112 {this->ContourValues->GetValues(contourValues);}
120 {this->ContourValues->SetNumberOfContours(number);}
126 {
return this->ContourValues->GetNumberOfContours();}
133 {this->ContourValues->GenerateValues(numContours,
range);}
140 {this->ContourValues->GenerateValues(numContours, rangeStart, rangeEnd);}
163 vtkGetMacro(GenerateCutScalars,
int);
193 vtkGetMacro(SortBy,
int);
208 return "SortByValue";
object to represent cell connectivity
represent and manipulate cell attribute data
helper object to manage setting and generating contour values
represent and manipulate attribute data in a dataset
dynamic, self-adjusting array of double
A concrete implementation of vtkHyperOctreePointsGrabber used by vtkClipHyperOctree and vtkHyperOctre...
Objects that can traverse hyperoctree nodes.
Cut vtkHyperOctree with user-specified implicit function.
vtkMTimeType GetMTime()
Override GetMTime because we delegate to vtkContourValues and refer to vtkImplicitFunction.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual void SetCutFunction(vtkImplicitFunction *)
Specify the implicit function to perform the cutting.
vtkContourValues * ContourValues
vtkImplicitFunction * CutFunction
static vtkHyperOctreeCutter * New()
Construct with user-specified implicit function; initial value of 0.0; and generating cut scalars tur...
vtkIdType TemplateCounter
int GetNumberOfContours()
Get the number of contours in the list of contour values.
vtkOrderedTriangulator * Triangulator
void SetSortByToSortByCell()
vtkHyperOctreeCutter(vtkImplicitFunction *cf=NULL)
const char * GetSortByAsString()
Return the sorting procedure as a descriptive character string.
double * GetValues()
Get a pointer to an array of contour values.
void SetSortByToSortByValue()
vtkDoubleArray * CellScalars
void SetValue(int i, double value)
Set a particular contour value at contour number i.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void GetValues(double *contourValues)
Fill a supplied list with contour values.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkHyperOctreeCursor * Sibling
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
void SetLocator(vtkIncrementalPointLocator *locator)
Specify a spatial locator for merging points.
void GenerateValues(int numContours, double range[2])
Generate numContours equally spaced contour values between specified range.
void CutNode(vtkHyperOctreeCursor *cursor, int level, double bounds[6])
Cut the sub-hierarchy pointed by cursor.
vtkIncrementalPointLocator * Locator
vtkHyperOctreeClipCutPointsGrabber * Grabber
vtkDataSetAttributes * InCD
void GenerateValues(int numContours, double rangeStart, double rangeEnd)
Generate numContours equally spaced contour values between specified range.
void CreateDefaultLocator()
Create default locator.
double GetValue(int i)
Get the ith contour value.
vtkDoubleArray * TetScalars
A dataset structured as a tree where each node has exactly 2^n children.
abstract interface for implicit functions
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
helper class to generate triangulations
represent and manipulate point attribute data
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
a cell that represents an n-sided polygon
a 3D cell that represents a tetrahedron
#define VTK_SORT_BY_VALUE
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType