Drake
PoseBundle< T > Class Template Reference

PoseBundle is a container for a set of poses, represented by an Isometry3, and corresponding velocities, represented by a FrameVelocity. More...

#include <drake/systems/rendering/pose_bundle.h>

Public Member Functions

 PoseBundle (int num_poses)
 
 ~PoseBundle ()
 
int get_num_poses () const
 
const Isometry3< T > & get_pose (int index) const
 
void set_pose (int index, const Isometry3< T > &pose)
 
const FrameVelocity< T > & get_velocity (int index) const
 
void set_velocity (int index, const FrameVelocity< T > &velocity)
 
const std::string & get_name (int index) const
 
void set_name (int index, const std::string &name)
 
int get_model_instance_id (int index) const
 
void set_model_instance_id (int index, int id)
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 PoseBundle (const PoseBundle &)=default
 
PoseBundleoperator= (const PoseBundle &)=default
 
 PoseBundle (PoseBundle &&)=default
 
PoseBundleoperator= (PoseBundle &&)=default
 

Detailed Description

template<typename T>
class drake::systems::rendering::PoseBundle< T >

PoseBundle is a container for a set of poses, represented by an Isometry3, and corresponding velocities, represented by a FrameVelocity.

The poses and velocities are expressed in the world frame: X_WFi, V_WFi. Each pose has a name and a model instance ID. If two poses in the bundle have the same model instance ID, they must not have the same name.

This class is explicitly instantiated for the following scalar types. No other scalar types are supported.

Template Parameters
TThe vector element type, which must be a valid Eigen scalar. Only double and AutoDiffXd are supported.

Constructor & Destructor Documentation

PoseBundle ( const PoseBundle< T > &  )
default
PoseBundle ( PoseBundle< T > &&  )
default
PoseBundle ( int  num_poses)
explicit
~PoseBundle ( )

Member Function Documentation

int get_model_instance_id ( int  index) const

Here is the call graph for this function:

Here is the caller graph for this function:

const std::string & get_name ( int  index) const

Here is the call graph for this function:

Here is the caller graph for this function:

int get_num_poses ( ) const

Here is the caller graph for this function:

const Isometry3< T > & get_pose ( int  index) const

Here is the call graph for this function:

Here is the caller graph for this function:

const FrameVelocity< T > & get_velocity ( int  index) const

Here is the call graph for this function:

Here is the caller graph for this function:

PoseBundle& operator= ( PoseBundle< T > &&  )
default
PoseBundle& operator= ( const PoseBundle< T > &  )
default
void set_model_instance_id ( int  index,
int  id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void set_name ( int  index,
const std::string &  name 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void set_pose ( int  index,
const Isometry3< T > &  pose 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void set_velocity ( int  index,
const FrameVelocity< T > &  velocity 
)

Here is the call graph for this function:

Here is the caller graph for this function:


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