18 #ifndef _VISUAL_PRIVATE_HH_
19 #define _VISUAL_PRIVATE_HH_
46 class SkeletonInstance;
68 public: sdf::ElementPtr
sdf;
99 public: std::list<DynamicLines*>
lines;
102 public: std::list< std::pair<DynamicLines*, unsigned int> >
lineVertices;
bool visible
True if rendered.
Definition: VisualPrivate.hh:87
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:144
Ogre::StaticGeometry * staticGeom
Pointer to the static geometry.
Definition: VisualPrivate.hh:84
ScenePtr scene
Pointer to the visual's scene.
Definition: VisualPrivate.hh:59
Private data for the Visual class.
Definition: VisualPrivate.hh:56
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
Ogre::SkeletonInstance * skeleton
The visual's skeleton, used only for person simulation.
Definition: VisualPrivate.hh:93
bool lighting
True if lighting will be applied to this visual.
Definition: VisualPrivate.hh:138
std::vector< VisualPtr > children
Children visuals.
Definition: VisualPrivate.hh:108
std::string name
Name of the visual.
Definition: VisualPrivate.hh:105
math::Vector3 scale
Scale of visual.
Definition: VisualPrivate.hh:135
Ogre::AnimationState * animState
Used to animate the visual.
Definition: VisualPrivate.hh:111
std::vector< VisualPluginPtr > plugins
A list of visual plugins.
Definition: VisualPrivate.hh:141
Ogre::RibbonTrail * ribbonTrail
The ribbon train created by the visual.
Definition: VisualPrivate.hh:90
float transparency
Transparency value.
Definition: VisualPrivate.hh:77
static uint32_t visualIdCount
Counter used to create unique ids.
Definition: VisualPrivate.hh:132
event::ConnectionPtr preRenderConnection
Connection for the pre render event.
Definition: VisualPrivate.hh:96
VisualPtr parent
Parent visual.
Definition: VisualPrivate.hh:65
std::list< DynamicLines * > lines
List of all the lines created.
Definition: VisualPrivate.hh:99
std::string myMaterialName
The unique name for the visual's material.
Definition: VisualPrivate.hh:71
std::string origMaterialName
The original name for the visual's material.
Definition: VisualPrivate.hh:74
WireBox * boundingBox
A wire frame bounding box.
Definition: VisualPrivate.hh:126
bool useRTShader
True to use RT shader system.
Definition: VisualPrivate.hh:120
sdf::ElementPtr sdf
The SDF element for the visual.
Definition: VisualPrivate.hh:68
boost::function< void()> onAnimationComplete
Callback for the animation complete event.
Definition: VisualPrivate.hh:117
Ogre::SceneNode * sceneNode
Pointer to the visual's scene node in Ogre.
Definition: VisualPrivate.hh:62
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:74
boost::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:102
bool isStatic
True if the visual is static, which allows Ogre to improve performance.
Definition: VisualPrivate.hh:81
Draws a wireframe box.
Definition: WireBox.hh:36
common::Time prevAnimTime
Time of the previous animation step.
Definition: VisualPrivate.hh:114
std::list< std::pair< DynamicLines *, unsigned int > > lineVertices
Lines and their vertices connected to this visual.
Definition: VisualPrivate.hh:102
A Time class, can be used to hold wall- or sim-time.
Definition: Time.hh:43
bool initialized
True if initialized.
Definition: VisualPrivate.hh:123
uint32_t id
Unique id of this visual.
Definition: VisualPrivate.hh:129