DART  6.7.3
dart::dynamics::Branch::Criteria Struct Reference

#include <Branch.hpp>

Public Member Functions

 Criteria (BodyNode *_start)
 Constructor. Requires a starting BodyNode. More...
 
std::vector< BodyNode * > satisfy () const
 Return a vector of BodyNodes that form a full subtree, starting from mStart. More...
 
Linkage::Criteria convert () const
 Convert this Criteria into Linkage criteria. More...
 
 operator Linkage::Criteria () const
 Operator for implicit conversion to a Linkage::Criteria. More...
 

Static Public Member Functions

static Criteria convert (const Linkage::Criteria &criteria)
 Converts Linkage::Criteria to Branch::Criteria. More...
 

Public Attributes

WeakBodyNodePtr mStart
 The BodyNode where the Branch starts. More...
 

Constructor & Destructor Documentation

◆ Criteria()

dart::dynamics::Branch::Criteria::Criteria ( BodyNode _start)

Constructor. Requires a starting BodyNode.

Member Function Documentation

◆ convert() [1/2]

Linkage::Criteria dart::dynamics::Branch::Criteria::convert ( ) const

Convert this Criteria into Linkage criteria.

◆ convert() [2/2]

Branch::Criteria dart::dynamics::Branch::Criteria::convert ( const Linkage::Criteria criteria)
static

◆ operator Linkage::Criteria()

dart::dynamics::Branch::Criteria::operator Linkage::Criteria ( ) const

Operator for implicit conversion to a Linkage::Criteria.

◆ satisfy()

std::vector< BodyNode * > dart::dynamics::Branch::Criteria::satisfy ( ) const

Return a vector of BodyNodes that form a full subtree, starting from mStart.

Member Data Documentation

◆ mStart

WeakBodyNodePtr dart::dynamics::Branch::Criteria::mStart

The BodyNode where the Branch starts.