mbsim  4.0.0
MBSim Kernel
MBSim::OpenMBVArrow Class Reference
Inheritance diagram for MBSim::OpenMBVArrow:
[legend]

Public Types

enum  Type {
  line , fromHead , toHead , bothHeads ,
  fromDoubleHead , toDoubleHead , bothDoubleHeads
}
 
enum  ReferencePoint { toPoint , fromPoint , midPoint }
 
enum  ColorRepresentation { none =0 , absoluteValue }
 

Public Member Functions

 OpenMBVArrow (double sL_=1, double sS_=1, const OpenMBVArrow::Type &type_=OpenMBVArrow::toHead, const OpenMBVArrow::ReferencePoint &refPoint_=OpenMBVArrow::fromPoint, unsigned int cR=0, double minCol=0, double maxCol=1, const fmatvec::Vec3 &dc=fmatvec::Vec3(std::vector< double >{-1, 1, 1}), double tp=0, double ps=0, double lw=0)
 
void initializeUsingXML (xercesc::DOMElement *element)
 
std::shared_ptr< OpenMBV::ArrowcreateOpenMBV ()
 
- Public Member Functions inherited from MBSim::OpenMBVDynamicColoredBody
 OpenMBVDynamicColoredBody (unsigned cR_=0, double minCol_=0, double maxCol_=1, const fmatvec::Vec3 &dc=fmatvec::Vec3(std::vector< double >{-1, 1, 1}), double tp=0, double ps=0, double lw=0)
 
void initializeUsingXML (xercesc::DOMElement *element)
 
unsigned int getColorRepresentation () const
 
- Public Member Functions inherited from MBSim::OpenMBVColoredBody
 OpenMBVColoredBody (const fmatvec::Vec3 &dc_=fmatvec::Vec3(std::vector< double >{-1, 1, 1}), double tp_=0, double ps_=0, double lw_=0)
 
void initializeUsingXML (xercesc::DOMElement *element)
 
template<class T >
std::shared_ptr< T > createOpenMBV ()
 
- Public Member Functions inherited from MBSim::OpenMBVBody
void initializeUsingXML (xercesc::DOMElement *element)
 

Protected Member Functions

void initializeObject (const std::shared_ptr< OpenMBV::Arrow > &object)
 
- Protected Member Functions inherited from MBSim::OpenMBVDynamicColoredBody
void initializeObject (const std::shared_ptr< OpenMBV::DynamicColoredBody > &object)
 
- Protected Member Functions inherited from MBSim::OpenMBVColoredBody
void initializeObject (const std::shared_ptr< OpenMBV::DynamicColoredBody > &object)
 
- Protected Member Functions inherited from MBSim::OpenMBVBody
void initializeObject (const std::shared_ptr< OpenMBV::Body > &object)
 

Protected Attributes

double sL
 
double sS
 
OpenMBVArrow::Type type
 
OpenMBVArrow::ReferencePoint refPoint
 
- Protected Attributes inherited from MBSim::OpenMBVDynamicColoredBody
unsigned int cR
 
double minCol
 
double maxCol
 
std::vector< std::string > cRL
 
- Protected Attributes inherited from MBSim::OpenMBVColoredBody
fmatvec::Vec3 dc
 
double tp
 
double ps
 
double lw
 
- Protected Attributes inherited from MBSim::OpenMBVBody
std::string id
 

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