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 =========================================================================*/
45 #ifndef vtkHyperTreeGridCellCenters_h
46 #define vtkHyperTreeGridCellCenters_h
47 
48 #include "vtkFiltersHyperTreeModule.h" // For export macro
50 
51 class vtkBitArray;
52 class vtkHyperTreeGrid;
54 class vtkPoints;
55 
56 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridCellCenters : public vtkHyperTreeGridAlgorithm
57 {
58 public:
61  void PrintSelf( ostream&, vtkIndent ) override;
62 
64 
68  vtkSetMacro(VertexCells,int);
69  vtkGetMacro(VertexCells,int);
70  vtkBooleanMacro(VertexCells,int);
72 
73 protected:
75  ~vtkHyperTreeGridCellCenters() override;
76 
80  int FillOutputPortInformation( int, vtkInformation* ) override;
81 
85  int ProcessTrees( vtkHyperTreeGrid*, vtkDataObject* ) override;
86 
90  void RecursivelyProcessTree( vtkHyperTreeGridCursor*, vtkBitArray* );
91 
96 
101 
102 private:
104  void operator=(const vtkHyperTreeGridCellCenters&) = delete;
105 };
106 
107 
108 #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:39
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:36
Superclass for algorithms that produce a hyper tree grid as output.
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:64
represent and manipulate 3D points
Definition: vtkPoints.h:39
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...