 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
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
virtual ApplyStatus apply()
method called when the action is applied
Definition: GridTopology.cpp:61
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:128
void build2DGrid(vtkSmartPointer< vtkUnstructuredGrid > grid)
Build 2D grid.
Definition: GridTopology.cpp:160
everything went according to plan
Definition: Action.h:245
ApplyStatus
Definition: Action.h:244
void setName(QString name)
Definition: Action.cpp:112
Create a 3D/2D/1D grid mesh.
Definition: GridTopology.h:44
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:123
virtual ~GridTopology()=default
the destructor
apply() failed : an error occured (usually it means that the apply() was interrupted)
Definition: Action.h:246
void build3DGrid(vtkSmartPointer< vtkUnstructuredGrid > grid)
Build 3D grid.
Definition: GridTopology.cpp:129
void build1DGrid(vtkSmartPointer< vtkUnstructuredGrid > grid)
Build 1D grid (path).
Definition: GridTopology.cpp:155
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:133
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:228
#define CAMITK_ERROR(MSG)
Log for error verbosity (the minimum verbosity) Will always appear.
Definition: Log.h:271
void setDescription(QString description)
the description of the action
Definition: Action.cpp:118
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
GridTopology(camitk::ActionExtension *)
the constructor
Definition: GridTopology.cpp:41
Basic component to manage any kind of mesh.
Definition: MeshComponent.h:52
void refresh()
refresh the display
void buildNetwork(vtkSmartPointer< vtkUnstructuredGrid > grid)
Build line network.
Definition: GridTopology.cpp:196
Definition: Action.cpp:36