37 #include "cxResourceExport.h"
42 #include <boost/shared_ptr.hpp>
81 void addXml(QDomNode& dataNode);
82 virtual void parseXml(QDomNode& dataNode);
83 virtual bool load(QString path);
92 virtual QIcon
getIcon() {
return QIcon(
":/icons/surface.png");}
95 void setColor(
const QColor& color);
97 bool getBackfaceCulling();
98 bool getFrontfaceCulling();
99 void setIsWireframe(
bool on);
100 bool getIsWireframe()
const;
102 bool isFiberBundle()
const;
106 const char * getOrientationArray();
107 const char * getColorArray();
108 const char * getGlyphLUT();
109 bool hasTexture()
const;
110 QString getTextureShape();
111 QStringList getOrientationArrayList();
112 QStringList getColorArrayList();
116 virtual void save(
const QString &basePath);
120 void setBackfaceCullingSlot(
bool backfaceCulling);
121 void setFrontfaceCullingSlot(
bool backfaceCulling);
122 void setShowGlyph(
bool val);
123 void setVisSize(
double size);
124 void setOrientationArray(
const char * orientationArray);
125 void setColorArray(
const char * colorArray);
126 void setGlyphLUT(
const char * glyphLUT);
127 void updateVtkPolyDataWithTexture();
136 bool shouldGlyphBeEnableByDefault();
137 std::string mOrientationArray;
138 std::string mColorArray;
139 std::string mGlyphLUT;
140 QStringList mOrientationArrayList;
141 QStringList mColorArrayList;
146 typedef boost::shared_ptr<Mesh>
MeshPtr;
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
vtkSmartPointer< class vtkTexture > vtkTexturePtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
vtkSmartPointer< class vtkDataSetAlgorithm > vtkDataSetAlgorithmPtr
static PatientModelServicePtr getNullObject()
static SpaceProviderPtr getNullObject()
vtkSmartPointer< class vtkPolyData > vtkPolyDataPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Representation of a floating-point bounding box in 3D. The data are stored as {xmin,xmax,ymin,ymax,zmin,zmax}, in order to simplify communication with vtk.
cxLogicManager_EXPORT SpaceProviderPtr spaceProvider()
virtual QString getType() const
Superclass for all data objects.
static QString getTypeName()
boost::shared_ptr< class Mesh > MeshPtr