25 #ifndef GRID_TOPOLOGY_H 26 #define GRID_TOPOLOGY_H 28 #include <vtkUnstructuredGrid.h> 29 #include <vtkPolyData.h> 30 #include <vtkSmartPointer.h> 66 void build1DGrid(vtkSmartPointer<vtkUnstructuredGrid> grid);
74 void build2DGrid(vtkSmartPointer<vtkUnstructuredGrid> grid);
82 void build3DGrid(vtkSmartPointer<vtkUnstructuredGrid> grid);
90 void buildNetwork(vtkSmartPointer<vtkUnstructuredGrid> grid);
94 #endif // GRID_TOPOLOGY_H
Action class is an abstract class that enables you to build a action (generally on a component)...
Definition: Action.h:207
Create a 3D/2D/1D grid mesh.
Definition: GridTopology.h:45
void build1DGrid(vtkSmartPointer< vtkUnstructuredGrid > grid)
Build 1D grid (path).
Definition: GridTopology.cpp:156
This class describes what is a generic Action extension.
Definition: ActionExtension.h:59
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method) ...
Definition: Action.h:223
GridTopology(camitk::ActionExtension *)
the constructor
Definition: GridTopology.cpp:42
virtual ~GridTopology()=default
the destructor
void build3DGrid(vtkSmartPointer< vtkUnstructuredGrid > grid)
Build 3D grid.
Definition: GridTopology.cpp:130
void build2DGrid(vtkSmartPointer< vtkUnstructuredGrid > grid)
Build 2D grid.
Definition: GridTopology.cpp:161
void buildNetwork(vtkSmartPointer< vtkUnstructuredGrid > grid)
Build line network.
Definition: GridTopology.cpp:197
virtual ApplyStatus apply()
method called when the action is applied
Definition: GridTopology.cpp:62