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);
60  vtkSetMacro(PlanePosition, double);
61  vtkGetMacro(PlanePosition, double);
63 
64 protected:
67 
69  double PlanePosition;
70 
72  virtual int FillInputPortInformation( int, vtkInformation* );
73 
74  void ProcessTrees();
75  void RecursiveProcessTree( void* );
76  void ProcessLeaf3D( void* );
77  void AddFace( vtkIdType inId, double* origin, double* size,
78  double offset0, int axis0, int axis1, int axis2 );
79 
82 
85 
88 
89 private:
90  vtkHyperTreeGridAxisCut(const vtkHyperTreeGridAxisCut&); // Not implemented.
91  void operator=(const vtkHyperTreeGridAxisCut&); // Not implemented.
92 };
93 
94 #endif
GLsizeiptr size
Definition: vtkgl.h:11843
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.
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:83
int vtkIdType
Definition: vtkType.h:268
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:83
#define VTKFILTERSHYPERTREE_EXPORT
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
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:39
#define vtkSetMacro(name, type)
Definition: vtkSetGet.h:69