|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
118 void Init(
bool enabled);
144 void ProcessModule(std::shared_ptr<RigDef::Document::Module> module);
int m_num_resolved_to_self
Keyword m_current_keyword
Legacy parser resolved references on-the-fly and the condition to check named nodes was "are there an...
std::map< std::string, NodeMapEntry > m_named_nodes
unsigned m_num_meshwheels_nodes
bool AddNumberedNode(unsigned int number)
void AddGeneratedNode(Keyword generated_from, NodeMapEntry::OriginDetail detail=NodeMapEntry::DETAIL_UNDEFINED)
void ResolveNodeRanges(std::vector< Node::Range > &ranges)
NodeMapEntry(Keyword keyword, Node::Id id, unsigned node_sub_index, OriginDetail detail=NodeMapEntry::DETAIL_UNDEFINED)
unsigned m_num_cinecam_nodes
Node::Ref ResolveNode(Node::Ref const &noderef_in)
unsigned m_num_wheels2_nodes
unsigned m_num_flexbodywheels_nodes
std::shared_ptr< Document::Module > m_current_module
Node::Ref ResolveNodeByIndex(unsigned int index, unsigned int def_line_number)
RigDef::Keyword origin_keyword
unsigned GetNodeArrayOffset(Keyword keyword)
std::string IterateAndPrintAllNodes()
unsigned m_num_wheels_nodes
std::vector< NodeMapEntry > m_all_nodes
void GenerateNodesForWheel(Keyword generated_from, int num_rays, bool has_rigidity_node)
unsigned m_num_meshwheels2_nodes
void Process(RigDef::DocumentPtr def)
Traverse whole rig definition and resolve all node references.
OriginDetail origin_detail
std::string GetNodeStatistics()
void ResolveFlexbodyForset(std::vector< Node::Range > &ranges, std::vector< Node::Ref > &out_nodes)
Abstract node ID (numbered or named) Node name is always available.
void AddMessage(Message::Type msg_type, std::string text)
bool AddNamedNode(std::string const &name)
void ProcessModule(std::shared_ptr< RigDef::Document::Module > module)
std::shared_ptr< Document > DocumentPtr
unsigned m_num_named_nodes
unsigned m_num_numbered_nodes
Data structures representing 'truck' file format, see https://docs.rigsofrods.org/vehicle-creation/fi...