37 #include "cxResourceExport.h"
41 #include <boost/shared_ptr.hpp>
65 static MeshPtr create(
const QString& uid,
const QString& name =
"");
66 Mesh(
const QString& uid,
const QString& name =
"");
74 void addXml(QDomNode& dataNode);
75 virtual void parseXml(QDomNode& dataNode);
76 virtual bool load(QString path);
87 void setColor(
const QColor& color);
89 bool getBackfaceCulling();
90 bool getFrontfaceCulling();
91 void setIsWireframe(
bool on);
92 bool getIsWireframe()
const;
94 bool isFiberBundle()
const;
96 virtual void save(
const QString &basePath);
100 void setBackfaceCullingSlot(
bool backfaceCulling);
101 void setFrontfaceCullingSlot(
bool backfaceCulling);
107 bool mBackfaceCulling;
108 bool mFrontfaceCulling;
111 typedef boost::shared_ptr<Mesh>
MeshPtr;
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
vtkSmartPointer< class vtkPolyData > vtkPolyDataPtr
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.
virtual QString getType() const
Superclass for all data objects.
static QString getTypeName()
boost::shared_ptr< class Mesh > MeshPtr