#include <BasicNodeManager.hpp>
|
template<class NodeType > |
std::size_t | getNumNodes (std::size_t treeIndex) const |
| Get the number of Nodes of the specified type that are in the treeIndexth tree of this Skeleton.
|
|
template<class NodeType > |
NodeType * | getNode (std::size_t treeIndex, std::size_t nodeIndex) |
| Get the nodeIndexth Node of the specified type within the tree of treeIndex.
|
|
template<class NodeType > |
const NodeType * | getNode (std::size_t treeIndex, std::size_t nodeIndex) const |
| Get the nodeIndexth Node of the specified type within the tree of treeIndex.
|
|
template<class NodeType > |
NodeType * | getNode (const std::string &name) |
| Get the Node of the specified type with the given name.
|
|
template<class NodeType > |
const NodeType * | getNode (const std::string &name) const |
| Get the Node of the specified type with the given name.
|
|
template<class NodeType > |
NodeType * | getNode (std::size_t index) |
| Get the Node of the specified type and the specified index.
|
|
template<class NodeType > |
const NodeType * | getNode (std::size_t index) const |
| Get the Node of the specified type and the specified index.
|
|
template<class NodeType > |
std::size_t | getNumNodes () const |
| Get the number of Nodes corresponding to the specified type.
|
|
|
template<class NodeType > |
static constexpr bool | isSpecializedForNode () |
| Check if this Manager is specialized for a specific type of Node.
|
|
◆ NodeDestructorSet
◆ NodeMap
◆ NodeNameMgrMap
◆ SpecializedTreeNodes
◆ getNode() [1/6]
template<class NodeType >
NodeType * dart::dynamics::detail::BasicNodeManagerForSkeleton::getNode |
( |
const std::string & |
name | ) |
|
Get the Node of the specified type with the given name.
◆ getNode() [2/6]
template<class NodeType >
const NodeType * dart::dynamics::detail::BasicNodeManagerForSkeleton::getNode |
( |
const std::string & |
name | ) |
const |
Get the Node of the specified type with the given name.
◆ getNode() [3/6]
template<class NodeType >
NodeType * dart::dynamics::detail::BasicNodeManagerForBodyNode::getNode |
( |
std::size_t |
index | ) |
|
Get the Node of the specified type and the specified index.
◆ getNode() [4/6]
template<class NodeType >
const NodeType * dart::dynamics::detail::BasicNodeManagerForBodyNode::getNode |
( |
std::size_t |
index | ) |
const |
Get the Node of the specified type and the specified index.
◆ getNode() [5/6]
template<class NodeType >
NodeType * dart::dynamics::detail::BasicNodeManagerForSkeleton::getNode |
( |
std::size_t |
treeIndex, |
|
|
std::size_t |
nodeIndex |
|
) |
| |
Get the nodeIndexth Node of the specified type within the tree of treeIndex.
◆ getNode() [6/6]
template<class NodeType >
const NodeType * dart::dynamics::detail::BasicNodeManagerForSkeleton::getNode |
( |
std::size_t |
treeIndex, |
|
|
std::size_t |
nodeIndex |
|
) |
| const |
Get the nodeIndexth Node of the specified type within the tree of treeIndex.
◆ getNumNodes() [1/2]
template<class NodeType >
std::size_t dart::dynamics::detail::BasicNodeManagerForBodyNode::getNumNodes |
( |
| ) |
const |
Get the number of Nodes corresponding to the specified type.
◆ getNumNodes() [2/2]
template<class NodeType >
std::size_t dart::dynamics::detail::BasicNodeManagerForSkeleton::getNumNodes |
( |
std::size_t |
treeIndex | ) |
const |
Get the number of Nodes of the specified type that are in the treeIndexth tree of this Skeleton.
◆ isSpecializedForNode()
template<class NodeType >
constexpr bool dart::dynamics::detail::BasicNodeManagerForBodyNode::isSpecializedForNode |
( |
| ) |
|
|
staticconstexprinherited |
Check if this Manager is specialized for a specific type of Node.
◆ mNodeDestructors
NodeDestructorSet dart::dynamics::detail::BasicNodeManagerForBodyNode::mNodeDestructors |
|
protectedinherited |
A set for storing the Node destructors.
◆ mNodeMap
NodeMap dart::dynamics::detail::BasicNodeManagerForBodyNode::mNodeMap |
|
protectedinherited |
Map that retrieves the Nodes of a specified type.
◆ mNodeNameMgrMap
NodeNameMgrMap dart::dynamics::detail::BasicNodeManagerForSkeleton::mNodeNameMgrMap |
|
protected |
NameManager for tracking Nodes.
◆ mSpecializedTreeNodes
A map that allows SpecializedNodeManagers to have a direct iterator to the tree-wise storage of its specialized Node.
Each entry in this map contains a pointer to a vector of iterators. Each vector of iterators is stored in its corresponding SpecializedNodeManager. This system allows Node specialization to be extensible, enabling custom derived Skeleton types that are specialized for more than the default specialized Nodes.
◆ mTreeNodeMaps
std::vector<NodeMap> dart::dynamics::detail::BasicNodeManagerForSkeleton::mTreeNodeMaps |
|
protected |
A NodeMap for each tree to allow tree Nodes to be accessed independently.