RigsofRods
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes
RoR::Screwprop Class Reference

#include <ScrewProp.h>

+ Collaboration diagram for RoR::Screwprop:

Public Member Functions

 Screwprop (ActorPtr actor, NodeNum_t noderef, NodeNum_t nodeback, NodeNum_t nodeup, float power)
 
void updateForces (int update)
 
void setThrottle (float val)
 
void setRudder (float val)
 
float getThrottle ()
 
float getRudder ()
 
void reset ()
 
void toggleReverse ()
 
NodeNum_t GetRefNode () const
 
NodeNum_t GetBackNode () const
 
NodeNum_t GetUpNode () const
 

Private Attributes

DustPoolsplashp
 
DustPoolripplep
 
bool reverse
 
float fullpower
 in HP More...
 
float rudder
 
float throtle
 
ActorPtr m_actor
 
NodeNum_t nodeback
 
NodeNum_t noderef
 
NodeNum_t nodeup
 

Detailed Description

Definition at line 34 of file ScrewProp.h.

Constructor & Destructor Documentation

◆ Screwprop()

Screwprop::Screwprop ( ActorPtr  actor,
NodeNum_t  noderef,
NodeNum_t  nodeback,
NodeNum_t  nodeup,
float  power 
)

Definition at line 37 of file ScrewProp.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ GetBackNode()

NodeNum_t RoR::Screwprop::GetBackNode ( ) const
inline

Definition at line 49 of file ScrewProp.h.

◆ GetRefNode()

NodeNum_t RoR::Screwprop::GetRefNode ( ) const
inline

Definition at line 48 of file ScrewProp.h.

◆ getRudder()

float Screwprop::getRudder ( )

Definition at line 106 of file ScrewProp.cpp.

+ Here is the caller graph for this function:

◆ getThrottle()

float Screwprop::getThrottle ( )

Definition at line 98 of file ScrewProp.cpp.

+ Here is the caller graph for this function:

◆ GetUpNode()

NodeNum_t RoR::Screwprop::GetUpNode ( ) const
inline

Definition at line 50 of file ScrewProp.h.

◆ reset()

void Screwprop::reset ( )

Definition at line 111 of file ScrewProp.cpp.

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

◆ setRudder()

void Screwprop::setRudder ( float  val)

Definition at line 89 of file ScrewProp.cpp.

+ Here is the caller graph for this function:

◆ setThrottle()

void Screwprop::setThrottle ( float  val)

Definition at line 76 of file ScrewProp.cpp.

+ Here is the caller graph for this function:

◆ toggleReverse()

void Screwprop::toggleReverse ( )

Definition at line 118 of file ScrewProp.cpp.

+ Here is the caller graph for this function:

◆ updateForces()

void Screwprop::updateForces ( int  update)

Definition at line 49 of file ScrewProp.cpp.

+ Here is the call graph for this function:

Field Documentation

◆ fullpower

float RoR::Screwprop::fullpower
private

in HP

Definition at line 56 of file ScrewProp.h.

◆ m_actor

ActorPtr RoR::Screwprop::m_actor
private

Definition at line 61 of file ScrewProp.h.

◆ nodeback

NodeNum_t RoR::Screwprop::nodeback
private

Definition at line 62 of file ScrewProp.h.

◆ noderef

NodeNum_t RoR::Screwprop::noderef
private

Definition at line 63 of file ScrewProp.h.

◆ nodeup

NodeNum_t RoR::Screwprop::nodeup
private

Definition at line 64 of file ScrewProp.h.

◆ reverse

bool RoR::Screwprop::reverse
private

Definition at line 55 of file ScrewProp.h.

◆ ripplep

DustPool * RoR::Screwprop::ripplep
private

Definition at line 54 of file ScrewProp.h.

◆ rudder

float RoR::Screwprop::rudder
private

Definition at line 57 of file ScrewProp.h.

◆ splashp

DustPool* RoR::Screwprop::splashp
private

Definition at line 50 of file ScrewProp.h.

◆ throtle

float RoR::Screwprop::throtle
private

Definition at line 58 of file ScrewProp.h.


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