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:
52  static vtkHyperTreeGridAxisCut* New();
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 
73  virtual int FillInputPortInformation( int, vtkInformation* );
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
virtual int FillInputPortInformation(int port, vtkInformation *info)
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
int vtkIdType
Definition: vtkType.h:275
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:83
#define VTKFILTERSHYPERTREE_EXPORT
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Axis aligned hyper tree grid cut.
vtkDataSetAttributes * InData
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkDataSetAttributes * OutData
represent and manipulate attribute data in a dataset
object to represent cell connectivity
Definition: vtkCellArray.h:49
Store zero or more vtkInformation instances.
represent and manipulate 3D points
Definition: vtkPoints.h:38