63 #ifndef SPLATCLOUDOBJECT_HH
64 #define SPLATCLOUDOBJECT_HH
72 #include "SplatCloud/SplatCloud.hh"
112 void reloadShaders();
116 void enableBackfaceCulling(
bool _enable );
120 void setPointsizeScale(
float _scale );
122 inline bool isBackfaceCullingEnabled()
const {
return backfaceCullingEnabled_; }
123 inline float pointsizeScale()
const {
return pointsizeScale_; }
126 bool backfaceCullingEnabled_;
127 float pointsizeScale_;
131 virtual void init(
const SplatCloud *_splatCloud = 0 );
207 bool picked( uint _node_idx );
223 #endif // SPLATCLOUDOBJECT_HH
SplatCloudNode * splatCloudNode_
Get Shader's scenegraph Node.
ShaderNode * shaderNode_
Get Shader's scenegraph Node.
const ShaderNode * shaderNode() const
Get Shader's scenegraph Node.
SplatCloud * splatCloud()
Get SplatCloud.
virtual QString getObjectinfo()
Get all Info for the Object as a string.
ShaderNode * shaderNode()
Get Shader's scenegraph Node.
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.
virtual void setName(QString _name)
path to the file from which the object is loaded ( defaults to "." )
virtual bool pickingEnabled()
SplatCloudNode * splatCloudNode()
Get SplatCloud's scenegraph Node.
const SplatCloud * splatCloud() const
Get SplatCloud.
SplatCloud * splatCloud_
Get SplatCloud.
virtual void enablePicking(bool _enable)
virtual void update(UpdateType _type=UPDATE_ALL)
This function is called to update the object.
virtual BaseObject * copy()
Returns a full copy of the object.
const SplatCloudNode * splatCloudNode() const
Get Shader's scenegraph Node.
virtual bool picked(uint _node_idx)
detect if the node has been picked