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