VTK
vtkHyperTreeGridCellCenters.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperTreeGridCellCenters.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 =========================================================================*/
42 #ifndef vtkHyperTreeGridCellCenters_h
43 #define vtkHyperTreeGridCellCenters_h
44 
45 #include "vtkFiltersHyperTreeModule.h" // For export macro
47 
48 class vtkBitArray;
49 class vtkHyperTreeGrid;
51 class vtkPoints;
52 
53 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridCellCenters : public vtkHyperTreeGridAlgorithm
54 {
55 public:
58  void PrintSelf( ostream&, vtkIndent ) override;
59 
61 
65  vtkSetMacro(VertexCells,int);
66  vtkGetMacro(VertexCells,int);
67  vtkBooleanMacro(VertexCells,int);
69 
70 protected:
72  ~vtkHyperTreeGridCellCenters() override;
73 
77  int FillOutputPortInformation( int, vtkInformation* ) override;
78 
82  int ProcessTrees( vtkHyperTreeGrid*, vtkDataObject* ) override;
83 
87  void RecursivelyProcessTree( vtkHyperTreeGridCursor*, vtkBitArray* );
88 
93 
98 
99 private:
101  void operator=(const vtkHyperTreeGridCellCenters&) = delete;
102 };
103 
104 
105 #endif /* vtkHyperTreeGridCellCenters_h */
int VertexCells
Keep track as to whether vertex cells shall be generated.
generate points at center of hyper tree grid leaf cell centers.
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
Store vtkAlgorithm input/output information.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Objects for depth-first traversal HyperTreeGrids.
a simple class to control print indentation
Definition: vtkIndent.h:33
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPoints * Points
Storage for points of output unstructured mesh.
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:33
Superclass for algorithms that produce a hyper tree grid as output.
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:58
represent and manipulate 3D points
Definition: vtkPoints.h:33
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...