37 #ifndef vtkHyperTreeGridAxisClip_h
38 #define vtkHyperTreeGridAxisClip_h
40 #include "vtkFiltersHyperTreeModule.h"
74 vtkSetClampMacro(ClipType,
int, 0, 2);
75 vtkGetMacro(ClipType,
int);
86 vtkSetClampMacro(PlaneNormalAxis,
int, 0, 2);
87 vtkGetMacro(PlaneNormalAxis,
int);
95 vtkSetMacro(PlanePosition,
double);
96 vtkGetMacro(PlanePosition,
double);
103 vtkSetVector6Macro(Bounds,
double);
104 vtkGetVectorMacro(Bounds,
double, 6);
105 void GetMinimumBounds(
double[3]);
106 void GetMaximumBounds(
double[3]);
117 vtkSetMacro(InsideOut,
bool);
118 vtkGetMacro(InsideOut,
bool);
119 vtkBooleanMacro(InsideOut,
bool);
135 double h,
double i,
double j)
137 double array[10] = { a, b, c, d, e, f, g, h, i, j };
138 this->SetQuadricCoefficients(array);
140 void SetQuadricCoefficients(
double[10]);
141 void GetQuadricCoefficients(
double[10]);
142 double* GetQuadricCoefficients();
220 #endif // vtkHyperTreeGridAxisClip_h
void SetClipTypeToQuadric()
Set/get type of clip.
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
int ClipType
Type of clip to be performed.
vtkTypeUInt32 vtkMTimeType
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
void SetQuadricCoefficients(double a, double b, double c, double d, double e, double f, double g, double h, double i, double j)
Helpers to set/get the 10 coefficients of the quadric function.
bool InsideOut
Decide what is inside versus what is out.
Objects for traversal a HyperTreeGrid.
Objects for traversal a HyperTreeGrid.
a simple class to control print indentation
vtkBitArray * InMask
Output material mask constructed by this filter.
evaluate implicit quadric function
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Axis aligned hyper tree grid clip.
double PlanePositionRealUse
virtual vtkMTimeType GetMTime()
Return this object's modified time.
double PlanePosition
Intercept of clipping plane along normal.
int PlaneNormalAxis
Direction of clipping plane normal.
vtkQuadric * Quadric
Coefficients of axis-aligned quadric.
ClipType
Methods by which the hyper tree grid input may be clipped: PLANE: Clip with an axis-aligned plane def...
void SetClipTypeToBox()
Set/get type of clip.
dynamic, self-adjusting array of bits
Superclass for algorithms that produce a hyper tree grid as output.
vtkIdType CurrentId
Keep track of current index in output hyper tree grid.
static vtkAlgorithm * New()
void SetClipTypeToPlane()
Set/get type of clip.
general representation of visualization data
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...