VTK
vtkHyperTreeGridAxisCut.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperTreeGridAxisCut.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
39 #ifndef vtkHyperTreeGridAxisCut_h
40 #define vtkHyperTreeGridAxisCut_h
41 
42 #include "vtkFiltersHyperTreeModule.h" // For export macro
43 #include "vtkPolyDataAlgorithm.h"
44 
45 class vtkCellArray;
47 class vtkHyperTreeGrid;
48 class vtkPoints;
49 
50 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridAxisCut : public vtkPolyDataAlgorithm
51 {
52 public:
55  void PrintSelf( ostream&, vtkIndent );
56 
58 
61  vtkSetMacro(PlaneNormalAxis, int);
62  vtkGetMacro(PlaneNormalAxis, int);
64 
66 
69  vtkSetMacro(PlanePosition, double);
70  vtkGetMacro(PlanePosition, double);
72 
73 protected:
76 
79 
80  void ProcessTrees();
81  void RecursiveProcessTree( void* );
82  void ProcessLeaf3D( void* );
83  void AddFace( vtkIdType inId, double* origin, double* size,
84  double offset0, int axis0, int axis1, int axis2 );
85 
87  double PlanePosition;
88 
91 
94 
97 
98 private:
99  vtkHyperTreeGridAxisCut(const vtkHyperTreeGridAxisCut&) VTK_DELETE_FUNCTION;
100  void operator=(const vtkHyperTreeGridAxisCut&) VTK_DELETE_FUNCTION;
101 };
102 
103 #endif
object to represent cell connectivity
Definition: vtkCellArray.h:51
represent and manipulate attribute data in a dataset
Axis aligned hyper tree grid cut.
void ProcessLeaf3D(void *)
static vtkHyperTreeGridAxisCut * New()
void AddFace(vtkIdType inId, double *origin, double *size, double offset0, int axis0, int axis1, int axis2)
vtkDataSetAttributes * InData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void PrintSelf(ostream &, vtkIndent)
Methods invoked by print to print information about the object including superclasses.
void RecursiveProcessTree(void *)
vtkDataSetAttributes * OutData
virtual int FillInputPortInformation(int, vtkInformation *)
Fill the input port information objects for this algorithm.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
represent and manipulate 3D points
Definition: vtkPoints.h:40
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
@ size
Definition: vtkX3D.h:253
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
int vtkIdType
Definition: vtkType.h:287