57 #ifndef SPLATCLOUDOBJECT_HH 58 #define SPLATCLOUDOBJECT_HH 66 #include "SplatCloud/SplatCloud.hh" 106 void reloadShaders();
110 void enableBackfaceCulling(
bool _enable );
114 void enableGeometryShaderQuads(
bool _enable );
118 void setPointsizeScale(
float _scale );
120 inline bool isBackfaceCullingEnabled()
const {
return backfaceCullingEnabled_; }
121 inline float pointsizeScale()
const {
return pointsizeScale_; }
124 bool backfaceCullingEnabled_;
125 float pointsizeScale_;
129 virtual void init(
const SplatCloud *_splatCloud = 0 );
205 bool picked( uint _node_idx );
221 #endif // SPLATCLOUDOBJECT_HH const ShaderNode * shaderNode() const
Get Shader's scenegraph Node.
virtual QString getObjectinfo()
Get all Info for the Object as a string.
virtual bool picked(uint _node_idx)
detect if the node has been picked
virtual void setName(QString _name) override
path to the file from which the object is loaded ( defaults to "." )
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.
const SplatCloud * splatCloud() const
Get SplatCloud.
ShaderNode * shaderNode()
Get Shader's scenegraph Node.
SplatCloudNode * splatCloudNode_
Get Shader's scenegraph Node.
SplatCloud * splatCloud()
Get SplatCloud.
virtual void enablePicking(bool _enable)
virtual void cleanup() override
virtual void update(UpdateType _type=UPDATE_ALL) override
This function is called to update the object.
SplatCloud * splatCloud_
Get SplatCloud.
const SplatCloudNode * splatCloudNode() const
Get Shader's scenegraph Node.
SplatCloudNode * splatCloudNode()
Get SplatCloud's scenegraph Node.
virtual BaseObject * copy()
Returns a full copy of the object.
ShaderNode * shaderNode_
Get Shader's scenegraph Node.
virtual bool pickingEnabled()