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 void setUseColorFromPolydataScalars(
bool on);
98 bool getUseColorFromPolydataScalars()
const;
99 bool getBackfaceCulling();
100 bool getFrontfaceCulling();
101 void setIsWireframe(
bool on);
102 bool getIsWireframe()
const;
104 bool isFiberBundle()
const;
108 const char * getOrientationArray();
109 const char * getColorArray();
110 const char * getGlyphLUT();
111 bool hasTexture()
const;
112 QString getTextureShape();
113 QStringList getOrientationArrayList();
114 QStringList getColorArrayList();
118 virtual void save(
const QString &basePath);
122 void setBackfaceCullingSlot(
bool backfaceCulling);
123 void setFrontfaceCullingSlot(
bool backfaceCulling);
124 void setShowGlyph(
bool val);
125 void setVisSize(
double size);
126 void setOrientationArray(
const char * orientationArray);
127 void setColorArray(
const char * colorArray);
128 void setGlyphLUT(
const char * glyphLUT);
129 void updateVtkPolyDataWithTexture();
139 bool shouldGlyphBeEnableByDefault();
140 std::string mOrientationArray;
141 std::string mColorArray;
142 std::string mGlyphLUT;
143 QStringList mOrientationArrayList;
144 QStringList mColorArrayList;
149 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()
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.