 |
VTK
9.1.0
|
Go to the documentation of this file.
34 #ifndef vtkHyperTreeGridAxisClip_h
35 #define vtkHyperTreeGridAxisClip_h
37 #include "vtkFiltersHyperTreeModule.h"
83 vtkSetClampMacro(PlaneNormalAxis,
int, 0, 2);
84 vtkGetMacro(PlaneNormalAxis,
int);
92 vtkSetMacro(PlanePosition,
double);
93 vtkGetMacro(PlanePosition,
double);
100 vtkSetVector6Macro(Bounds,
double);
101 vtkGetVectorMacro(Bounds,
double, 6);
114 vtkSetMacro(InsideOut,
bool);
115 vtkGetMacro(InsideOut,
bool);
116 vtkBooleanMacro(InsideOut,
bool);
132 double h,
double i,
double j)
134 double array[10] = { a, b, c, d, e, f, g,
h, i, j };
135 this->SetQuadricCoefficients(array);
217 #endif // vtkHyperTreeGridAxisClip_h
vtkQuadric * Quadric
Coefficients of axis-aligned quadric.
Objects for traversal a HyperTreeGrid.
void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedGeometryCursor *inCursor, vtkHyperTreeGridNonOrientedCursor *outCursor)
Recursively descend into tree down to leaves.
static vtkHyperTreeGridAxisClip * New()
bool InsideOut
Decide what is inside versus what is out.
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to generate hyper tree grid clip.
void SetClipTypeToBox()
Set/get type of clip.
~vtkHyperTreeGridAxisClip() override
void SetClipTypeToPlane()
Set/get type of clip.
bool IsClipped(vtkHyperTreeGridNonOrientedGeometryCursor *)
Decide whether the cell is clipped out.
Objects for traversal a HyperTreeGrid.
int ClipType
Type of clip to be performed.
evaluate implicit quadric function
double PlanePosition
Intercept of clipping plane along normal.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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.
a simple class to control print indentation
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
void GetQuadricCoefficients(double[10])
Helpers to set/get the 10 coefficients of the quadric function.
void SetClipTypeToQuadric()
Set/get type of clip.
vtkMTimeType GetMTime() override
Override GetMTime because we delegate to a vtkQuadric.
vtkHyperTreeGridAxisClip()
virtual void SetQuadric(vtkQuadric *)
Set/Get the clipping quadric function.
Axis aligned hyper tree grid clip.
void GetMinimumBounds(double[3])
Set/get bounds of clipping box.
double * GetQuadricCoefficients()
Helpers to set/get the 10 coefficients of the quadric function.
double PlanePositionRealUse
void GetMaximumBounds(double[3])
Set/get bounds of clipping box.
int PlaneNormalAxis
Direction of clipping plane normal.
ClipType
Methods by which the hyper tree grid input may be clipped: PLANE: Clip with an axis-aligned plane def...
dynamic, self-adjusting array of bits
general representation of visualization data
void SetQuadricCoefficients(double[10])
Helpers to set/get the 10 coefficients of the quadric function.
Superclass for algorithms that produce a hyper tree grid as output.
vtkFrustumSelector is a vtkSelector that selects elements based on whether they are inside or interse...
vtkIdType CurrentId
Keep track of current index in output hyper tree grid.
vtkBitArray * InMask
Output material mask constructed by this filter.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
vtkTypeUInt32 vtkMTimeType