MBSim

Project Page
Public Member Functions | Protected Attributes
MBSim::CompoundContour Class Reference

contour consisting of primitive contour elements More...

#include <compound_contour.h>

Inheritance diagram for MBSim::CompoundContour:
MBSim::RigidContour MBSim::Contour MBSim::Element MBSim::Cuboid MBSim::Room

List of all members.

Public Member Functions

 CompoundContour (const std::string &name="", Frame *R=0)
 constructor
 ~CompoundContour ()
 destructor
std::string getType () const
virtual void plot (double t, double dt)
 plots time dependent data
void init (InitStage stage)
 TODO.
Contour * getContourElement (int i)
Contour * getContour (int i)
void addContour (RigidContour *ce)
void addFrame (FixedRelativeFrame *f)
unsigned int getNumberOfElements ()
void updateKinematicsForFrame (ContourPointData &cp, Frame::Feature ff)
 cartesian kinematic for contour (normal, tangent, binormal) is set by implementation class
void updateJacobiansForFrame (ContourPointData &cp)
virtual void updateStateDependentVariables (double t)
virtual void updateJacobians (double t, int j=0)
virtual void updateStateDerivativeDependentVariables (const fmatvec::Vec &ud, double t)

Protected Attributes

std::vector< RigidContour * > element
 list of all subelements
std::vector< FixedRelativeFrame * > frame
 List of all frames on the contour.
std::vector< fmatvec::SqrMat3 > AIK
 Orientations of the single elements in the contour frame.

Detailed Description

contour consisting of primitive contour elements

Author:
Martin Foerg
Date:
2009-04-20 some comments (Thorsten Schindler)

Constructor & Destructor Documentation

MBSim::CompoundContour::CompoundContour ( const std::string &  name = "",
Frame *  R = 0 
)

constructor

Parameters:
nameof contour

Member Function Documentation

std::string MBSim::CompoundContour::getType ( ) const [inline, virtual]
Returns:
std::string representation

Reimplemented from MBSim::RigidContour.

Reimplemented in MBSim::Cuboid, and MBSim::Room.

virtual void MBSim::CompoundContour::plot ( double  t,
double  dt 
) [virtual]

plots time dependent data

Parameters:
simulationtime
simulationtime step size for derivative calculation

Reimplemented from MBSim::RigidContour.

Reimplemented in MBSim::Cuboid, and MBSim::Room.

cartesian kinematic for contour (normal, tangent, binormal) is set by implementation class

Parameters:
contourparameter
selectionof specific calculations for frames

Reimplemented from MBSim::RigidContour.


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