 |
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);
72 VtkMeshComponentProperties* myProperties;
75 static QPixmap* myPixmap;
#define VTK_COMPONENT_API
Definition: VtkMeshComponentAPI.h:53
virtual void refresh() const
refresh all the viewer that are currently displaying this Component
Definition: sdk/libraries/core/component/Component.cpp:298
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:816
VtkPointSetType
constant for the vtk point set type
Definition: VtkMeshUtil.h:50
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:552
QString myFileName
the file name from which the Component is loaded
Definition: sdk/libraries/core/component/Component.h:784
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:312
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:182
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:68
Exception class to handle abortion in component instantiation. Particularly useful to handle construc...
Definition: AbortException.h:64
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:133
Definition: VtkMeshUtil.h:51
void initRepresentation()
the concrete building of the 3D objects (Slice/Geometry): none in this case, everything is done by in...
Definition: MeshComponent.h:398
Features various Vtk mesh for CamiTK.
Definition: VtkMeshComponent.h:44
static QPixmap * myPixmap
the vtk logo
Definition: VtkMeshComponent.h:74
static VtkPointSetType typeOf(std::string vtkFileName)
static method that tells you what kind of vtk file it is.
Definition: VtkMeshUtil.cpp:235
void setName(const QString &) override
set the name to be displayed
Definition: sdk/libraries/core/component/Component.h:873
VtkMeshUtil::VtkPointSetType whatIsIt
subtype of vtkPointSet
Definition: VtkMeshComponent.h:68
Basic component to manage any kind of mesh.
Definition: MeshComponent.h:52
QPixmap getIcon() override
Get the pixmap that will be displayed for this node.
Definition: MeshComponent.cpp:1122
bool addProperty(Property *) override
Add a new CamiTK property to the component.
Definition: sdk/libraries/core/component/Component.cpp:220
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:187
virtual void initDynamicProperties()
create and initialize dynamic properties
Definition: MeshComponent.cpp:324
VtkMeshComponentProperties * myProperties
properties for vtk mesh type
Definition: VtkMeshComponent.h:71
Definition: Action.cpp:36