template<class MyReal>
class collisionobbcapsule::geometry::CapsuleCollisionModel< sofa::defaulttype::StdRigidTypes< 3, MyReal > >
CapsuleCollisionModel templated by RigidTypes (frames), direction is given by Y direction of the frame.
|
| SOFA_CLASS (SOFA_TEMPLATE(CapsuleCollisionModel, SOFA_TEMPLATE2(sofa::defaulttype::StdRigidTypes, 3, MyReal)), core::CollisionModel) |
|
void | init () override |
|
void | resize (sofa::Size size) override |
|
void | computeBoundingTree (int maxDepth=0) override |
|
void | draw (const core::visual::VisualParams *vparams, sofa::Index index) override |
|
core::behavior::MechanicalState< DataTypes > * | getMechanicalState () |
|
Real | radius (sofa::Index index) const |
|
const Coord & | center (sofa::Index i) const |
|
Coord | point1 (sofa::Index index) const |
|
Coord | point2 (sofa::Index index) const |
|
Coord | axis (sofa::Index index) const |
|
const sofa::type::Quat< SReal > | orientation (sofa::Index index) const |
|
Real | height (sofa::Index index) const |
|
sofa::Size | nbCap () const |
|
Real | defaultRadius () const |
|
const Coord & | velocity (sofa::Index index) const |
|
Data< VecReal > & | writeRadii () |
|
| SOFA_ABSTRACT_CLASS (CollisionModel, objectmodel::BaseObject) |
|
void | bwdInit () override |
|
bool | empty () const |
|
Size | getSize () const |
|
bool | getSelfCollision () const |
|
void | setSelfCollision (bool _bSelfCollision) |
|
Size | getNumberOfContacts () const |
|
void | setNumberOfContacts (Size i) |
|
virtual void | resize (Size s) |
|
Iterator | begin () |
|
Iterator | end () |
|
CollisionModel * | getNext () |
|
CollisionModel * | getPrevious () |
|
void | setPrevious (CollisionModel::SPtr val) |
|
virtual bool | isActive () const |
|
virtual void | setActive (bool val=true) |
|
virtual bool | isMoving () const |
|
virtual void | setMoving (bool val=true) |
|
virtual bool | isSimulated () const |
|
virtual void | setSimulated (bool val=true) |
|
virtual void | computeContinuousBoundingTree (SReal, int maxDepth=0) |
|
virtual std::pair< CollisionElementIterator, CollisionElementIterator > | getInternalChildren (Index) const |
|
virtual std::pair< CollisionElementIterator, CollisionElementIterator > | getExternalChildren (Index) const |
|
virtual bool | isLeaf (Index) const |
|
virtual bool | canCollideWith (CollisionModel *model) |
|
virtual bool | canCollideWithElement (Index, CollisionModel *, Index) |
|
virtual void | draw (const core::visual::VisualParams *, Index) |
|
void | draw (const core::visual::VisualParams *vparams) final |
|
CollisionModel * | getFirst () |
|
CollisionModel * | getLast () |
|
DerivedModel * | createPrevious () |
|
virtual sofa::core::topology::BaseMeshTopology * | getCollisionTopology () |
|
const float * | getColor4f () |
|
void | setColor4f (const float *c) |
|
void | setContactDistance (const SReal a) |
|
void | setProximity (const SReal a) |
|
void | setContactResponse (const std::string &a) |
|
int | getEnumType () const |
|
void | SetUserData (void *pUserData) |
|
void * | GetUserData () |
|
bool | insertInNode (objectmodel::BaseNode *node) override |
|
bool | removeInNode (objectmodel::BaseNode *node) override |
|
SReal | getProximity () const |
|
SReal | getContactDistance () const |
|
SReal | getContactStiffness (Index) const |
|
void | setContactStiffness (SReal stiffness) |
|
bool | isContactStiffnessSet () const |
|
SReal | getContactFriction (Index) const |
|
void | setContactFriction (SReal friction) |
|
SReal | getContactRestitution (Index) const |
|
void | setContactRestitution (SReal restitution) |
|
std::string | getContactResponse () const |
|
const std::set< int > & | getGroups () const |
|
void | addGroup (const int groupId) |
|
void | setGroups (const std::set< int > &ids) |
|
SReal | getProximity () const |
|
SReal | getContactDistance () const |
|
SReal | getContactStiffness (Index) const |
|
void | setContactStiffness (SReal stiffness) |
|
bool | isContactStiffnessSet () const |
|
SReal | getContactFriction (Index) const |
|
void | setContactFriction (SReal friction) |
|
SReal | getContactRestitution (Index) const |
|
void | setContactRestitution (SReal restitution) |
|
std::string | getContactResponse () const |
|
const std::set< int > & | getGroups () const |
|
void | addGroup (const int groupId) |
|
void | setGroups (const std::set< int > &ids) |
|
| SOFA_CLASS (BaseObject, Base) |
|
virtual void | computeBBox (const core::ExecParams *, bool=false) |
|
void | setSrc (const std::string &v, std::vector< std::string > *attributeList=nullptr) |
|
void | setSrc (const std::string &v, const BaseObject *loader, std::vector< std::string > *attributeList=nullptr) |
|
Base * | findLinkDestClass (const BaseClass *destType, const std::string &path, const BaseLink *link) override |
|
virtual std::string | getPathName () const override |
|
SReal | getTime () const |
|
const BaseContext * | getContext () const |
|
BaseContext * | getContext () |
|
const BaseObject * | getMaster () const |
|
BaseObject * | getMaster () |
|
const VecSlaves & | getSlaves () const |
|
BaseObject * | getSlave (const std::string &name) const |
|
virtual void | addSlave (BaseObject::SPtr s) |
|
virtual void | removeSlave (BaseObject::SPtr s) |
|
virtual void | handleEvent (Event *) |
|
virtual void | handleTopologyChange () |
|
virtual void | handleTopologyChange (core::topology::Topology *t) |
|
void | parse (BaseObjectDescription *arg) override |
|
virtual void | reinit () |
|
void | updateInternal () |
|
virtual void | storeResetState () |
|
virtual void | reset () |
|
virtual void | cleanup () |
|
SReal | getTime () const |
|
virtual const BaseClass * | getClass () const |
|
void | addDeprecatedAttribute (lifecycle::DeprecatedData *attribute) |
|
void | addUpdateCallback (const std::string &name, std::initializer_list< BaseData * > inputs, std::function< sofa::core::objectmodel::ComponentState(const DataTracker &)> function, std::initializer_list< BaseData * > outputs) |
|
void | addOutputsToCallback (const std::string &name, std::initializer_list< BaseData * > outputs) |
|
const std::string & | getName () const |
|
void | setName (const std::string &n) |
|
void | setName (const std::string &n, int counter) |
|
std::string | getTypeName () const |
|
virtual std::string | getClassName () const |
|
virtual std::string | getTemplateName () const final |
|
std::string | getNameSpaceName () const |
|
void | setDefinitionSourceFileName (const std::string &sourceFileName) |
|
const std::string & | getDefinitionSourceFileName () const |
|
void | setDefinitionSourceFilePos (const int) |
|
int | getDefinitionSourceFilePos () const |
|
void | setInstanciationSourceFileName (const std::string &sourceFileName) |
|
const std::string & | getInstanciationSourceFileName () const |
|
void | setInstanciationSourceFilePos (const int) |
|
int | getInstanciationSourceFilePos () const |
|
void | addMessage (const sofa::helper::logging::Message &m) const |
|
size_t | countLoggedMessages (sofa::helper::logging::Message::TypeSet t=sofa::helper::logging::Message::AnyTypes) const |
|
const std::deque< sofa::helper::logging::Message > & | getLoggedMessages () const |
|
const std::string | getLoggedMessagesAsString (sofa::helper::logging::Message::TypeSet t=sofa::helper::logging::Message::AnyTypes) const |
|
void | clearLoggedMessages () const |
|
bool | notMuted () const |
|
const sofa::core::objectmodel::TagSet & | getTags () const |
|
bool | hasTag (Tag t) const |
|
void | addTag (Tag t) |
|
void | removeTag (Tag t) |
|
ComponentState | getComponentState () const |
|
bool | isComponentStateValid () const |
|
bool | isComponentStateInvalid () const |
|
| SOFA_ATTRIBUTE_DEPRECATED__TOBASECONSTRAINT () virtual const behavior |
|
virtual bool | parseField (const std::string &attribute, const std::string &value) |
|
virtual bool | hasField (const std::string &attribute) const |
|
void | parseFields (const std::list< std::string > &str) |
|
virtual void | parseFields (const std::map< std::string, std::string * > &str) |
|
void | writeDatas (std::map< std::string, std::string * > &str)=delete |
|
void | writeDatas (std::ostream &out, const std::string &separator=" ") |
|
BaseData * | findData (const std::string &name) const |
|
std::vector< BaseData * > | findGlobalField (const std::string &name) const |
|
BaseLink * | findLink (const std::string &name) const |
|
std::vector< BaseLink * > | findLinks (const std::string &name) const |
|
virtual void | updateLinks (bool logErrors=true) |
|
BaseData::BaseInitData | initData (::sofa::core::objectmodel::Data< T > *field, const char *name, const char *help, ::sofa::core::objectmodel::BaseData::DataFlags dataflags) |
|
BaseData::BaseInitData | initData (Data< T > *field, const char *name, const char *help, bool isDisplayed=true, bool isReadOnly=false) |
|
Data< T >::InitData | initData (Data< T > *field, const T &value, const char *name, const char *help, bool isDisplayed=true, bool isReadOnly=false) |
|
void | addData (BaseData *f, const std::string &name) |
|
void | addData (BaseData *f) |
|
void | removeData (BaseData *f) |
|
void | addAlias (BaseData *field, const char *alias) |
|
void | addLink (BaseLink *l) |
|
void | addAlias (BaseLink *link, const char *alias) |
|
const VecData & | getDataFields () const |
|
const MapData & | getDataAliases () const |
|
const VecLink & | getLinks () const |
|
const MapLink & | getLinkAliases () const |
|
virtual bool | findDataLinkDest (BaseData *&ptr, const std::string &path, const BaseLink *link) |
|
bool | findLinkDest (T *&ptr, const std::string &path, const BaseLink *link) |
|
const sofa::core::objectmodel::TagSet & | getTags () const |
|
bool | hasTag (Tag t) const |
|
void | addTag (Tag t) |
|
void | removeTag (Tag t) |
|
ComponentState | getComponentState () const |
|
bool | isComponentStateValid () const |
|
bool | isComponentStateInvalid () const |
|
| SOFA_ATTRIBUTE_DEPRECATED__TOBASECONSTRAINT () virtual const behavior |
|