56 #ifndef LIGHTOBJECT_HH 57 #define LIGHTOBJECT_HH 127 void defaultLight(
const bool _default ) { defaultLightSource_ = _default; }
196 bool picked( uint _node_idx );
209 virtual void visible(
bool _visible);
224 #endif // LIGHTOBJECT_HH defined virtual QString getObjectinfo()
Get all Info for the Object as a string.
virtual void show()
Sets the whole Scenegraph subtree of this node to visible.
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.
virtual bool hasNode(BaseNode *_node)
Check if the given node is owned by this object.
void defaultLight(const bool _default)
Set light object to be default light.
virtual void enablePicking(bool _enable)
LightNode * lightNodeVis_
Light rendering node (only for rendering purposes)
virtual void cleanup() override
Structure to hold options for one LightSource.
LightNode * lightNode_
Light status node.
virtual void update(UpdateType _type=UPDATE_ALL) override
This function is called to update the object.
virtual void hide()
Sets the whole Scenegraph subtree of this node to invisible.
bool defaultLight() const
Is light default light source?
virtual BaseObject * copy()
Returns a full copy of the object.
virtual bool pickingEnabled()
virtual bool visible() override
return visiblity