16 #include "cxResourceExport.h" 21 #include <boost/shared_ptr.hpp> 60 void addXml(QDomNode& dataNode);
61 virtual void parseXml(QDomNode& dataNode);
71 virtual QIcon
getIcon() {
return QIcon(
":/icons/surface.png");}
74 void setColor(
const QColor& color);
76 void setUseColorFromPolydataScalars(
bool on);
77 bool getUseColorFromPolydataScalars()
const;
78 bool getBackfaceCulling();
79 bool getFrontfaceCulling();
80 void setIsWireframe(
bool on);
81 bool getIsWireframe()
const;
83 bool isFiberBundle()
const;
87 const char * getOrientationArray();
88 const char * getColorArray();
89 const char * getGlyphLUT();
90 bool hasTexture()
const;
91 QString getTextureShape();
92 QStringList getOrientationArrayList();
93 QStringList getColorArrayList();
101 void setBackfaceCullingSlot(
bool backfaceCulling);
102 void setFrontfaceCullingSlot(
bool backfaceCulling);
103 void setShowGlyph(
bool val);
104 void setVisSize(
double size);
105 void setOrientationArray(
const char * orientationArray);
106 void setColorArray(
const char * colorArray);
107 void setGlyphLUT(
const char * glyphLUT);
108 void updateVtkPolyDataWithTexture();
118 bool shouldGlyphBeEnableByDefault();
119 std::string mOrientationArray;
120 std::string mColorArray;
121 std::string mGlyphLUT;
122 QStringList mOrientationArrayList;
123 QStringList mColorArrayList;
128 typedef boost::shared_ptr<Mesh>
MeshPtr;
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
vtkSmartPointer< class vtkTexture > vtkTexturePtr
boost::shared_ptr< class FileManagerService > FileManagerServicePtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
vtkSmartPointer< class vtkDataSetAlgorithm > vtkDataSetAlgorithmPtr
static PatientModelServicePtr getNullObject()
static SpaceProviderPtr getNullObject()
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.
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
virtual QString getType() const
Superclass for all data objects.
static QString getTypeName()
boost::shared_ptr< class Mesh > MeshPtr
Namespace for all CustusX production code.