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;