 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
26 #ifndef VTK_MESH_COMPONENT_H
27 #define VTK_MESH_COMPONENT_H
34 class VtkMeshComponentProperties;
58 bool exportMDL(std::string filename);
#define VTK_COMPONENT_API
Definition: VtkMeshComponentAPI.h:54
virtual void refresh() const
refresh all the viewer that are currently displaying this Component
Definition: sdk/libraries/core/component/Component.cpp:299
VtkMeshComponent(const QString &fileName)
default constructor.
Definition: VtkMeshComponent.cpp:39
void setDataRepresentationOff(int dataType=SCALARS|VECTORS|TENSORS)
hide all the data representation of a given data type (hide all by default)
Definition: MeshComponent.cpp:817
VtkPointSetType
constant for the vtk point set type
Definition: VtkMeshUtil.h:51
virtual void updateProperty(QString name, QVariant value)
update a specific property
Definition: VtkMeshComponent.cpp:140
vtkSmartPointer< vtkPointSet > vtkSmartPointer< vtkAlgorithmOutput > getActor
Definition: sdk/libraries/core/component/Component.h:553
QString myFileName
the file name from which the Component is loaded
Definition: sdk/libraries/core/component/Component.h:785
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:314
virtual QPixmap getIcon()
the vtk logo (for the explorer viewer)
Definition: VtkMeshComponent.cpp:67
virtual void initDynamicProperties()
create and initialize dynamic properties
Definition: VtkMeshComponent.cpp:75
void setAttribute(const QString &attribute, const QVariant &value)
Set a given property for this attribute.
Definition: Property.cpp:184
static vtkSmartPointer< vtkPointSet > buildVtkPointSet(std::string vtkFileName, VtkPointSetType whatIsIt=UNKNOWN)
Static method that could be used from anywhere to build a vtkPointSet from a vtk file.
Definition: VtkMeshUtil.cpp:69
Exception class to handle abortion in component instantiation. Particularly useful to handle construc...
Definition: AbortException.h:66
virtual ~VtkMeshComponent()
the virtual destructor
Definition: VtkMeshComponent.cpp:59
void updateProperty(QString, QVariant)
update property: no specific properties to manage, this is needed to avoid console warnings.
Definition: MeshComponent.h:134
@ UNKNOWN
Definition: VtkMeshUtil.h:52
void initRepresentation()
the concrete building of the 3D objects (Slice/Geometry): none in this case, everything is done by in...
Definition: MeshComponent.h:399
Features various Vtk mesh for CamiTK.
Definition: VtkMeshComponent.h:45
static QPixmap * myPixmap
the vtk logo
Definition: VtkMeshComponent.h:75
static VtkPointSetType typeOf(std::string vtkFileName)
static method that tells you what kind of vtk file it is.
Definition: VtkMeshUtil.cpp:236
void setName(const QString &) override
set the name to be displayed
Definition: sdk/libraries/core/component/Component.h:874
VtkMeshUtil::VtkPointSetType whatIsIt
subtype of vtkPointSet
Definition: VtkMeshComponent.h:69
Basic component to manage any kind of mesh.
Definition: MeshComponent.h:53
QPixmap getIcon() override
Get the pixmap that will be displayed for this node.
Definition: MeshComponent.cpp:1123
bool addProperty(Property *) override
Add a new CamiTK property to the component.
Definition: sdk/libraries/core/component/Component.cpp:221
static std::string getVtkPointSetHeaderString(std::string vtkFileName, VtkPointSetType whatIsIt=UNKNOWN)
static method to get the vtk header string from a vtk file
Definition: VtkMeshUtil.cpp:188
virtual void initDynamicProperties()
create and initialize dynamic properties
Definition: MeshComponent.cpp:325
VtkMeshComponentProperties * myProperties
properties for vtk mesh type
Definition: VtkMeshComponent.h:72
Definition: Action.cpp:36