RigsofRods
Soft-body Physics Simulation
Public Member Functions | Private Attributes
RoR::TurbojetVisual Class Reference

#include <TurboJet.h>

Public Member Functions

 ~TurbojetVisual ()
 
void SetupVisuals (RigDef::Turbojet &def, int num, std::string const &propname, Ogre::Entity *nozzle, Ogre::Entity *afterburner_flame)
 
void SetNodes (NodeNum_t front, NodeNum_t back, NodeNum_t ref)
 
void UpdateVisuals (RoR::GfxActor *gfx_actor)
 
void SetVisible (bool visible)
 
bool IsVisible () const
 

Private Attributes

Ogre::SceneNode * m_smoke_scenenode
 
Ogre::ParticleSystem * m_smoke_particle
 
Ogre::Entity * m_flame_entity
 
Ogre::SceneNode * m_flame_scenenode
 
Ogre::Entity * m_nozzle_entity
 
Ogre::SceneNode * m_nozzle_scenenode
 
bool m_visible = false
 
int m_number
 
float m_radius
 
NodeNum_t m_node_back = NODENUM_INVALID
 
NodeNum_t m_node_front = NODENUM_INVALID
 
NodeNum_t m_node_ref = NODENUM_INVALID
 

Detailed Description

Definition at line 30 of file TurboJet.h.

Constructor & Destructor Documentation

◆ ~TurbojetVisual()

TurbojetVisual::~TurbojetVisual ( )

Definition at line 124 of file TurboJet.cpp.

Member Function Documentation

◆ IsVisible()

bool RoR::TurbojetVisual::IsVisible ( ) const
inline

Definition at line 38 of file TurboJet.h.

◆ SetNodes()

void TurbojetVisual::SetNodes ( NodeNum_t  front,
NodeNum_t  back,
NodeNum_t  ref 
)

Definition at line 104 of file TurboJet.cpp.

+ Here is the caller graph for this function:

◆ SetupVisuals()

void TurbojetVisual::SetupVisuals ( RigDef::Turbojet def,
int  num,
std::string const &  propname,
Ogre::Entity *  nozzle,
Ogre::Entity *  afterburner_flame 
)

Definition at line 73 of file TurboJet.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetVisible()

void TurbojetVisual::SetVisible ( bool  visible)

Definition at line 214 of file TurboJet.cpp.

+ Here is the caller graph for this function:

◆ UpdateVisuals()

void TurbojetVisual::UpdateVisuals ( RoR::GfxActor gfx_actor)

Definition at line 153 of file TurboJet.cpp.

+ Here is the call graph for this function:

Field Documentation

◆ m_flame_entity

Ogre::Entity* RoR::TurbojetVisual::m_flame_entity
private

Definition at line 43 of file TurboJet.h.

◆ m_flame_scenenode

Ogre::SceneNode* RoR::TurbojetVisual::m_flame_scenenode
private

Definition at line 44 of file TurboJet.h.

◆ m_node_back

NodeNum_t RoR::TurbojetVisual::m_node_back = NODENUM_INVALID
private

Definition at line 51 of file TurboJet.h.

◆ m_node_front

NodeNum_t RoR::TurbojetVisual::m_node_front = NODENUM_INVALID
private

Definition at line 52 of file TurboJet.h.

◆ m_node_ref

NodeNum_t RoR::TurbojetVisual::m_node_ref = NODENUM_INVALID
private

Definition at line 53 of file TurboJet.h.

◆ m_nozzle_entity

Ogre::Entity* RoR::TurbojetVisual::m_nozzle_entity
private

Definition at line 45 of file TurboJet.h.

◆ m_nozzle_scenenode

Ogre::SceneNode* RoR::TurbojetVisual::m_nozzle_scenenode
private

Definition at line 46 of file TurboJet.h.

◆ m_number

int RoR::TurbojetVisual::m_number
private

Definition at line 49 of file TurboJet.h.

◆ m_radius

float RoR::TurbojetVisual::m_radius
private

Definition at line 50 of file TurboJet.h.

◆ m_smoke_particle

Ogre::ParticleSystem* RoR::TurbojetVisual::m_smoke_particle
private

Definition at line 42 of file TurboJet.h.

◆ m_smoke_scenenode

Ogre::SceneNode* RoR::TurbojetVisual::m_smoke_scenenode
private

Definition at line 41 of file TurboJet.h.

◆ m_visible

bool RoR::TurbojetVisual::m_visible = false
private

Definition at line 48 of file TurboJet.h.


The documentation for this class was generated from the following files: