| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tlp::GlLayer Class Reference
Collaboration diagram for tlp::GlLayer:
Public Member Functions
Detailed DescriptionLayer class A layer is an entity with a camera and a GlComposite Layers are used with GlScene : you can add a layer to a scene and a scene can have many layers You have two constructor for GlLayer : one with a camera pointer and one without The constructor without camera pointer create a layer with a new camera and delete this camera at the destruction The constructor with camera pointer create a layer and use the camera pointer but you have the responsibility of camera destruction Constructor & Destructor Documentation
Layer constructor : construct a layer with his name A new camera is created for this layer and this camera will be deleted in the GlLayer destructor
Layer constructor : construct a layer with his name and use the camera : camera You have the responsibility of camera destruction
Destructor Member Function Documentation
function used by visitors to visit this layer
Add an entity to GlComposite of the layer
Remove all entities of the layer Entities are not deleted
Remove entity with name : key This entity is not deleted
Remove entity This entity is not deleted
Return entity with name : key
Return the layer's camera
Return the GlComposite used by the layer
Return the map of layer's entities
Return the layer's name
Return the scene where the layer is
Return the layer's data in XML
return if this layer is a working layer this property doesn't change the layer, but for example working layers are not displayed in LayerManagerWidget
Return if the layer is visible
Replace the layer's camera with a new 2D one
Set the layer's camera GlLayer now use a copy of the camera parameters
Set the scene where the layer is
Set the layer's camera GlLayer now use camera parameters and you have the resposibility of camera destruction
Set if the layer is visible
Set the layer's data with XML
return if this layer use a shared camera |
Tulip Software by LaBRI Visualization Team 2001 - 2012 |