mc_rbdyn::PlanarSurface Struct Reference

#include <mc_rbdyn/PlanarSurface.h>

Inheritance diagram for mc_rbdyn::PlanarSurface:
Collaboration diagram for mc_rbdyn::PlanarSurface:

Public Member Functions

 PlanarSurface (const std::string &name, const std::string &bodyName, const sva::PTransformd &X_b_s, const std::string &materialName, const std::vector< std::pair< double, double >> &planarPoints)
 
 ~PlanarSurface () override
 
void computePoints () override
 
void planarTransform (const double &T, const double &B, const double &N_rot)
 
const std::vector< std::pair< double, double > > & planarPoints () const
 
void planarPoints (const std::vector< std::pair< double, double >> &planarPoints)
 
std::shared_ptr< Surfacecopy () const override
 
std::string type () const override
 
- Public Member Functions inherited from mc_rbdyn::Surface
 Surface (const std::string &name, const std::string &bodyName, const sva::PTransformd &X_b_s, const std::string &materialName)
 
virtual ~Surface ()
 
const std::string & name () const
 
void name (const std::string &name)
 
const std::string & bodyName () const
 
const std::string & materialName () const
 
const std::vector< sva::PTransformd > & points () const
 
unsigned int bodyIndex (const mc_rbdyn::Robot &robot) const
 
sva::PTransformd X_0_s (const mc_rbdyn::Robot &robot) const
 
sva::PTransformd X_0_s (const mc_rbdyn::Robot &robot, const rbd::MultiBodyConfig &mbc) const
 
const sva::PTransformd & X_b_s () const
 
void X_b_s (const sva::PTransformd &X_b_s)
 
std::string toStr ()
 
bool operator== (const Surface &rhs)
 
bool operator!= (const Surface &rhs)
 

Additional Inherited Members

- Protected Member Functions inherited from mc_rbdyn::Surface
std::vector< sva::PTransformd > & points ()
 

Constructor & Destructor Documentation

◆ PlanarSurface()

mc_rbdyn::PlanarSurface::PlanarSurface ( const std::string &  name,
const std::string &  bodyName,
const sva::PTransformd &  X_b_s,
const std::string &  materialName,
const std::vector< std::pair< double, double >> &  planarPoints 
)

◆ ~PlanarSurface()

mc_rbdyn::PlanarSurface::~PlanarSurface ( )
override

Member Function Documentation

◆ computePoints()

void mc_rbdyn::PlanarSurface::computePoints ( )
overridevirtual

Implements mc_rbdyn::Surface.

◆ copy()

std::shared_ptr<Surface> mc_rbdyn::PlanarSurface::copy ( ) const
overridevirtual

Implements mc_rbdyn::Surface.

◆ planarPoints() [1/2]

const std::vector<std::pair<double, double> >& mc_rbdyn::PlanarSurface::planarPoints ( ) const

◆ planarPoints() [2/2]

void mc_rbdyn::PlanarSurface::planarPoints ( const std::vector< std::pair< double, double >> &  planarPoints)

◆ planarTransform()

void mc_rbdyn::PlanarSurface::planarTransform ( const double &  T,
const double &  B,
const double &  N_rot 
)

◆ type()

std::string mc_rbdyn::PlanarSurface::type ( ) const
overridevirtual

Implements mc_rbdyn::Surface.


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