#include <lugre_gfx3D.h>


Public Member Functions | |
| void | UpdateProjected (const int iFrameNum) |
| virtual | ~cGfx3D () |
| void | Clear () |
| release attached objects | |
| bool | IsInScene () |
| void | SetParent (cGfx3D *pParent) |
| void | SetParent (SceneNode *pParent) |
| Vector3 | GetScale () |
| Vector3 | GetPosition () |
| Vector3 | GetDerivedPosition () |
| Quaternion | GetOrientation () |
| Quaternion | GetDerivedOrientation () |
| void | SetPosition (const Vector3 &vPos) |
| void | SetOrientation (const Quaternion &qRot) |
| void | SetScale (const Vector3 &vScale) |
| void | SetNormaliseNormals (const bool bNormalise) |
| void | SetVisible (const bool bVisible, const bool bCascade) |
| void | SetCastShadows (const bool bCastShadows) |
| void | SetMaterial (const char *szMat) |
| void | SetPrepareFrameStep (const bool bOn) |
| void | SetFastBatch () |
| void | SetParticleSystem (const char *szTemplateName) |
| const unsigned int | GetNumParticles () |
| void | SetMesh (const char *szMeshName) |
| void | SetManualObject (Ogre::ManualObject *pManualObject) |
| void | SetBillboardSet (Ogre::BillboardSet *pBillboardSet) |
| void | SetAnim (const char *szAnimName, const bool bLoop) |
| Real | GetAnimLength (const char *szAnimName) |
| void | SetPathAnimTimePos (const Real fTimeInSeconds) |
| Real | GetPathAnimTimePos () |
| bool | IsPathAnimLooped () |
| void | SetAnimTimePos (const Real fTimeInSeconds) |
| Real | GetAnimTimePos () |
| bool | IsAnimLooped () |
| bool | HasBone (const char *szBoneName) |
| void | SetBillboard (const Vector3 vPos, const Real fRadius, const char *szMatName) |
| void | SetExplosion (const Real fRadius, const char *szMatName) |
| void | SetTargetTracker (const Real fDist, const Real fSize, const ColourValue vColor, const char *szMatName) |
| void | SetRadar () |
| void | SetBeam (const bool bUseVertexColour) |
| void | SetRadialGrid () |
| void | SetWireBoundingBox (const Ogre::AxisAlignedBox &aabb) |
| void | SetWireBoundingBox (const Vector3 &vMin, const Vector3 &vMax) |
| void | SetWireBoundingBox (Ogre::MovableObject &mov) |
| void | SetWireBoundingBox (Ogre::Entity &entity) |
| void | SetWireBoundingBox (cGfx3D &gfx3D) |
| void | SetSimpleRenderable () |
| general renderable, must be filled before being drawn, otherwise it will crash ! | |
| void | SetTextFont (const char *szFontName) |
| text is not automatically update, call SetText again for change to take effekt | |
| void | SetText (const char *szText, const Real fSize, const ColourValue vColor, const float mfWrapMaxW=0, Ogre::GuiHorizontalAlignment align=Ogre::GHA_LEFT) |
| use SetTextFont before this ! | |
| void | CreateMergedMesh (const char *szMeshname) |
| void | SetTrail (const Vector3 vPos, const Real fLength, const unsigned int iElements, const char *szMatName, const Real fR, const Real fG, const Real fB, const Real fA, const Real fDeltaR, const Real fDeltaG, const Real fDeltaB, const Real fDeltaA, const Real fW, const Real fDeltaW) |
| void | SetStarfield (const size_t numstars, const Real fRad, const Real fColoring, const char *szMatName) |
| fColoring is in [0;1] 0 means gray, 1 means full color | |
| void | AttachObject (Ogre::MovableObject *pObj) |
| void | DetachObject (Ogre::MovableObject *pObj) |
| void | DestroyPath () |
Static Public Member Functions | |
| static cGfx3D * | NewOfSceneNode (Ogre::SceneNode *pParent) |
| static cGfx3D * | NewChildOfSceneNode (Ogre::SceneNode *pParent) |
| static cGfx3D * | NewChildOfGfx3D (cGfx3D *pParent) |
| static cGfx3D * | NewChildOfRoot (Ogre::SceneManager *pSceneMgr) |
| create a child of the root scene node | |
| static cGfx3D * | NewFree (Ogre::SceneManager *pSceneMgr) |
| create a free node, not attached to the scenegraph yet | |
| static cGfx3D * | NewTagPoint (cGfx3D *pParent, const char *szBoneName, const Ogre::Vector3 &vOffsetPosition=Ogre::Vector3::ZERO, const Ogre::Quaternion &qOffsetOrientation=Ogre::Quaternion::IDENTITY) |
| static void | LuaRegister (lua_State *L) |
| lua binding | |
| static void | PrepareFrame () |
| called immediately before rendering each frame | |
Public Attributes | |
| SceneNode * | mpSceneNode |
| TagPoint * | mpTagPoint |
| cFastBatch * | mpFastBatch |
| cRadialGrid * | mpRadialGrid |
| cRadar * | mpRadar |
| Ogre::RibbonTrail * | mpTrail |
| cSimpleBeam * | mpBeam |
| Ogre::Entity * | mpEntity |
| Ogre::Entity * | mpAttachToEntity |
| std::string | msAttachToBoneName |
| Ogre::AnimationState * | mpAnimState |
| Ogre::String | msPathAnimName |
| Ogre::AnimationState * | mpPathAnimState |
| bool | mbHasPath |
| Ogre::BillboardSet * | mpBillboardSet |
| Ogre::ParticleSystem * | mpParticleSystem |
| Ogre::ManualObject * | mpManualObject |
| Ogre::FontPtr | mpFont |
| cRobSimpleRenderable * | mpSimpleRenderable |
| Ogre::AxisAlignedBox | mAABB |
| only for mpWireBoundingBoxRenderable mousepicking | |
| float | mfCustomBoundingRadius |
| used for 2D-tracking in gfx2D | |
| bool | mbHasAABB |
| Ogre::Camera * | mpForcePosCam |
| update the position of this gfx to match the cam, needs PrepareFrameStep | |
| Ogre::Camera * | mpForceRotCam |
| update the rotation of this gfx to match the cam, needs PrepareFrameStep | |
| cSmartPtr< cGfx3D > | mpForceLookatTarget |
| update the rotation of this gfx to look at the specified scenenode, needs PrepareFrameStep | |
| Ogre::Vector3 | mvProjectedPos |
| Ogre::Vector3 | mvProjectedSize |
| used by gfx2d hud-elements | |
| int | miLastProjectedFrame |
| rembers frameid | |
Static Public Attributes | |
| static unsigned int | miCount = 0 |
Private Member Functions | |
| cGfx3D (SceneNode *pSceneNode) | |
| don't call this directly, use the static cGfx3D::New* methods instead | |
| void | PrepareFrameStep () |
| handles stuff that has to be done every frame, right before rendering, e.g. billbord orientation | |
Private Attributes | |
| std::list< cGfx3D * >::iterator | mPrepareFrameItor |
| points to self, for constant time removal | |
| bool | mbPrepareFrameStep |
| true if PrepareFrameStep should be called every frame, dont change manually, use SetPrepareFrameStep | |
Static Private Attributes | |
| static std::list< cGfx3D * > | gPrepareFrameStepper |
Definition at line 69 of file lugre_gfx3D.h.
| Lugre::cGfx3D::cGfx3D | ( | SceneNode * | pSceneNode | ) | [private] |
don't call this directly, use the static cGfx3D::New* methods instead
Definition at line 542 of file lugre_gfx3D.cpp.
References miCount.
Referenced by NewChildOfSceneNode(), NewFree(), NewOfSceneNode(), and NewTagPoint().
| Lugre::cGfx3D::~cGfx3D | ( | ) | [virtual] |
Definition at line 570 of file lugre_gfx3D.cpp.
References Clear(), DestroyPath(), Lugre::cOgreWrapper::GetSingleton(), miCount, mpSceneNode, Lugre::cOgreWrapper::mSceneMgr, and PROFILE.
| void Lugre::cGfx3D::UpdateProjected | ( | const int | iFrameNum | ) |
Definition at line 519 of file lugre_gfx3D.cpp.
References Lugre::cOgreWrapper::GetSingleton(), mfCustomBoundingRadius, miLastProjectedFrame, mpSceneNode, mvProjectedPos, mvProjectedSize, and Lugre::cOgreWrapper::ProjectSizeAndPosEx().
Referenced by Lugre::cGfx2D::PrepareFrameStep().
| cGfx3D * Lugre::cGfx3D::NewOfSceneNode | ( | Ogre::SceneNode * | pParent | ) | [static] |
| cGfx3D * Lugre::cGfx3D::NewChildOfSceneNode | ( | Ogre::SceneNode * | pParent | ) | [static] |
Definition at line 528 of file lugre_gfx3D.cpp.
References assert, and cGfx3D().
Referenced by Lugre::cGfx3D_L::CreateCamPosGfx3D(), Lugre::cGfx3D_L::CreateCockpitGfx3D(), NewChildOfGfx3D(), and NewChildOfRoot().
Definition at line 529 of file lugre_gfx3D.cpp.
References assert, mpSceneNode, and NewChildOfSceneNode().
Referenced by Lugre::cGfx3D_L::CreateChild().
| cGfx3D * Lugre::cGfx3D::NewChildOfRoot | ( | Ogre::SceneManager * | pSceneMgr | ) | [static] |
create a child of the root scene node
Definition at line 530 of file lugre_gfx3D.cpp.
References assert, and NewChildOfSceneNode().
Referenced by Lugre::cGfx3D_L::CreateRootGfx3D().
| cGfx3D * Lugre::cGfx3D::NewFree | ( | Ogre::SceneManager * | pSceneMgr | ) | [static] |
create a free node, not attached to the scenegraph yet
Definition at line 531 of file lugre_gfx3D.cpp.
References assert, cGfx3D(), Lugre::cOgreWrapper::GetSingleton(), and Lugre::cOgreWrapper::GetUniqueName().
Referenced by Lugre::cGfx3D_L::CreateGfx3D().
| cGfx3D * Lugre::cGfx3D::NewTagPoint | ( | cGfx3D * | pParent, | |
| const char * | szBoneName, | |||
| const Ogre::Vector3 & | vOffsetPosition = Ogre::Vector3::ZERO, |
|||
| const Ogre::Quaternion & | qOffsetOrientation = Ogre::Quaternion::IDENTITY | |||
| ) | [static] |
Definition at line 532 of file lugre_gfx3D.cpp.
References assert, cGfx3D(), mpAttachToEntity, mpEntity, and msAttachToBoneName.
Referenced by Lugre::cGfx3D_L::CreateTagPoint().
| void Lugre::cGfx3D::Clear | ( | ) |
release attached objects
Definition at line 579 of file lugre_gfx3D.cpp.
References DestroyPath(), Lugre::cOgreWrapper::GetSingleton(), mpBeam, mpEntity, mpFastBatch, mpManualObject, mpParticleSystem, mpRadar, mpRadialGrid, mpSceneNode, mpSimpleRenderable, mpTrail, Lugre::cOgreWrapper::mSceneMgr, PROFILE, Lugre::PushUnusedParticleSystem(), and SetPrepareFrameStep().
Referenced by SetBeam(), SetBillboardSet(), SetFastBatch(), SetManualObject(), SetMesh(), SetParticleSystem(), SetRadar(), SetRadialGrid(), SetTrail(), and ~cGfx3D().
| bool Lugre::cGfx3D::IsInScene | ( | ) |
| void Lugre::cGfx3D::SetParent | ( | cGfx3D * | pParent | ) |
| void Lugre::cGfx3D::SetParent | ( | SceneNode * | pParent | ) |
| Vector3 Lugre::cGfx3D::GetScale | ( | ) |
| Vector3 Lugre::cGfx3D::GetPosition | ( | ) |
Definition at line 629 of file lugre_gfx3D.cpp.
References mpSceneNode, and PROFILE.
Referenced by SetWireBoundingBox().
| Vector3 Lugre::cGfx3D::GetDerivedPosition | ( | ) |
| Quaternion Lugre::cGfx3D::GetOrientation | ( | ) |
| Quaternion Lugre::cGfx3D::GetDerivedOrientation | ( | ) |
| void Lugre::cGfx3D::SetPosition | ( | const Vector3 & | vPos | ) |
Definition at line 634 of file lugre_gfx3D.cpp.
References mpSceneNode, and PROFILE.
Referenced by PrepareFrameStep(), SetWireBoundingBox(), and cObject::Step().
| void Lugre::cGfx3D::SetOrientation | ( | const Quaternion & | qRot | ) |
Definition at line 637 of file lugre_gfx3D.cpp.
References mpSceneNode, and PROFILE.
Referenced by PrepareFrameStep(), and cObject::Step().
| void Lugre::cGfx3D::SetScale | ( | const Vector3 & | vScale | ) |
| void Lugre::cGfx3D::SetNormaliseNormals | ( | const bool | bNormalise | ) |
| void Lugre::cGfx3D::SetVisible | ( | const bool | bVisible, | |
| const bool | bCascade | |||
| ) |
| void Lugre::cGfx3D::SetCastShadows | ( | const bool | bCastShadows | ) |
Definition at line 639 of file lugre_gfx3D.cpp.
References mpBeam, mpEntity, mpFastBatch, mpManualObject, mpSimpleRenderable, and PROFILE.
| void Lugre::cGfx3D::SetMaterial | ( | const char * | szMat | ) |
Definition at line 646 of file lugre_gfx3D.cpp.
References mpBeam, mpBillboardSet, mpSimpleRenderable, and PROFILE.
| void Lugre::cGfx3D::SetPrepareFrameStep | ( | const bool | bOn | ) |
Definition at line 479 of file lugre_gfx3D.cpp.
References assert, gPrepareFrameStepper, mbPrepareFrameStep, and mPrepareFrameItor.
Referenced by Clear().
| void Lugre::cGfx3D::SetFastBatch | ( | ) |
Definition at line 958 of file lugre_gfx3D.cpp.
References AttachObject(), Clear(), mpFastBatch, and mpSceneNode.
| void Lugre::cGfx3D::SetParticleSystem | ( | const char * | szTemplateName | ) |
Definition at line 653 of file lugre_gfx3D.cpp.
References AttachObject(), Clear(), Lugre::cOgreWrapper::GetSingleton(), mpParticleSystem, mpSceneNode, Lugre::cOgreWrapper::mSceneMgr, and Lugre::PopFromUnusedParticleSystems().
| const unsigned int Lugre::cGfx3D::GetNumParticles | ( | ) |
Definition at line 667 of file lugre_gfx3D.cpp.
References mpParticleSystem, mpSceneNode, and PROFILE.
| void Lugre::cGfx3D::SetMesh | ( | const char * | szMeshName | ) |
Definition at line 690 of file lugre_gfx3D.cpp.
References AttachObject(), Clear(), Lugre::cOgreWrapper::GetSingleton(), Lugre::giLastMeshID, mpEntity, Lugre::cOgreWrapper::mSceneMgr, PROFILE, and Lugre::strprintf().
| void Lugre::cGfx3D::SetManualObject | ( | Ogre::ManualObject * | pManualObject | ) |
Definition at line 675 of file lugre_gfx3D.cpp.
References AttachObject(), Clear(), and mpManualObject.
| void Lugre::cGfx3D::SetBillboardSet | ( | Ogre::BillboardSet * | pBillboardSet | ) |
Definition at line 682 of file lugre_gfx3D.cpp.
References AttachObject(), Clear(), and mpBillboardSet.
| void Lugre::cGfx3D::SetAnim | ( | const char * | szAnimName, | |
| const bool | bLoop | |||
| ) |
| Real Lugre::cGfx3D::GetAnimLength | ( | const char * | szAnimName | ) |
| void Lugre::cGfx3D::SetPathAnimTimePos | ( | const Real | fTimeInSeconds | ) |
| Real Lugre::cGfx3D::GetPathAnimTimePos | ( | ) |
| bool Lugre::cGfx3D::IsPathAnimLooped | ( | ) |
| void Lugre::cGfx3D::SetAnimTimePos | ( | const Real | fTimeInSeconds | ) |
| Real Lugre::cGfx3D::GetAnimTimePos | ( | ) |
| bool Lugre::cGfx3D::IsAnimLooped | ( | ) |
| bool Lugre::cGfx3D::HasBone | ( | const char * | szBoneName | ) |
Definition at line 729 of file lugre_gfx3D.cpp.
References mpEntity, and Lugre::cOgreWrapper::SearchBoneByName().
| void Lugre::cGfx3D::SetBillboard | ( | const Vector3 | vPos, | |
| const Real | fRadius, | |||
| const char * | szMatName | |||
| ) |
Definition at line 989 of file lugre_gfx3D.cpp.
References AttachObject(), Lugre::cOgreWrapper::GetSingleton(), Lugre::giLastBillboardID, mpBillboardSet, mpSceneNode, Lugre::cOgreWrapper::mSceneMgr, PROFILE, and Lugre::strprintf().
Referenced by SetExplosion().
| void Lugre::cGfx3D::SetExplosion | ( | const Real | fRadius, | |
| const char * | szMatName | |||
| ) |
| void Lugre::cGfx3D::SetTargetTracker | ( | const Real | fDist, | |
| const Real | fSize, | |||
| const ColourValue | vColor, | |||
| const char * | szMatName | |||
| ) |
Definition at line 1028 of file lugre_gfx3D.cpp.
References AttachObject(), mpSceneNode, and PROFILE.
| void Lugre::cGfx3D::SetRadar | ( | ) |
Definition at line 930 of file lugre_gfx3D.cpp.
References AttachObject(), Clear(), Lugre::cRadar::mpDots, Lugre::cRadar::mpLines, mpRadar, and mpSceneNode.
| void Lugre::cGfx3D::SetBeam | ( | const bool | bUseVertexColour | ) |
Definition at line 939 of file lugre_gfx3D.cpp.
References Lugre::cSimpleBeam::_notifyCurrentCamera(), AttachObject(), Clear(), mpBeam, and mpSceneNode.
| void Lugre::cGfx3D::SetRadialGrid | ( | ) |
Definition at line 948 of file lugre_gfx3D.cpp.
References AttachObject(), Clear(), Lugre::cRadialGrid::mpCircles, Lugre::cRadialGrid::mpLines, mpRadialGrid, and mpSceneNode.
| void Lugre::cGfx3D::SetWireBoundingBox | ( | const Ogre::AxisAlignedBox & | aabb | ) |
Definition at line 733 of file lugre_gfx3D.cpp.
References AttachObject(), Lugre::cRobRenderOp::Begin(), Lugre::cRobRenderOp::End(), mAABB, mbHasAABB, mpSceneNode, mpSimpleRenderable, and Lugre::cRobRenderOp::Vertex().
Referenced by SetWireBoundingBox().
| void Lugre::cGfx3D::SetWireBoundingBox | ( | const Vector3 & | vMin, | |
| const Vector3 & | vMax | |||
| ) |
| void Lugre::cGfx3D::SetWireBoundingBox | ( | Ogre::MovableObject & | mov | ) |
| void Lugre::cGfx3D::SetWireBoundingBox | ( | Ogre::Entity & | entity | ) |
Definition at line 802 of file lugre_gfx3D.cpp.
References Lugre::MeshShape::GetMeshShape(), Lugre::MeshShape::mvMax, Lugre::MeshShape::mvMin, SetPosition(), and SetWireBoundingBox().
| void Lugre::cGfx3D::SetWireBoundingBox | ( | cGfx3D & | gfx3D | ) |
Definition at line 811 of file lugre_gfx3D.cpp.
References GetPosition(), mAABB, mbHasAABB, mpEntity, SetPosition(), and SetWireBoundingBox().
| void Lugre::cGfx3D::SetSimpleRenderable | ( | ) |
general renderable, must be filled before being drawn, otherwise it will crash !
Definition at line 822 of file lugre_gfx3D.cpp.
References AttachObject(), mpSceneNode, and mpSimpleRenderable.
| void Lugre::cGfx3D::SetTextFont | ( | const char * | szFontName | ) |
text is not automatically update, call SetText again for change to take effekt
Definition at line 831 of file lugre_gfx3D.cpp.
References AttachObject(), Lugre::cOgreWrapper::GetSingleton(), mpFont, and mpSimpleRenderable.
| void Lugre::cGfx3D::SetText | ( | const char * | szText, | |
| const Real | fSize, | |||
| const ColourValue | vColor, | |||
| const float | mfWrapMaxW = 0, |
|||
| Ogre::GuiHorizontalAlignment | align = Ogre::GHA_LEFT | |||
| ) |
use SetTextFont before this !
Definition at line 859 of file lugre_gfx3D.cpp.
References Lugre::cOgreFontHelper::Alignment(), Lugre::cRobRenderOp::Begin(), Lugre::cRobRenderOp::End(), Lugre::cOgreFontHelper::GetCharWidth(), Lugre::cOgreFontHelper::cTextIterator::HasNext(), Lugre::cRobRenderOp::Index(), Lugre::cOgreFontHelper::IsWhiteSpace(), mpFont, mpSceneNode, mpSimpleRenderable, Lugre::cOgreFontHelper::cTextIterator::Next(), Lugre::printdebug(), Lugre::cRobRenderOp::SkipIndices(), Lugre::cRobRenderOp::SkipVertices(), Lugre::cOgreFontHelper::UNICODE_ZERO, Lugre::cRobRenderOp::Vertex(), Lugre::cOgreFontHelper::cTextIterator::x, and Lugre::cOgreFontHelper::cTextIterator::y.
| void Lugre::cGfx3D::CreateMergedMesh | ( | const char * | szMeshname | ) |
Definition at line 457 of file lugre_gfx3D.cpp.
References Lugre::SceneNodeVisitorSubmeshCollector::mlSubMesh, mpSceneNode, and Lugre::VisitSceneNode().
| void Lugre::cGfx3D::SetTrail | ( | const Vector3 | vPos, | |
| const Real | fLength, | |||
| const unsigned int | iElements, | |||
| const char * | szMatName, | |||
| const Real | fR, | |||
| const Real | fG, | |||
| const Real | fB, | |||
| const Real | fA, | |||
| const Real | fDeltaR, | |||
| const Real | fDeltaG, | |||
| const Real | fDeltaB, | |||
| const Real | fDeltaA, | |||
| const Real | fW, | |||
| const Real | fDeltaW | |||
| ) |
Definition at line 1000 of file lugre_gfx3D.cpp.
References Clear(), Lugre::cOgreWrapper::GetSingleton(), Lugre::giLastRibbonID, mpSceneNode, mpTrail, Lugre::cOgreWrapper::mSceneMgr, PROFILE, and Lugre::strprintf().
| void Lugre::cGfx3D::SetStarfield | ( | const size_t | numstars, | |
| const Real | fRad, | |||
| const Real | fColoring, | |||
| const char * | szMatName | |||
| ) |
fColoring is in [0;1] 0 means gray, 1 means full color
Definition at line 967 of file lugre_gfx3D.cpp.
References AttachObject(), Lugre::cRobRenderOp::Begin(), Lugre::cRobRenderOp::End(), mpSceneNode, PROFILE, and Lugre::cRobRenderOp::Vertex().
| void Lugre::cGfx3D::LuaRegister | ( | lua_State * | L | ) | [static] |
| void Lugre::cGfx3D::AttachObject | ( | Ogre::MovableObject * | pObj | ) |
Definition at line 1039 of file lugre_gfx3D.cpp.
References mpAttachToEntity, mpSceneNode, mpTagPoint, and msAttachToBoneName.
Referenced by SetBeam(), SetBillboard(), SetBillboardSet(), SetFastBatch(), SetManualObject(), SetMesh(), SetParticleSystem(), SetRadar(), SetRadialGrid(), SetSimpleRenderable(), SetStarfield(), SetTargetTracker(), SetTextFont(), and SetWireBoundingBox().
| void Lugre::cGfx3D::DetachObject | ( | Ogre::MovableObject * | pObj | ) |
| void Lugre::cGfx3D::DestroyPath | ( | ) |
Definition at line 604 of file lugre_gfx3D.cpp.
References Lugre::cOgreWrapper::GetSingleton(), mbHasPath, mpPathAnimState, Lugre::cOgreWrapper::mSceneMgr, and msPathAnimName.
| void Lugre::cGfx3D::PrepareFrameStep | ( | ) | [private] |
handles stuff that has to be done every frame, right before rendering, e.g. billbord orientation
Definition at line 499 of file lugre_gfx3D.cpp.
References mpForcePosCam, mpForceRotCam, mpSceneNode, SetOrientation(), and SetPosition().
Referenced by PrepareFrame().
| void Lugre::cGfx3D::PrepareFrame | ( | ) | [static] |
called immediately before rendering each frame
Definition at line 494 of file lugre_gfx3D.cpp.
References gPrepareFrameStepper, and PrepareFrameStep().
Referenced by Lugre::cGame::RenderOneFrame().
unsigned int Lugre::cGfx3D::miCount = 0 [static] |
Definition at line 70 of file lugre_gfx3D.h.
Referenced by cGfx3D(), Lugre::cGfx3D_L::GetGfx3DCount(), and ~cGfx3D().
| SceneNode* Lugre::cGfx3D::mpSceneNode |
Definition at line 73 of file lugre_gfx3D.h.
Referenced by AttachObject(), Clear(), CreateMergedMesh(), DetachObject(), GetDerivedOrientation(), GetDerivedPosition(), GetNumParticles(), GetOrientation(), GetPosition(), GetScale(), IsInScene(), l_Client_AttachLight(), NewChildOfGfx3D(), PrepareFrameStep(), Lugre::cGfx2D::PrepareFrameStep(), SetBeam(), SetBillboard(), SetFastBatch(), SetOrientation(), SetParent(), SetParticleSystem(), SetPosition(), SetRadar(), SetRadialGrid(), SetScale(), SetSimpleRenderable(), SetStarfield(), SetTargetTracker(), SetText(), SetTrail(), SetVisible(), SetWireBoundingBox(), UpdateProjected(), and ~cGfx3D().
| TagPoint* Lugre::cGfx3D::mpTagPoint |
Definition at line 75 of file lugre_gfx3D.h.
Referenced by Clear(), SetCastShadows(), and SetFastBatch().
| Ogre::RibbonTrail* Lugre::cGfx3D::mpTrail |
Definition at line 79 of file lugre_gfx3D.h.
Referenced by Clear(), SetBeam(), SetCastShadows(), and SetMaterial().
| Ogre::Entity* Lugre::cGfx3D::mpEntity |
Definition at line 80 of file lugre_gfx3D.h.
Referenced by Clear(), GetAnimLength(), HasBone(), NewTagPoint(), SetAnim(), SetCastShadows(), SetMesh(), SetWireBoundingBox(), and Lugre::cGfx3D_L::ShareSkeletonInstanceWith().
| Ogre::Entity* Lugre::cGfx3D::mpAttachToEntity |
Definition at line 81 of file lugre_gfx3D.h.
Referenced by AttachObject(), DetachObject(), and NewTagPoint().
| std::string Lugre::cGfx3D::msAttachToBoneName |
| Ogre::AnimationState* Lugre::cGfx3D::mpAnimState |
Definition at line 83 of file lugre_gfx3D.h.
Referenced by GetAnimTimePos(), IsAnimLooped(), SetAnim(), and SetAnimTimePos().
| Ogre::String Lugre::cGfx3D::msPathAnimName |
| Ogre::AnimationState* Lugre::cGfx3D::mpPathAnimState |
Definition at line 85 of file lugre_gfx3D.h.
Referenced by DestroyPath(), GetPathAnimTimePos(), IsPathAnimLooped(), and SetPathAnimTimePos().
| Ogre::BillboardSet* Lugre::cGfx3D::mpBillboardSet |
Definition at line 87 of file lugre_gfx3D.h.
Referenced by SetBillboard(), SetBillboardSet(), and SetMaterial().
| Ogre::ParticleSystem* Lugre::cGfx3D::mpParticleSystem |
Definition at line 88 of file lugre_gfx3D.h.
Referenced by Clear(), GetNumParticles(), and SetParticleSystem().
| Ogre::ManualObject* Lugre::cGfx3D::mpManualObject |
Definition at line 89 of file lugre_gfx3D.h.
Referenced by Clear(), SetCastShadows(), and SetManualObject().
| Ogre::FontPtr Lugre::cGfx3D::mpFont |
Definition at line 92 of file lugre_gfx3D.h.
Referenced by Clear(), SetCastShadows(), SetMaterial(), SetSimpleRenderable(), SetText(), SetTextFont(), and SetWireBoundingBox().
| Ogre::AxisAlignedBox Lugre::cGfx3D::mAABB |
only for mpWireBoundingBoxRenderable mousepicking
Definition at line 93 of file lugre_gfx3D.h.
Referenced by SetWireBoundingBox().
used for 2D-tracking in gfx2D
Definition at line 94 of file lugre_gfx3D.h.
Referenced by cObject::Step(), and UpdateProjected().
| Ogre::Camera* Lugre::cGfx3D::mpForcePosCam |
update the position of this gfx to match the cam, needs PrepareFrameStep
Definition at line 96 of file lugre_gfx3D.h.
Referenced by PrepareFrameStep().
| Ogre::Camera* Lugre::cGfx3D::mpForceRotCam |
update the rotation of this gfx to match the cam, needs PrepareFrameStep
Definition at line 97 of file lugre_gfx3D.h.
Referenced by PrepareFrameStep().
update the rotation of this gfx to look at the specified scenenode, needs PrepareFrameStep
Definition at line 98 of file lugre_gfx3D.h.
| Ogre::Vector3 Lugre::cGfx3D::mvProjectedPos |
Definition at line 99 of file lugre_gfx3D.h.
Referenced by Lugre::cGfx2D::PrepareFrameStep(), and UpdateProjected().
| Ogre::Vector3 Lugre::cGfx3D::mvProjectedSize |
used by gfx2d hud-elements
Definition at line 99 of file lugre_gfx3D.h.
Referenced by Lugre::cGfx2D::PrepareFrameStep(), and UpdateProjected().
std::list< cGfx3D * > Lugre::cGfx3D::gPrepareFrameStepper [static, private] |
Definition at line 184 of file lugre_gfx3D.h.
Referenced by PrepareFrame(), and SetPrepareFrameStep().
std::list<cGfx3D*>::iterator Lugre::cGfx3D::mPrepareFrameItor [private] |
points to self, for constant time removal
Definition at line 185 of file lugre_gfx3D.h.
Referenced by SetPrepareFrameStep().
bool Lugre::cGfx3D::mbPrepareFrameStep [private] |
true if PrepareFrameStep should be called every frame, dont change manually, use SetPrepareFrameStep
Definition at line 186 of file lugre_gfx3D.h.
Referenced by SetPrepareFrameStep().
1.5.6