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 =========================================================================*/
38 #ifndef vtkHyperTreeGridAxisCut_h
39 #define vtkHyperTreeGridAxisCut_h
40 
41 #include "vtkFiltersHyperTreeModule.h" // For export macro
42 #include "vtkPolyDataAlgorithm.h"
43 
44 class vtkCellArray;
46 class vtkHyperTreeGrid;
47 class vtkPoints;
48 
50 {
51 public:
54  void PrintSelf( ostream&, vtkIndent );
55 
57 
58  vtkSetMacro(PlaneNormalAxis, int);
59  vtkGetMacro(PlaneNormalAxis, int);
61 
63 
64  vtkSetMacro(PlanePosition, double);
65  vtkGetMacro(PlanePosition, double);
67 
68 protected:
71 
74 
75  void ProcessTrees();
76  void RecursiveProcessTree( void* );
77  void ProcessLeaf3D( void* );
78  void AddFace( vtkIdType inId, double* origin, double* size,
79  double offset0, int axis0, int axis1, int axis2 );
80 
82  double PlanePosition;
83 
86 
89 
92 
93 private:
94  vtkHyperTreeGridAxisCut(const vtkHyperTreeGridAxisCut&); // Not implemented.
95  void operator=(const vtkHyperTreeGridAxisCut&); // Not implemented.
96 };
97 
98 #endif
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkHyperTreeGridAxisCut::Input
vtkHyperTreeGrid * Input
Definition: vtkHyperTreeGridAxisCut.h:84
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkHyperTreeGridAxisCut::PlanePosition
double PlanePosition
Definition: vtkHyperTreeGridAxisCut.h:82
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:58
vtkHyperTreeGridAxisCut::AddFace
void AddFace(vtkIdType inId, double *origin, double *size, double offset0, int axis0, int axis1, int axis2)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkHyperTreeGridAxisCut::PlaneNormalAxis
int PlaneNormalAxis
Definition: vtkHyperTreeGridAxisCut.h:81
vtkHyperTreeGridAxisCut::Output
vtkPolyData * Output
Definition: vtkHyperTreeGridAxisCut.h:85
vtkFiltersHyperTreeModule.h
vtkHyperTreeGridAxisCut::New
static vtkHyperTreeGridAxisCut * New()
vtkHyperTreeGridAxisCut::Cells
vtkCellArray * Cells
Definition: vtkHyperTreeGridAxisCut.h:91
vtkPolyDataAlgorithm.h
VTKFILTERSHYPERTREE_EXPORT
#define VTKFILTERSHYPERTREE_EXPORT
Definition: vtkFiltersHyperTreeModule.h:15
vtkHyperTreeGridAxisCut::PrintSelf
void PrintSelf(ostream &, vtkIndent)
vtkHyperTreeGridAxisCut::Points
vtkPoints * Points
Definition: vtkHyperTreeGridAxisCut.h:90
vtkHyperTreeGridAxisCut::InData
vtkDataSetAttributes * InData
Definition: vtkHyperTreeGridAxisCut.h:87
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkCellArray
object to represent cell connectivity
Definition: vtkCellArray.h:50
vtkHyperTreeGridAxisCut::OutData
vtkDataSetAttributes * OutData
Definition: vtkHyperTreeGridAxisCut.h:88
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkHyperTreeGridAxisCut::vtkHyperTreeGridAxisCut
vtkHyperTreeGridAxisCut()
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkHyperTreeGridAxisCut::~vtkHyperTreeGridAxisCut
~vtkHyperTreeGridAxisCut()
vtkHyperTreeGridAxisCut::RecursiveProcessTree
void RecursiveProcessTree(void *)
vtkHyperTreeGridAxisCut::FillInputPortInformation
virtual int FillInputPortInformation(int, vtkInformation *)
vtkHyperTreeGridAxisCut::ProcessTrees
void ProcessTrees()
vtkHyperTreeGridAxisCut::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkHyperTreeGridAxisCut::ProcessLeaf3D
void ProcessLeaf3D(void *)
vtkHyperTreeGridAxisCut
Axis aligned hyper tree grid cut.
Definition: vtkHyperTreeGridAxisCut.h:50
vtkHyperTreeGrid
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Definition: vtkHyperTreeGrid.h:68
vtkgl::size
GLsizeiptr size
Definition: vtkgl.h:11843
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44