RigsofRods
Soft-body Physics Simulation
Data Structures | Public Member Functions | Data Fields | Static Public Attributes
RigDef::Node Struct Reference

#include <RigDef_Node.h>

+ Collaboration diagram for RigDef::Node:

Data Structures

class  Id
 Abstract node ID (numbered or named) Node name is always available. More...
 
struct  Range
 
class  Ref
 Legacy parser resolved references on-the-fly and the condition to check named nodes was "are there any named nodes defined at this point?" The new parser defers node resolution, so every ref. More...
 

Public Member Functions

 Node ()
 

Data Fields

Id id
 
Ogre::Vector3 position
 
BitMask_t options
 
float load_weight_override
 
bool _has_load_weight_override
 
std::shared_ptr< NodeDefaultsnode_defaults
 
std::shared_ptr< DefaultMinimassdefault_minimass
 
std::shared_ptr< BeamDefaultsbeam_defaults
 
int detacher_group
 

Static Public Attributes

static const BitMask_t OPTION_m_NO_MOUSE_GRAB = BITMASK(1)
 
static const BitMask_t OPTION_f_NO_SPARKS = BITMASK(2)
 
static const BitMask_t OPTION_x_EXHAUST_POINT = BITMASK(3)
 
static const BitMask_t OPTION_y_EXHAUST_DIRECTION = BITMASK(4)
 
static const BitMask_t OPTION_c_NO_GROUND_CONTACT = BITMASK(5)
 
static const BitMask_t OPTION_h_HOOK_POINT = BITMASK(6)
 
static const BitMask_t OPTION_e_TERRAIN_EDIT_POINT = BITMASK(7)
 
static const BitMask_t OPTION_b_EXTRA_BUOYANCY = BITMASK(8)
 
static const BitMask_t OPTION_p_NO_PARTICLES = BITMASK(9)
 
static const BitMask_t OPTION_L_LOG = BITMASK(10)
 
static const BitMask_t OPTION_l_LOAD_WEIGHT = BITMASK(11)
 

Detailed Description

Definition at line 39 of file RigDef_Node.h.

Constructor & Destructor Documentation

◆ Node()

RigDef::Node::Node ( )
inline

Definition at line 138 of file RigDef_Node.h.

Field Documentation

◆ _has_load_weight_override

bool RigDef::Node::_has_load_weight_override

Definition at line 162 of file RigDef_Node.h.

◆ beam_defaults

std::shared_ptr<BeamDefaults> RigDef::Node::beam_defaults

Definition at line 165 of file RigDef_Node.h.

◆ default_minimass

std::shared_ptr<DefaultMinimass> RigDef::Node::default_minimass

Definition at line 164 of file RigDef_Node.h.

◆ detacher_group

int RigDef::Node::detacher_group

Definition at line 166 of file RigDef_Node.h.

◆ id

Id RigDef::Node::id

Definition at line 158 of file RigDef_Node.h.

◆ load_weight_override

float RigDef::Node::load_weight_override

Definition at line 161 of file RigDef_Node.h.

◆ node_defaults

std::shared_ptr<NodeDefaults> RigDef::Node::node_defaults

Definition at line 163 of file RigDef_Node.h.

◆ OPTION_b_EXTRA_BUOYANCY

const BitMask_t RigDef::Node::OPTION_b_EXTRA_BUOYANCY = BITMASK(8)
static

Definition at line 153 of file RigDef_Node.h.

◆ OPTION_c_NO_GROUND_CONTACT

const BitMask_t RigDef::Node::OPTION_c_NO_GROUND_CONTACT = BITMASK(5)
static

Definition at line 150 of file RigDef_Node.h.

◆ OPTION_e_TERRAIN_EDIT_POINT

const BitMask_t RigDef::Node::OPTION_e_TERRAIN_EDIT_POINT = BITMASK(7)
static

Definition at line 152 of file RigDef_Node.h.

◆ OPTION_f_NO_SPARKS

const BitMask_t RigDef::Node::OPTION_f_NO_SPARKS = BITMASK(2)
static

Definition at line 147 of file RigDef_Node.h.

◆ OPTION_h_HOOK_POINT

const BitMask_t RigDef::Node::OPTION_h_HOOK_POINT = BITMASK(6)
static

Definition at line 151 of file RigDef_Node.h.

◆ OPTION_l_LOAD_WEIGHT

const BitMask_t RigDef::Node::OPTION_l_LOAD_WEIGHT = BITMASK(11)
static

Definition at line 156 of file RigDef_Node.h.

◆ OPTION_L_LOG

const BitMask_t RigDef::Node::OPTION_L_LOG = BITMASK(10)
static

Definition at line 155 of file RigDef_Node.h.

◆ OPTION_m_NO_MOUSE_GRAB

const BitMask_t RigDef::Node::OPTION_m_NO_MOUSE_GRAB = BITMASK(1)
static

Definition at line 146 of file RigDef_Node.h.

◆ OPTION_p_NO_PARTICLES

const BitMask_t RigDef::Node::OPTION_p_NO_PARTICLES = BITMASK(9)
static

Definition at line 154 of file RigDef_Node.h.

◆ OPTION_x_EXHAUST_POINT

const BitMask_t RigDef::Node::OPTION_x_EXHAUST_POINT = BITMASK(3)
static

Definition at line 148 of file RigDef_Node.h.

◆ OPTION_y_EXHAUST_DIRECTION

const BitMask_t RigDef::Node::OPTION_y_EXHAUST_DIRECTION = BITMASK(4)
static

Definition at line 149 of file RigDef_Node.h.

◆ options

BitMask_t RigDef::Node::options

Definition at line 160 of file RigDef_Node.h.

◆ position

Ogre::Vector3 RigDef::Node::position

Definition at line 159 of file RigDef_Node.h.


The documentation for this struct was generated from the following file: