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 */
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:33
vtkHyperTreeGridCursor
Objects for depth-first traversal HyperTreeGrids.
Definition: vtkHyperTreeGridCursor.h:45
vtkHyperTreeGridAlgorithm::ProcessTrees
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...
vtkHyperTreeGridAlgorithm.h
vtkHyperTreeGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkHyperTreeGridCellCenters::VertexCells
int VertexCells
Keep track as to whether vertex cells shall be generated.
Definition: vtkHyperTreeGridCellCenters.h:97
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkHyperTreeGridCellCenters::Points
vtkPoints * Points
Storage for points of output unstructured mesh.
Definition: vtkHyperTreeGridCellCenters.h:92
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkHyperTreeGridAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkBitArray
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:33
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:58
vtkHyperTreeGridAlgorithm
Superclass for algorithms that produce a hyper tree grid as output.
Definition: vtkHyperTreeGridAlgorithm.h:46
vtkHyperTreeGridCellCenters
generate points at center of hyper tree grid leaf cell centers.
Definition: vtkHyperTreeGridCellCenters.h:53
vtkHyperTreeGrid
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Definition: vtkHyperTreeGrid.h:67