|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
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 camitk::Action::ApplyStatus apply()
method called when the action is applied
Definition: GridTopology.cpp:62
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:136
void build2DGrid(vtkSmartPointer< vtkUnstructuredGrid > grid)
Build 2D grid.
Definition: GridTopology.cpp:161
@ SUCCESS
everything went according to plan
Definition: Action.h:248
ApplyStatus
Definition: Action.h:247
void setName(QString name)
Definition: Action.cpp:120
Create a 3D/2D/1D grid mesh.
Definition: GridTopology.h:45
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:131
virtual ~GridTopology()=default
the destructor
@ ERROR
apply() failed : an error occured (usually it means that the apply() was interrupted)
Definition: Action.h:249
void build3DGrid(vtkSmartPointer< vtkUnstructuredGrid > grid)
Build 3D grid.
Definition: GridTopology.cpp:130
void build1DGrid(vtkSmartPointer< vtkUnstructuredGrid > grid)
Build 1D grid (path).
Definition: GridTopology.cpp:156
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:141
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
#define CAMITK_ERROR(MSG)
Log for error verbosity (the minimum verbosity) Will always appear.
Definition: Log.h:276
void setDescription(QString description)
the description of the action
Definition: Action.cpp:126
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:42
Basic component to manage any kind of mesh.
Definition: MeshComponent.h:53
void refresh()
refresh the display
void buildNetwork(vtkSmartPointer< vtkUnstructuredGrid > grid)
Build line network.
Definition: GridTopology.cpp:197
Definition: Action.cpp:35