#include <BaseObject.h>
Base class for simulation components. More...
Base class for simulation components.
An object defines a part of the functionality in the simulation (stores state data, specify topology, compute forces, etc). Each simulation object is related to a context, which gives access to all available external data. It is able to process events, if listening enabled (default is false).
Protected Attributes | |
SingleLink< BaseObject, BaseContext, BaseLink::FLAG_DOUBLELINK > | l_context |
LinkSlaves | l_slaves |
SingleLink< BaseObject, BaseObject, BaseLink::FLAG_DOUBLELINK > | l_master |
Protected Attributes inherited from sofa::core::objectmodel::Base | |
std::map< std::string, sofa::core::DataTrackerCallback > | m_internalEngine |
VecData | m_vecData |
List of fields (Data instances) More... | |
MapData | m_aliasData |
name -> Data multi-map (includes names and aliases) More... | |
VecLink | m_vecLink |
List of links. More... | |
MapLink | m_aliasLink |
name -> Link multi-map (includes names and aliases) More... | |
Public Member Functions | |
SOFA_CLASS (BaseObject, Base) | |
virtual void | draw (const core::visual::VisualParams *) |
Render internal data of this object, for debugging purposes. More... | |
virtual void | computeBBox (const core::ExecParams *, bool=false) |
void | setSrc (const std::string &v, std::vector< std::string > *attributeList=nullptr) |
Sets a source Object and parses it to collect dependent Data. More... | |
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 |
Return the full path name of this object. More... | |
virtual bool | insertInNode (BaseNode *) |
virtual bool | removeInNode (BaseNode *) |
data access | |
Access to external data | |
SReal | getTime () const |
Current time. More... | |
Public Member Functions inherited from sofa::core::objectmodel::Base | |
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 |
Accessor to the object name. More... | |
void | setName (const std::string &n) |
Set the name of this object. More... | |
void | setName (const std::string &n, int counter) |
Set the name of this object, adding an integer counter. More... | |
std::string | getTypeName () const |
Get the type name of this object (i.e. class and template types) More... | |
virtual std::string | getClassName () const |
Get the class name of this object. More... | |
virtual std::string | getTemplateName () const final |
Get the template type names (if any) used to instantiate this object. More... | |
std::string | getNameSpaceName () const |
Get the template type names (if any) used to instantiate this object. More... | |
void | setDefinitionSourceFileName (const std::string &sourceFileName) |
Set the source filename (where the component is implemented) More... | |
const std::string & | getDefinitionSourceFileName () const |
Get the source filename (where the component is implemented) More... | |
void | setDefinitionSourceFilePos (const int) |
Set the source location (where the component is implemented) More... | |
int | getDefinitionSourceFilePos () const |
Get the source location (where the component is implemented) More... | |
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 |
Represents the subsets the object belongs to. More... | |
bool | hasTag (Tag t) const |
Return true if the object belong to the given subset. More... | |
void | addTag (Tag t) |
Add a subset qualification to the object. More... | |
void | removeTag (Tag t) |
Remove a subset qualification to the object. More... | |
ComponentState | getComponentState () const |
bool | isComponentStateValid () const |
virtual bool | parseField (const std::string &attribute, const std::string &value) |
Assign one field value (Data or Link) More... | |
virtual bool | hasField (const std::string &attribute) const |
Check if a given Data field or Link exists. More... | |
void | parseFields (const std::list< std::string > &str) |
Assign the field values stored in the given list of name + value pairs of strings. More... | |
virtual void | parseFields (const std::map< std::string, std::string * > &str) |
Assign the field values stored in the given map of name -> value pairs. More... | |
void | writeDatas (std::map< std::string, std::string * > &str) |
Write the current field values to the given map of name -> value pairs. More... | |
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 |
Find data fields given a name: several can be found as we look into the alias map. More... | |
BaseLink * | findLink (const std::string &name) const |
std::vector< BaseLink * > | findLinks (const std::string &name) const |
Find link fields given a name: several can be found as we look into the alias map. More... | |
virtual void | updateLinks (bool logErrors=true) |
Update pointers in case the pointed-to objects have appeared. More... | |
template<class T > | |
BaseData::BaseInitData | initData (::sofa::core::objectmodel::Data< T > *field, const char *name, const char *help, ::sofa::core::objectmodel::BaseData::DataFlags dataflags) |
Helper method used to initialize a data field containing a value of type T. More... | |
template<class T > | |
BaseData::BaseInitData | initData (Data< T > *field, const char *name, const char *help, bool isDisplayed=true, bool isReadOnly=false) |
Helper method used to initialize a data field containing a value of type T. More... | |
template<class T > | |
Data< T >::InitData | initData (Data< T > *field, const T &value, const char *name, const char *help, bool isDisplayed=true, bool isReadOnly=false) |
Helper method used to initialize a data field containing a value of type T. More... | |
void | addData (BaseData *f, const std::string &name) |
void | addData (BaseData *f) |
void | removeData (BaseData *f) |
Remove a data field. More... | |
void | addAlias (BaseData *field, const char *alias) |
Add an alias to a Data. More... | |
void | addLink (BaseLink *l) |
Add a link. More... | |
void | addAlias (BaseLink *link, const char *alias) |
Add an alias to a Link. More... | |
const VecData & | getDataFields () const |
Accessor to the vector containing all the fields of this object. More... | |
const MapData & | getDataAliases () const |
Accessor to the map containing all the aliases of this object. More... | |
const VecLink & | getLinks () const |
Accessor to the vector containing all the fields of this object. More... | |
const MapLink & | getLinkAliases () const |
Accessor to the map containing all the aliases of this object. More... | |
virtual bool | findDataLinkDest (BaseData *&ptr, const std::string &path, const BaseLink *link) |
template<class T > | |
bool | findLinkDest (T *&ptr, const std::string &path, const BaseLink *link) |
Protected Member Functions | |
BaseObject () | |
~BaseObject () override | |
virtual void | doUpdateInternal () |
Implementation of the internal update. More... | |
void | changeContextLink (BaseContext *before, BaseContext *&after) |
void | changeSlavesLink (BaseObject::SPtr ptr, std::size_t, bool add) |
This method insures that slaves objects have master and context links set correctly. More... | |
Protected Member Functions inherited from sofa::core::objectmodel::Base | |
Base () | |
virtual | ~Base () |
void | initData0 (BaseData *field, BaseData::BaseInitData &res, const char *name, const char *help, bool isDisplayed=true, bool isReadOnly=false) |
Helper method used by initData() More... | |
void | initData0 (BaseData *field, BaseData::BaseInitData &res, const char *name, const char *help, BaseData::DataFlags dataFlags) |
Helper method used by initData() More... | |
template<class T > | |
void | initData0 (Data< T > *field, typename Data< T >::InitData &res, const T &value, const char *name, const char *help, bool isDisplayed=true, bool isReadOnly=false) |
Helper method used by initData() More... | |
Friends | |
class | BaseNode |
BaseNode can set the context of its own objects. More... | |
Context accessors | |
typedef sofa::core::objectmodel::MultiLink< BaseObject, BaseObject, BaseLink::FLAG_DOUBLELINK|BaseLink::FLAG_STRONGLINK > | LinkSlaves |
typedef LinkSlaves::Container | VecSlaves |
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) |
events | |
Methods related to Event processing | |
Data< bool > | f_listening |
if true, handle the events, otherwise ignore the events More... | |
virtual void | handleEvent (Event *) |
Handle an event. More... | |
virtual void | handleTopologyChange () |
virtual void | handleTopologyChange (core::topology::Topology *t) |
internalupdate | |
void | trackInternalData (const BaseData &data) |
Method called to add the Data to the DataTracker (listing the Data to track) More... | |
void | cleanTracker () |
bool | hasDataChanged (const BaseData &data) |
Method called to know if a tracked Data has changed. More... | |
control | |
void | parse (BaseObjectDescription *arg) override |
Parse the given description to assign values to this object's fields and potentially other parameters. More... | |
virtual void | init () |
Initialization method called at graph creation and modification, during top-down traversal. More... | |
virtual void | bwdInit () |
Initialization method called at graph creation and modification, during bottom-up traversal. More... | |
virtual void | reinit () |
Update method called when variables used in precomputation are modified. More... | |
void | updateInternal () |
Update method called when variables (used to compute other internal variables) are modified. More... | |
virtual void | storeResetState () |
Save the initial state for later uses in reset() More... | |
virtual void | reset () |
Reset to initial state. More... | |
virtual void | cleanup () |
template<class T > | |
static bool | canCreate (T *, BaseContext *, BaseObjectDescription *) |
Pre-construction check method called by ObjectFactory. More... | |
template<class T > | |
static T::SPtr | create (T *, BaseContext *context, BaseObjectDescription *arg) |
Construction method called by ObjectFactory. More... | |
Additional Inherited Members | |
Public Attributes inherited from sofa::core::objectmodel::Base | |
std::vector< lifecycle::DeprecatedData * > | m_oldAttributes |
Data< int > | d_messageLogCount |
Data< std::string > | name |
Name of the object. More... | |
Data< bool > | f_printLog |
if true, emits extra messages at runtime. More... | |
Data< sofa::core::objectmodel::TagSet > | f_tags |
list of the subsets the object belongs to More... | |
Data< sofa::type::BoundingBox > | f_bbox |
this object bounding box More... | |
Data< sofa::core::objectmodel::ComponentState > | d_componentState |
The state of the component among (Dirty, Valid, Undefined, Loading, Invalid). More... | |
std::string | m_definitionSourceFileName {""} |
int | m_definitionSourceFilePos {-1} |
std::string | m_instanciationSourceFileName {""} |
int | m_instanciationSourceFilePos {-1} |
Static Public Member Functions inherited from sofa::core::objectmodel::Base | |
static const BaseClass * | GetClass () |
template<class T > | |
static std::string | shortName (const T *ptr=nullptr, BaseObjectDescription *=nullptr) |
if true, handle the events, otherwise ignore the events
|
protected |
|
protected |
|
protected |
|
protected |
|
overrideprotected |
|
virtual |
|
virtual |
Initialization method called at graph creation and modification, during bottom-up traversal.
Reimplemented in sofa::gl::component::shader::OrderIndependentTransparencyManager, sofa::gl::component::shader::LightManager, sofa::core::CollisionModel, sofa::component::visual::BaseCamera, sofa::component::solidmechanics::spring::VectorSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::RestShapeSpringsForceField< DataTypes >, sofa::component::solidmechanics::spring::PolynomialSpringsForceField< DataTypes >, sofa::component::solidmechanics::spring::PolynomialRestShapeSpringsForceField< DataTypes >, sofa::component::solidmechanics::spring::JointSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::GearSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::AngularSpringForceField< DataTypes >, sofa::component::playback::ReadState, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< sofa::defaulttype::StdVectorTypes >, sofa::component::constraint::lagrangian::correction::PrecomputedConstraintCorrection< TDataTypes >, sofa::component::constraint::lagrangian::correction::GenericConstraintCorrection, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< sofa::defaulttype::StdVectorTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< DataTypes >, and sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< sofa::defaulttype::StdVectorTypes >.
|
inlinestatic |
Pre-construction check method called by ObjectFactory.
|
protected |
This method insures that context is never nullptr (using BaseContext::getDefault() instead) and that all slaves of an object share its context
|
protected |
This method insures that slaves objects have master and context links set correctly.
|
protected |
|
virtual |
Called just before deleting this object Any object in the tree below this object that are to be removed will be removed only after this call, so any references this object holds should still be valid.
Reimplemented in sofa::gui::component::performer::BaseMouseInteractor, sofa::core::behavior::ConstraintCorrection< TDataTypes >, sofa::component::sceneutility::BaseAddResourceRepository, sofa::component::odesolver::backward::EulerImplicitSolver, sofa::component::constraint::lagrangian::solver::GenericConstraintSolver, sofa::component::constraint::lagrangian::solver::ConstraintSolverImpl, sofa::component::constraint::lagrangian::correction::GenericConstraintCorrection, sofa::component::collision::response::contact::StickContactConstraint< TCollisionModel1, TCollisionModel2 >, sofa::component::collision::response::contact::FrictionContact< TCollisionModel1, TCollisionModel2, ResponseDataTypes >, sofa::component::collision::response::contact::CollisionResponse, sofa::component::collision::response::contact::BarycentricStickContact< TCollisionModel1, TCollisionModel2, ResponseDataTypes >, and sofa::component::collision::response::contact::BarycentricPenalityContact< TCollisionModel1, TCollisionModel2, ResponseDataTypes >.
|
inlinevirtual |
Bounding Box computation method. Default to empty method.
Reimplemented in sofa::component::visual::VisualModelImpl, sofa::component::solidmechanics::spring::JointSpringForceField< DataTypes >, sofa::core::State< TDataTypes >, sofa::core::State< In >, sofa::core::State< Out >, sofa::core::State< InRoot >, sofa::core::State< DataTypes >, sofa::core::behavior::StateAccessor, sofa::component::topology::container::dynamic::PointSetGeometryAlgorithms< DataTypes >, sofa::component::statecontainer::MechanicalObject< DataTypes >, sofa::component::statecontainer::MechanicalObject< T >, sofa::component::solidmechanics::spring::SpringForceField< DataTypes >, sofa::component::engine::select::SubsetTopology< DataTypes >, sofa::component::collision::geometry::TriangleCollisionModel< TDataTypes >, sofa::component::collision::geometry::TriangleCollisionModel< sofa::defaulttype::Vec3Types >, sofa::component::collision::geometry::SphereCollisionModel< TDataTypes >, sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangularFEMForceFieldOptim< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangleFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TetrahedronFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TetrahedralCorotationalFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedronFEMForceField< DataTypes >, sofa::component::mapping::nonlinear::DistanceMapping< TIn, TOut >, sofa::component::engine::transform::SmoothMeshEngine< DataTypes >, sofa::component::constraint::projective::FixedProjectiveConstraint< DataTypes >, sofa::component::collision::geometry::PointCollisionModel< TDataTypes >, sofa::component::collision::geometry::PointCollisionModel< sofa::defaulttype::StdVectorTypes >, sofa::component::collision::geometry::LineCollisionModel< TDataTypes >, sofa::component::engine::select::BaseROI< DataTypes >, and sofa::component::mechanicalload::PlaneForceField< DataTypes >.
|
inlinestatic |
Construction method called by ObjectFactory.
|
protectedvirtual |
Implementation of the internal update.
Reimplemented in sofa::component::mass::MeshMatrixMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, and sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >.
|
inlinevirtual |
Render internal data of this object, for debugging purposes.
Reimplemented in sofa::component::constraint::projective::FixedPlaneProjectiveConstraint< DataTypes >, sofa::component::mass::UniformMass< DataTypes >, sofa::component::mass::UniformMass< DataTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::visual::VisualTransform, sofa::gui::component::performer::BaseMouseInteractor, sofa::gl::component::shader::VisualManagerPass, sofa::gl::component::shader::OrderIndependentTransparencyManager, sofa::gl::component::shader::LightManager, sofa::gl::component::shader::SpotLight, sofa::gl::component::shader::PositionalLight, sofa::gl::component::shader::DirectionalLight, sofa::gl::component::rendering2d::OglViewport, sofa::gl::component::engine::TextureInterpolation< DataTypes >, sofa::core::collision::NarrowPhaseDetection, sofa::component::visual::RecordedCamera, sofa::component::topology::utility::TopologyChecker, sofa::component::topology::utility::TopologyBoundingTrasher< DataTypes >, sofa::component::topology::utility::TopologicalChangeProcessor, sofa::component::topology::container::dynamic::TriangleSetGeometryAlgorithms< DataTypes >, sofa::component::topology::container::dynamic::TetrahedronSetGeometryAlgorithms< DataTypes >, sofa::component::topology::container::dynamic::QuadSetGeometryAlgorithms< DataTypes >, sofa::component::topology::container::dynamic::PointSetGeometryAlgorithms< DataTypes >, sofa::component::topology::container::dynamic::HexahedronSetGeometryAlgorithms< DataTypes >, sofa::component::topology::container::dynamic::EdgeSetGeometryAlgorithms< DataTypes >, sofa::component::topology::container::constant::MeshTopology, sofa::component::statecontainer::MechanicalObject< DataTypes >, sofa::component::statecontainer::MechanicalObject< T >, sofa::component::solidmechanics::tensormass::TriangularTensorMassForceField< DataTypes >, sofa::component::solidmechanics::tensormass::TetrahedralTensorMassForceField< DataTypes >, sofa::component::solidmechanics::spring::VectorSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::TriangularQuadraticSpringsForceField< DataTypes >, sofa::component::solidmechanics::spring::TriangularBiquadraticSpringsForceField< DataTypes >, sofa::component::solidmechanics::spring::TriangularBendingSprings< DataTypes >, sofa::component::solidmechanics::spring::SpringForceField< DataTypes >, sofa::component::solidmechanics::spring::RestShapeSpringsForceField< DataTypes >, sofa::component::solidmechanics::spring::RegularGridSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::QuadularBendingSprings< DataTypes >, sofa::component::solidmechanics::spring::PolynomialSpringsForceField< DataTypes >, sofa::component::solidmechanics::spring::PolynomialRestShapeSpringsForceField< DataTypes >, sofa::component::solidmechanics::spring::MeshSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::JointSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::GearSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::FrameSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::FastTriangularBendingSprings< _DataTypes >, sofa::component::solidmechanics::spring::AngularSpringForceField< DataTypes >, sofa::component::solidmechanics::fem::nonuniform::HexahedronCompositeFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::hyperelastic::StandardTetrahedralFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangularFEMForceFieldOptim< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangularAnisotropicFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangleFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TetrahedronFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TetrahedralCorotationalFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedronFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedronFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedralFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedralFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::FastTetrahedralCorotationalForceField< DataTypes >, sofa::component::playback::CompareState, sofa::component::mechanicalload::TrianglePressureForceField< DataTypes >, sofa::component::mechanicalload::TrianglePressureForceField< T >, sofa::component::mechanicalload::TaitSurfacePressureForceField< DataTypes >, sofa::component::mechanicalload::SurfacePressureForceField< DataTypes >, sofa::component::mechanicalload::SphereForceField< DataTypes >, sofa::component::mechanicalload::QuadPressureForceField< DataTypes >, sofa::component::mechanicalload::PlaneForceField< DataTypes >, sofa::component::mechanicalload::OscillatingTorsionPressureForceField< DataTypes >, sofa::component::mechanicalload::InteractionEllipsoidForceField< TDataTypes1, TDataTypes2 >, sofa::component::mechanicalload::EllipsoidForceField< DataTypes >, sofa::component::mechanicalload::EdgePressureForceField< DataTypes >, sofa::component::mechanicalload::ConstantForceField< DataTypes >, sofa::component::mechanicalload::ConicalForceField< DataTypes >, sofa::component::mass::UniformMass< DataTypes >, sofa::component::mass::MeshMatrixMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mapping::nonlinear::SquareDistanceMapping< TIn, TOut >, sofa::component::mapping::nonlinear::RigidMapping< TIn, TOut >, sofa::component::mapping::nonlinear::DistanceMultiMapping< TIn, TOut >, sofa::component::mapping::nonlinear::DistanceMapping< TIn, TOut >, sofa::component::mapping::nonlinear::DistanceFromTargetMapping< TIn, TOut >, sofa::component::engine::transform::TransformPosition< DataTypes >, sofa::component::engine::transform::SmoothMeshEngine< DataTypes >, sofa::component::engine::select::ValuesFromPositions< DataTypes >, sofa::component::engine::select::SubsetTopology< DataTypes >, sofa::component::engine::select::ProximityROI< DataTypes >, sofa::component::engine::select::PlaneROI< DataTypes >, sofa::component::engine::select::NearestPointROI< DataTypes >, sofa::component::engine::select::MeshSampler< DataTypes >, sofa::component::engine::generate::Spiral< DataTypes >, sofa::component::engine::generate::RandomPointDistributionInSurface< DataTypes >, sofa::component::engine::generate::MeshTetraStuffing, sofa::component::engine::generate::MeshBarycentricMapperEngine< DataTypes >, sofa::component::engine::generate::ExtrudeSurface< DataTypes >, sofa::component::engine::analyze::ShapeMatching< DataTypes >, sofa::component::engine::analyze::Distances< DataTypes >, sofa::component::engine::analyze::ClusteringEngine< DataTypes >, sofa::component::constraint::projective::SkeletalMotionProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::PointProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::PlaneProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::PatchTestMovementProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::ParabolicProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::LineProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::LinearVelocityProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::LinearMovementProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::HermiteSplineProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::FixedTranslationProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::FixedRotationProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::FixedProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::DirectionProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::AttachProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::AffineMovementProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::AffineMovementProjectiveConstraint< T >, sofa::component::constraint::lagrangian::solver::LCPConstraintSolver, sofa::component::constraint::lagrangian::model::UnilateralLagrangianConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::UnilateralLagrangianConstraint< sofa::defaulttype::StdVectorTypes >, sofa::component::constraint::lagrangian::model::SlidingLagrangianConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< sofa::defaulttype::StdVectorTypes >, sofa::component::constraint::lagrangian::correction::PrecomputedConstraintCorrection< TDataTypes >, sofa::component::collision::response::contact::PenalityContactForceField< DataTypes >, sofa::component::collision::response::contact::CollisionResponse, sofa::component::collision::response::contact::BarycentricStickContact< TCollisionModel1, TCollisionModel2, ResponseDataTypes >, sofa::component::collision::response::contact::BarycentricPenalityContact< TCollisionModel1, TCollisionModel2, ResponseDataTypes >, sofa::component::collision::geometry::TriangleOctreeModel, sofa::component::collision::geometry::TriangleCollisionModel< TDataTypes >, sofa::component::collision::geometry::TriangleCollisionModel< sofa::defaulttype::Vec3Types >, sofa::component::collision::geometry::TetrahedronCollisionModel, sofa::component::collision::geometry::SphereCollisionModel< TDataTypes >, sofa::component::collision::geometry::RayCollisionModel, sofa::component::collision::geometry::PointCollisionModel< TDataTypes >, sofa::component::collision::geometry::PointCollisionModel< sofa::defaulttype::StdVectorTypes >, sofa::component::collision::geometry::LineCollisionModel< TDataTypes >, sofa::component::collision::geometry::CylinderCollisionModel< TDataTypes >, sofa::component::collision::geometry::CubeCollisionModel, sofa::component::engine::select::BaseROI< DataTypes >, sofa::component::statecontainer::MechanicalObject< DataTypes >, sofa::component::statecontainer::MechanicalObject< T >, sofa::component::statecontainer::MechanicalObject< DataTypes >, sofa::component::statecontainer::MechanicalObject< T >, sofa::component::mass::UniformMass< DataTypes >, sofa::component::mass::UniformMass< DataTypes >, sofa::component::mass::UniformMass< DataTypes >, sofa::component::mass::UniformMass< DataTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::constraint::lagrangian::correction::PrecomputedConstraintCorrection< TDataTypes >, sofa::component::constraint::lagrangian::correction::PrecomputedConstraintCorrection< TDataTypes >, sofa::core::CollisionModel, sofa::component::visual::BaseCamera, sofa::component::solidmechanics::spring::QuadBendingSprings< DataTypes >, sofa::component::haptics::LCPForceFeedback< TDataTypes >, sofa::component::engine::select::PairBoxROI< DataTypes >, sofa::component::engine::generate::ExtrudeQuadsAndGenerateHexas< DataTypes >, sofa::component::diffusion::TetrahedronDiffusionFEMForceField< DataTypes >, sofa::component::constraint::projective::PartialLinearMovementProjectiveConstraint< TDataTypes >, sofa::component::collision::detection::algorithm::DirectSAPNarrowPhase, sofa::component::constraint::lagrangian::correction::PrecomputedConstraintCorrection< TDataTypes >, and sofa::component::constraint::lagrangian::correction::PrecomputedConstraintCorrection< TDataTypes >.
|
overridevirtual |
Reimplemented from sofa::core::objectmodel::Base.
BaseContext * sofa::core::objectmodel::BaseObject::getContext | ( | ) |
const BaseContext * sofa::core::objectmodel::BaseObject::getContext | ( | ) | const |
BaseObject * sofa::core::objectmodel::BaseObject::getMaster | ( | ) |
const BaseObject * sofa::core::objectmodel::BaseObject::getMaster | ( | ) | const |
|
overridevirtual |
Return the full path name of this object.
Reimplemented from sofa::core::objectmodel::Base.
BaseObject * sofa::core::objectmodel::BaseObject::getSlave | ( | const std::string & | name | ) | const |
const BaseObject::VecSlaves & sofa::core::objectmodel::BaseObject::getSlaves | ( | ) | const |
SReal sofa::core::objectmodel::BaseObject::getTime | ( | ) | const |
Current time.
|
virtual |
Handle an event.
Reimplemented in sofa::gl::component::shader::PostProcessManager, sofa::gl::component::shader::LightManager, sofa::component::visual::BaseCamera, sofa::component::topology::utility::TopologyChecker, sofa::component::topology::utility::TopologyBoundingTrasher< DataTypes >, sofa::component::topology::utility::TopologicalChangeProcessor, sofa::component::sceneutility::PauseAnimationOnEvent, sofa::component::playback::WriteTopology, sofa::component::playback::WriteState, sofa::component::playback::ReadTopology, sofa::component::playback::ReadState, sofa::component::playback::CompareTopology, sofa::component::playback::CompareState, sofa::component::mass::MeshMatrixMass< DataTypes, GeometricalTypes >, sofa::component::io::mesh::OffSequenceLoader, sofa::component::haptics::LCPForceFeedback< TDataTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< sofa::defaulttype::StdVectorTypes >, sofa::gl::component::shader::VisualManagerPass, sofa::component::visual::RecordedCamera, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::solidmechanics::fem::elastic::TetrahedronFEMForceField< DataTypes >, sofa::component::playback::InputEventReader, sofa::component::mechanicalload::TaitSurfacePressureForceField< DataTypes >, sofa::component::engine::analyze::HausdorffDistance< DataTypes >, sofa::component::engine::analyze::AverageCoord< DataTypes >, sofa::component::collision::response::contact::ContactListener, sofa::gui::component::performer::BaseMouseInteractor, sofa::gl::component::rendering2d::OglLabel, sofa::component::visual::TrailRenderer< DataTypes >, and sofa::component::controller::Controller.
|
inlinevirtual |
Handle topological Changes
Reimplemented in sofa::gl::component::shader::OglShaderVisualModel, sofa::component::solidmechanics::fem::elastic::TetrahedronFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedronFEMForceField< DataTypes >, sofa::component::constraint::projective::PositionBasedDynamicsProjectiveConstraint< DataTypes >, and sofa::component::collision::geometry::LineCollisionModel< TDataTypes >.
|
virtual |
Handle topological Changes from a given Topology
Reimplemented in sofa::component::solidmechanics::fem::nonuniform::NonUniformHexahedralFEMForceFieldAndMass< DataTypes >.
Method called to know if a tracked Data has changed.
|
virtual |
Initialization method called at graph creation and modification, during top-down traversal.
Reimplemented in sofa::component::collision::response::contact::ContactListener, sofa::gui::component::performer::MouseInteractor< DataTypes >, sofa::gl::component::shader::VisualManagerSecondaryPass, sofa::gl::component::shader::VisualManagerPass, sofa::gl::component::shader::PostProcessManager, sofa::gl::component::shader::OrderIndependentTransparencyManager, sofa::gl::component::shader::OglMatrix4VectorVariable, sofa::gl::component::shader::OglMatrix4x3Variable, sofa::gl::component::shader::OglMatrix3x4Variable, sofa::gl::component::shader::OglMatrix4x2Variable, sofa::gl::component::shader::OglMatrix2x4Variable, sofa::gl::component::shader::OglMatrix3x2Variable, sofa::gl::component::shader::OglMatrix2x3Variable, sofa::gl::component::shader::OglMatrix4Variable, sofa::gl::component::shader::OglMatrix3Variable, sofa::gl::component::shader::OglMatrix2Variable, sofa::gl::component::shader::OglFloatVector4Variable, sofa::gl::component::shader::OglFloatVector3Variable, sofa::gl::component::shader::OglFloatVector2Variable, sofa::gl::component::shader::OglFloatVectorVariable, sofa::gl::component::shader::OglIntVector4Variable, sofa::gl::component::shader::OglIntVector3Variable, sofa::gl::component::shader::OglIntVector2Variable, sofa::gl::component::shader::OglIntVectorVariable, sofa::gl::component::shader::OglVariable< DataTypes >, sofa::gl::component::shader::OglVariable< type::vector< type::Vec2f > >, sofa::gl::component::shader::OglVariable< type::Vec2f >, sofa::gl::component::shader::OglVariable< type::vector< type::Vec3f > >, sofa::gl::component::shader::OglVariable< type::Vec3f >, sofa::gl::component::shader::OglVariable< type::vector< float > >, sofa::gl::component::shader::OglVariable< type::vector< type::Vec4f > >, sofa::gl::component::shader::OglVariable< type::Vec4f >, sofa::gl::component::shader::OglVariable< float >, sofa::gl::component::shader::OglVariable< type::vector< GLint > >, sofa::gl::component::shader::OglVariable< int >, sofa::gl::component::shader::OglVariable< type::Vec< 2, int > >, sofa::gl::component::shader::OglVariable< type::vector< type::Mat4x4f > >, sofa::gl::component::shader::OglVariable< type::Vec< 3, int > >, sofa::gl::component::shader::OglVariable< type::Vec< 4, int > >, sofa::gl::component::shader::OglTexturePointer, sofa::gl::component::shader::OglTexture2D, sofa::gl::component::shader::OglTexture, sofa::gl::component::shader::OglShadowShader, sofa::gl::component::shader::OglShaderVisualModel, sofa::gl::component::shader::OglShaderDefineMacro, sofa::gl::component::shader::OglShaderMacro, sofa::gl::component::shader::OglShaderElement, sofa::gl::component::shader::OglShader, sofa::gl::component::shader::OglAttribute< size, type, TDataTypes >, sofa::gl::component::shader::OglAttribute< 1, GL_FLOAT, float >, sofa::gl::component::shader::OglAttribute< 3, GL_UNSIGNED_INT, sofa::type::Vec< 3, unsigned int > >, sofa::gl::component::shader::OglAttribute< 2, GL_UNSIGNED_INT, sofa::type::Vec< 2, unsigned int > >, sofa::gl::component::shader::OglAttribute< 4, GL_INT, sofa::type::Vec< 4, int > >, sofa::gl::component::shader::OglAttribute< 3, GL_FLOAT, sofa::type::Vec< 3, float > >, sofa::gl::component::shader::OglAttribute< 4, GL_FLOAT, sofa::type::Vec< 4, float > >, sofa::gl::component::shader::OglAttribute< 2, GL_FLOAT, sofa::type::Vec< 2, float > >, sofa::gl::component::shader::OglAttribute< 3, GL_INT, sofa::type::Vec< 3, int > >, sofa::gl::component::shader::OglAttribute< 2, GL_INT, sofa::type::Vec< 2, int > >, sofa::gl::component::shader::OglAttribute< 1, GL_INT, int >, sofa::gl::component::shader::OglAttribute< 1, GL_UNSIGNED_INT, unsigned int >, sofa::gl::component::shader::OglAttribute< 4, GL_UNSIGNED_INT, sofa::type::Vec< 4, unsigned int > >, sofa::gl::component::shader::LightManager, sofa::gl::component::shader::Light, sofa::gl::component::shader::CompositingVisualLoop, sofa::gl::component::rendering3d::SlicedVolumetricModel, sofa::gl::component::rendering3d::PointSplatModel, sofa::gl::component::rendering3d::OglModel, sofa::gl::component::rendering3d::OglCylinderModel, sofa::gl::component::rendering3d::MergeVisualModels, sofa::gl::component::rendering3d::DataDisplay, sofa::gl::component::rendering3d::ClipPlane, sofa::gl::component::rendering2d::OglViewport, sofa::gl::component::rendering2d::OglLabel, sofa::gl::component::rendering2d::OglColorMap, sofa::gl::component::engine::TextureInterpolation< DataTypes >, sofa::simulation::PipelineImpl, sofa::simulation::DefaultVisualManagerLoop, sofa::simulation::DefaultAnimationLoop, sofa::core::topology::TopologyContainer, sofa::core::topology::TopologyModifier, sofa::core::topology::GeometryAlgorithms, sofa::core::topology::BaseMeshTopology, sofa::core::objectmodel::ConfigurationSetting, sofa::core::MultiMapping< TIn, TOut >, sofa::core::MultiMapping< In, Out >, sofa::core::Multi2Mapping< TIn1, TIn2, TOut >, sofa::core::Mapping< TIn, TOut >, sofa::core::Mapping< In, Out >, sofa::core::Mapping< defaulttype::Vec3Types, DataTypes >, sofa::core::loader::MeshLoader, sofa::core::behavior::SingleStateAccessor< DataTypes >, sofa::core::behavior::SingleStateAccessor< TDataTypes >, sofa::core::behavior::PairStateAccessor< DataTypes1, DataTypes2 >, sofa::core::behavior::PairStateAccessor< TDataTypes >, sofa::core::behavior::PairStateAccessor< TDataTypes1, TDataTypes2 >, sofa::core::behavior::PairStateAccessor< DataTypes, DataTypes >, sofa::core::behavior::LinearSolverAccessor, sofa::core::behavior::ConstraintCorrection< TDataTypes >, sofa::core::behavior::Constraint< DataTypes >, sofa::core::behavior::BaseAnimationLoop, sofa::component::visual::VisualModelImpl, sofa::component::visual::VisualGrid, sofa::component::visual::Visual3DText, sofa::component::visual::RecordedCamera, sofa::component::visual::LineAxis, sofa::component::visual::BaseCamera, sofa::component::topology::utility::TopologyChecker, sofa::component::topology::utility::TopologyBoundingTrasher< DataTypes >, sofa::component::topology::utility::TopologicalChangeProcessor, sofa::component::topology::mapping::Triangle2EdgeTopologicalMapping, sofa::component::topology::mapping::Tetra2TriangleTopologicalMapping, sofa::component::topology::mapping::SubsetTopologicalMapping, sofa::component::topology::mapping::Quad2TriangleTopologicalMapping, sofa::component::topology::mapping::IdentityTopologicalMapping, sofa::component::topology::mapping::Hexa2TetraTopologicalMapping, sofa::component::topology::mapping::Hexa2QuadTopologicalMapping, sofa::component::topology::mapping::Edge2QuadTopologicalMapping, sofa::component::topology::mapping::CenterPointTopologicalMapping, sofa::component::topology::container::grid::SparseGridTopology, sofa::component::topology::container::grid::SparseGridRamificationTopology, sofa::component::topology::container::grid::SparseGridMultipleTopology, sofa::component::topology::container::grid::RegularGridTopology, sofa::component::topology::container::grid::GridTopology, sofa::component::topology::container::dynamic::TriangleSetTopologyModifier, sofa::component::topology::container::dynamic::TriangleSetTopologyContainer, sofa::component::topology::container::dynamic::TriangleSetGeometryAlgorithms< DataTypes >, sofa::component::topology::container::dynamic::TetrahedronSetTopologyModifier, sofa::component::topology::container::dynamic::TetrahedronSetTopologyContainer, sofa::component::topology::container::dynamic::TetrahedronSetGeometryAlgorithms< DataTypes >, sofa::component::topology::container::dynamic::QuadSetTopologyModifier, sofa::component::topology::container::dynamic::QuadSetTopologyContainer, sofa::component::topology::container::dynamic::PointSetTopologyModifier, sofa::component::topology::container::dynamic::PointSetTopologyContainer, sofa::component::topology::container::dynamic::PointSetGeometryAlgorithms< DataTypes >, sofa::component::topology::container::dynamic::MultilevelHexahedronSetTopologyContainer, sofa::component::topology::container::dynamic::HexahedronSetTopologyModifier, sofa::component::topology::container::dynamic::HexahedronSetTopologyContainer, sofa::component::topology::container::dynamic::EdgeSetTopologyModifier, sofa::component::topology::container::dynamic::EdgeSetTopologyContainer, sofa::component::topology::container::dynamic::DynamicSparseGridTopologyModifier, sofa::component::topology::container::dynamic::DynamicSparseGridTopologyContainer, sofa::component::topology::container::dynamic::DynamicSparseGridGeometryAlgorithms< DataTypes >, sofa::component::topology::container::constant::MeshTopology, sofa::component::topology::container::constant::CubeTopology, sofa::component::statecontainer::MechanicalObject< DataTypes >, sofa::component::statecontainer::MechanicalObject< T >, sofa::component::statecontainer::MappedObject< DataTypes >, sofa::component::solidmechanics::tensormass::TriangularTensorMassForceField< DataTypes >, sofa::component::solidmechanics::tensormass::TetrahedralTensorMassForceField< DataTypes >, sofa::component::solidmechanics::spring::VectorSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::TriangularQuadraticSpringsForceField< DataTypes >, sofa::component::solidmechanics::spring::TriangularBiquadraticSpringsForceField< DataTypes >, sofa::component::solidmechanics::spring::TriangularBendingSprings< DataTypes >, sofa::component::solidmechanics::spring::TriangleBendingSprings< DataTypes >, sofa::component::solidmechanics::spring::SpringForceField< DataTypes >, sofa::component::solidmechanics::spring::RegularGridSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::QuadularBendingSprings< DataTypes >, sofa::component::solidmechanics::spring::QuadBendingSprings< DataTypes >, sofa::component::solidmechanics::spring::MeshSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::JointSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::GearSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::FrameSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::FastTriangularBendingSprings< _DataTypes >, sofa::component::solidmechanics::fem::nonuniform::NonUniformHexahedronFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::nonuniform::NonUniformHexahedralFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::nonuniform::HexahedronCompositeFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::hyperelastic::TetrahedronHyperelasticityFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::hyperelastic::StandardTetrahedralFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::hyperelastic::material::BaseMaterial, sofa::component::solidmechanics::fem::elastic::TriangularFEMForceFieldOptim< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangularAnisotropicFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangleFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TetrahedronFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TetrahedralCorotationalFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::QuadBendingFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedronFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedronFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedralFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedralFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::FastTetrahedralCorotationalForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::BaseLinearElasticityFEMForceField< DataTypes >, sofa::component::sceneutility::PauseAnimationOnEvent, sofa::component::sceneutility::PauseAnimation, sofa::component::playback::WriteTopology, sofa::component::playback::WriteState, sofa::component::playback::ReadTopology, sofa::component::playback::ReadState, sofa::component::playback::InputEventReader, sofa::component::odesolver::forward::EulerExplicitSolver, sofa::component::odesolver::backward::VariationalSymplecticSolver, sofa::component::odesolver::backward::EulerImplicitSolver, sofa::component::mechanicalload::TrianglePressureForceField< DataTypes >, sofa::component::mechanicalload::TrianglePressureForceField< T >, sofa::component::mechanicalload::TaitSurfacePressureForceField< DataTypes >, sofa::component::mechanicalload::SurfacePressureForceField< DataTypes >, sofa::component::mechanicalload::QuadPressureForceField< DataTypes >, sofa::component::mechanicalload::PlaneForceField< DataTypes >, sofa::component::mechanicalload::OscillatingTorsionPressureForceField< DataTypes >, sofa::component::mechanicalload::LinearForceField< DataTypes >, sofa::component::mechanicalload::InteractionEllipsoidForceField< TDataTypes1, TDataTypes2 >, sofa::component::mechanicalload::EdgePressureForceField< DataTypes >, sofa::component::mechanicalload::ConstantForceField< DataTypes >, sofa::component::mass::UniformMass< DataTypes >, sofa::component::mass::MeshMatrixMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mapping::nonlinear::VolumeMapping< TIn, TOut >, sofa::component::mapping::nonlinear::SquareDistanceMapping< TIn, TOut >, sofa::component::mapping::nonlinear::RigidMapping< TIn, TOut >, sofa::component::mapping::nonlinear::DistanceMultiMapping< TIn, TOut >, sofa::component::mapping::nonlinear::DistanceMapping< TIn, TOut >, sofa::component::mapping::nonlinear::DistanceFromTargetMapping< TIn, TOut >, sofa::component::mapping::nonlinear::BaseNonLinearMapping< TIn, TOut, HasStabilizedGeometricStiffness >, sofa::component::mapping::nonlinear::BaseNonLinearMapping< TIn, TOut, true >, sofa::component::mapping::nonlinear::BaseNonLinearMapping< TIn, TOut, false >, sofa::component::mapping::nonlinear::AreaMapping< TIn, TOut >, sofa::component::mapping::linear::SimpleTesselatedTetraTopologicalMapping, sofa::component::mapping::linear::SimpleTesselatedHexaTopologicalMapping, sofa::component::mapping::linear::Mesh2PointTopologicalMapping, sofa::component::linearsystem::ConstantSparsityProjectionMethod< TMatrix >, sofa::component::linearsystem::CompositeLinearSystem< TMatrix, TVector >, sofa::component::linearsolver::MatrixLinearSolver< Matrix, Vector, NoThreadManager >, sofa::component::io::mesh::VoxelGridLoader, sofa::component::io::mesh::OffSequenceLoader, sofa::component::haptics::NullForceFeedbackT< TDataTypes >, sofa::component::haptics::NullForceFeedback, sofa::component::haptics::MechanicalStateForceFeedback< TDataTypes >, sofa::component::haptics::LCPForceFeedback< TDataTypes >, sofa::component::haptics::ForceFeedback, sofa::component::engine::transform::Vertex2Frame< DataTypes >, sofa::component::engine::transform::TransformPosition< DataTypes >, sofa::component::engine::transform::ScaleTransformMatrixEngine, sofa::component::engine::transform::RotateTransformMatrixEngine, sofa::component::engine::transform::TranslateTransformMatrixEngine, sofa::component::engine::transform::AbstractTransformMatrixEngine, sofa::component::engine::transform::TransformEngine< DataTypes >, sofa::component::engine::transform::SmoothMeshEngine< DataTypes >, sofa::component::engine::transform::ROIValueMapper, sofa::component::engine::transform::RigidToQuatEngine< DataTypes >, sofa::component::engine::transform::QuatToRigidEngine< DataTypes >, sofa::component::engine::transform::ProjectiveTransformEngine< DataTypes >, sofa::component::engine::transform::MathOp< VecT >, sofa::component::engine::transform::MapIndices< T >, sofa::component::engine::transform::Indices2ValuesMapper< DataTypes >, sofa::component::engine::transform::IndexValueMapper< DataTypes >, sofa::component::engine::transform::DisplacementMatrixEngine< DataTypes >, sofa::component::engine::transform::DisplacementTransformEngine< DataTypes, OutputType >, sofa::component::engine::transform::DisplacementTransformEngine< DataTypes, type::Mat4x4 >, sofa::component::engine::transform::DilateEngine< DataTypes >, sofa::component::engine::transform::DifferenceEngine< TDataType >, sofa::component::engine::select::ValuesFromPositions< DataTypes >, sofa::component::engine::select::ValuesFromIndices< T >, sofa::component::engine::select::SubsetTopology< DataTypes >, sofa::component::engine::select::SelectLabelROI< _T >, sofa::component::engine::select::SelectConnectedLabelsROI< _T >, sofa::component::engine::select::ProximityROI< DataTypes >, sofa::component::engine::select::PointsFromIndices< DataTypes >, sofa::component::engine::select::PlaneROI< DataTypes >, sofa::component::engine::select::PairBoxROI< DataTypes >, sofa::component::engine::select::NearestPointROI< DataTypes >, sofa::component::engine::select::MeshSubsetEngine< DataTypes >, sofa::component::engine::select::MeshSplittingEngine< DataTypes >, sofa::component::engine::select::MeshSampler< DataTypes >, sofa::component::engine::select::MeshBoundaryROI, sofa::component::engine::select::MergeROIs, sofa::component::engine::select::IndicesFromValues< T >, sofa::component::engine::select::ComplementaryROI< DataTypes >, sofa::component::engine::generate::Spiral< DataTypes >, sofa::component::engine::generate::RandomPointDistributionInSurface< DataTypes >, sofa::component::engine::generate::NormEngine< TDataType >, sofa::component::engine::generate::NormalsFromPoints< DataTypes >, sofa::component::engine::generate::MeshTetraStuffing, sofa::component::engine::generate::MeshClosingEngine< DataTypes >, sofa::component::engine::generate::MeshBarycentricMapperEngine< DataTypes >, sofa::component::engine::generate::MergeVectors< VecT >, sofa::component::engine::generate::MergeSets< T >, sofa::component::engine::generate::MergePoints< DataTypes >, sofa::component::engine::generate::MergeMeshes< DataTypes >, sofa::component::engine::generate::JoinPoints< DataTypes >, sofa::component::engine::generate::GroupFilterYoungModulus< DataTypes >, sofa::component::engine::generate::GenerateSphere< DataTypes >, sofa::component::engine::generate::GenerateRigidMass< DataTypes, MassType >, sofa::component::engine::generate::GenerateGrid< DataTypes >, sofa::component::engine::generate::GenerateCylinder< DataTypes >, sofa::component::engine::generate::ExtrudeSurface< DataTypes >, sofa::component::engine::generate::ExtrudeQuadsAndGenerateHexas< DataTypes >, sofa::component::engine::generate::ExtrudeEdgesAndGenerateQuads< DataTypes >, sofa::component::engine::analyze::SumEngine< TDataType >, sofa::component::engine::analyze::ShapeMatching< DataTypes >, sofa::component::engine::analyze::HausdorffDistance< DataTypes >, sofa::component::engine::analyze::Distances< DataTypes >, sofa::component::engine::analyze::ClusteringEngine< DataTypes >, sofa::component::engine::analyze::AverageCoord< DataTypes >, sofa::component::diffusion::TetrahedronDiffusionFEMForceField< DataTypes >, sofa::component::controller::MechanicalStateController< DataTypes >, sofa::component::constraint::projective::SkeletalMotionProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::PositionBasedDynamicsProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::PointProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::PlaneProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::PatchTestMovementProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::PartialLinearMovementProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::ParabolicProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::LineProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::LinearVelocityProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::LinearMovementProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::HermiteSplineProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::FixedTranslationProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::FixedRotationProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::FixedProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::FixedPlaneProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::DirectionProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::AttachProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::AffineMovementProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::AffineMovementProjectiveConstraint< T >, sofa::component::constraint::lagrangian::solver::GenericConstraintSolver, sofa::component::constraint::lagrangian::solver::ConstraintSolverImpl, sofa::component::constraint::lagrangian::model::StopperLagrangianConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::SlidingLagrangianConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::FixedLagrangianConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< sofa::defaulttype::StdVectorTypes >, sofa::component::constraint::lagrangian::correction::UncoupledConstraintCorrection< TDataTypes >, sofa::component::constraint::lagrangian::correction::LinearSolverConstraintCorrection< TDataTypes >, sofa::component::collision::response::contact::CollisionResponse, sofa::component::collision::geometry::TriangleModelInRegularGrid, sofa::component::collision::geometry::TriangleCollisionModel< TDataTypes >, sofa::component::collision::geometry::TriangleCollisionModel< sofa::defaulttype::Vec3Types >, sofa::component::collision::geometry::TetrahedronCollisionModel, sofa::component::collision::geometry::SphereCollisionModel< TDataTypes >, sofa::component::collision::geometry::RayCollisionModel, sofa::component::collision::geometry::PointCollisionModel< TDataTypes >, sofa::component::collision::geometry::PointCollisionModel< sofa::defaulttype::StdVectorTypes >, sofa::component::collision::geometry::LineCollisionModel< TDataTypes >, sofa::component::collision::geometry::CylinderCollisionModel< TDataTypes >, sofa::component::collision::detection::intersection::NewProximityIntersection, sofa::component::collision::detection::intersection::MinProximityIntersection, sofa::component::collision::detection::intersection::LocalMinDistance, sofa::component::collision::detection::algorithm::RayTraceDetection, sofa::component::collision::detection::algorithm::IncrSAP, sofa::component::collision::detection::algorithm::DirectSAP, sofa::component::collision::detection::algorithm::CollisionPipeline, sofa::component::collision::detection::algorithm::BruteForceDetection, sofa::component::collision::detection::algorithm::BruteForceBroadPhase, sofa::component::animationloop::MultiTagAnimationLoop, sofa::component::animationloop::FreeMotionAnimationLoop, sofa::component::animationloop::ConstraintAnimationLoop, sofa::component::engine::select::BaseROI< DataTypes >, sofa::component::mechanicalload::LinearForceField< DataTypes >, sofa::component::mechanicalload::LinearForceField< DataTypes >, sofa::component::mass::UniformMass< DataTypes >, sofa::component::mass::UniformMass< DataTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::constraint::projective::LinearMovementProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::HermiteSplineProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::HermiteSplineProjectiveConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< sofa::defaulttype::StdVectorTypes >, sofa::component::constraint::lagrangian::correction::UncoupledConstraintCorrection< TDataTypes >, and sofa::component::constraint::lagrangian::correction::UncoupledConstraintCorrection< TDataTypes >.
the component can insert itself directly in the right sequence in the Node so the Node does not have to test its type against all known types
Reimplemented in sofa::core::visual::VisualModel, sofa::core::visual::VisualManager, sofa::core::visual::VisualLoop, sofa::core::visual::Shader, sofa::core::topology::Topology, sofa::core::topology::BaseTopologyObject, sofa::core::topology::TopologyContainer, sofa::core::topology::BaseMeshTopology, sofa::core::objectmodel::ContextObject, sofa::core::objectmodel::ConfigurationSetting, sofa::core::CollisionModel, sofa::core::collision::Pipeline, sofa::core::BehaviorModel, sofa::core::behavior::OdeSolver, sofa::core::behavior::Mass< DataTypes >, sofa::core::behavior::ConstraintSolver, sofa::core::behavior::BaseProjectiveConstraintSet, sofa::core::behavior::BaseMechanicalState, sofa::core::behavior::BaseMass, sofa::core::behavior::BaseLinearSolver, sofa::core::behavior::BaseInteractionForceField, sofa::core::behavior::BaseForceField, sofa::core::behavior::BaseConstraintSet, sofa::core::behavior::BaseAnimationLoop, sofa::core::BaseState, sofa::core::BaseMapping, sofa::gl::component::shader::OglShader, sofa::gl::component::rendering3d::OglCylinderModel, sofa::gl::component::rendering3d::DataDisplay, and sofa::component::visual::VisualModelImpl.
|
overridevirtual |
Parse the given description to assign values to this object's fields and potentially other parameters.
Reimplemented from sofa::core::objectmodel::Base.
Reimplemented in sofa::gl::component::rendering3d::MergeVisualModels, sofa::simulation::RequiredPlugin, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::gl::component::shader::OglShader, sofa::gl::component::rendering3d::OglModel, sofa::gl::component::rendering2d::OglLabel, and sofa::component::statecontainer::MechanicalObject< T >.
|
virtual |
Update method called when variables used in precomputation are modified.
Reimplemented in sofa::gl::component::shader::PostProcessManager, sofa::gl::component::shader::OrderIndependentTransparencyManager, sofa::gl::component::shader::OglVariable< DataTypes >, sofa::gl::component::shader::OglVariable< type::vector< type::Vec2f > >, sofa::gl::component::shader::OglVariable< type::Vec2f >, sofa::gl::component::shader::OglVariable< type::vector< type::Vec3f > >, sofa::gl::component::shader::OglVariable< type::Vec3f >, sofa::gl::component::shader::OglVariable< type::vector< float > >, sofa::gl::component::shader::OglVariable< type::vector< type::Vec4f > >, sofa::gl::component::shader::OglVariable< type::Vec4f >, sofa::gl::component::shader::OglVariable< float >, sofa::gl::component::shader::OglVariable< type::vector< GLint > >, sofa::gl::component::shader::OglVariable< int >, sofa::gl::component::shader::OglVariable< type::Vec< 2, int > >, sofa::gl::component::shader::OglVariable< type::vector< type::Mat4x4f > >, sofa::gl::component::shader::OglVariable< type::Vec< 3, int > >, sofa::gl::component::shader::OglVariable< type::Vec< 4, int > >, sofa::gl::component::shader::OglTexture, sofa::gl::component::shader::OglShader, sofa::gl::component::shader::OglAttribute< size, type, TDataTypes >, sofa::gl::component::shader::OglAttribute< 1, GL_FLOAT, float >, sofa::gl::component::shader::OglAttribute< 3, GL_UNSIGNED_INT, sofa::type::Vec< 3, unsigned int > >, sofa::gl::component::shader::OglAttribute< 2, GL_UNSIGNED_INT, sofa::type::Vec< 2, unsigned int > >, sofa::gl::component::shader::OglAttribute< 4, GL_INT, sofa::type::Vec< 4, int > >, sofa::gl::component::shader::OglAttribute< 3, GL_FLOAT, sofa::type::Vec< 3, float > >, sofa::gl::component::shader::OglAttribute< 4, GL_FLOAT, sofa::type::Vec< 4, float > >, sofa::gl::component::shader::OglAttribute< 2, GL_FLOAT, sofa::type::Vec< 2, float > >, sofa::gl::component::shader::OglAttribute< 3, GL_INT, sofa::type::Vec< 3, int > >, sofa::gl::component::shader::OglAttribute< 2, GL_INT, sofa::type::Vec< 2, int > >, sofa::gl::component::shader::OglAttribute< 1, GL_INT, int >, sofa::gl::component::shader::OglAttribute< 1, GL_UNSIGNED_INT, unsigned int >, sofa::gl::component::shader::OglAttribute< 4, GL_UNSIGNED_INT, sofa::type::Vec< 4, unsigned int > >, sofa::gl::component::shader::LightManager, sofa::gl::component::shader::Light, sofa::gl::component::rendering3d::SlicedVolumetricModel, sofa::gl::component::rendering3d::PointSplatModel, sofa::gl::component::rendering3d::MergeVisualModels, sofa::gl::component::rendering3d::ClipPlane, sofa::gl::component::rendering2d::OglLabel, sofa::gl::component::rendering2d::OglColorMap, sofa::gl::component::engine::TextureInterpolation< DataTypes >, sofa::core::loader::SceneLoader, sofa::core::loader::MeshLoader, sofa::component::visual::VisualGrid, sofa::component::visual::Visual3DText, sofa::component::visual::RecordedCamera, sofa::component::visual::LineAxis, sofa::component::visual::BaseCamera, sofa::component::topology::utility::TopologyChecker, sofa::component::topology::utility::TopologyBoundingTrasher< DataTypes >, sofa::component::topology::utility::TopologicalChangeProcessor, sofa::component::topology::container::grid::RegularGridTopology, sofa::component::topology::container::grid::GridTopology, sofa::component::topology::container::dynamic::TriangleSetTopologyModifier, sofa::component::topology::container::dynamic::TriangleSetTopologyContainer, sofa::component::topology::container::dynamic::TriangleSetGeometryAlgorithms< DataTypes >, sofa::component::topology::container::dynamic::TetrahedronSetTopologyModifier, sofa::component::topology::container::dynamic::PointSetGeometryAlgorithms< DataTypes >, sofa::component::topology::container::dynamic::EdgeSetTopologyContainer, sofa::component::topology::container::constant::CubeTopology, sofa::component::statecontainer::MechanicalObject< DataTypes >, sofa::component::statecontainer::MechanicalObject< T >, sofa::component::solidmechanics::spring::TriangularBendingSprings< DataTypes >, sofa::component::solidmechanics::spring::SpringForceField< DataTypes >, sofa::component::solidmechanics::spring::RestShapeSpringsForceField< DataTypes >, sofa::component::solidmechanics::spring::GearSpringForceField< DataTypes >, sofa::component::solidmechanics::spring::FastTriangularBendingSprings< _DataTypes >, sofa::component::solidmechanics::spring::AngularSpringForceField< DataTypes >, sofa::component::solidmechanics::fem::nonuniform::NonUniformHexahedronFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::nonuniform::NonUniformHexahedralFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::nonuniform::HexahedronCompositeFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangularFEMForceFieldOptim< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangularFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangularAnisotropicFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TriangleFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TetrahedronFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::TetrahedralCorotationalFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::QuadBendingFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedronFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedronFEMForceField< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedralFEMForceFieldAndMass< DataTypes >, sofa::component::solidmechanics::fem::elastic::HexahedralFEMForceField< DataTypes >, sofa::component::playback::WriteState, sofa::component::mechanicalload::InteractionEllipsoidForceField< TDataTypes1, TDataTypes2 >, sofa::component::mass::MeshMatrixMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mapping::nonlinear::RigidMapping< TIn, TOut >, sofa::component::linearsystem::MatrixProjectionMethod< TMatrix >, sofa::component::linearsystem::ConstantSparsityProjectionMethod< TMatrix >, sofa::component::io::mesh::VoxelGridLoader, sofa::component::engine::transform::Vertex2Frame< DataTypes >, sofa::component::engine::transform::TransformPosition< DataTypes >, sofa::component::engine::transform::AbstractTransformMatrixEngine, sofa::component::engine::transform::TransformEngine< DataTypes >, sofa::component::engine::transform::SmoothMeshEngine< DataTypes >, sofa::component::engine::transform::ROIValueMapper, sofa::component::engine::transform::RigidToQuatEngine< DataTypes >, sofa::component::engine::transform::QuatToRigidEngine< DataTypes >, sofa::component::engine::transform::ProjectiveTransformEngine< DataTypes >, sofa::component::engine::transform::MathOp< VecT >, sofa::component::engine::transform::MapIndices< T >, sofa::component::engine::transform::Indices2ValuesMapper< DataTypes >, sofa::component::engine::transform::IndexValueMapper< DataTypes >, sofa::component::engine::transform::DisplacementMatrixEngine< DataTypes >, sofa::component::engine::transform::DilateEngine< DataTypes >, sofa::component::engine::transform::DifferenceEngine< TDataType >, sofa::component::engine::select::ValuesFromPositions< DataTypes >, sofa::component::engine::select::ValuesFromIndices< T >, sofa::component::engine::select::SubsetTopology< DataTypes >, sofa::component::engine::select::SelectLabelROI< _T >, sofa::component::engine::select::SelectConnectedLabelsROI< _T >, sofa::component::engine::select::ProximityROI< DataTypes >, sofa::component::engine::select::PointsFromIndices< DataTypes >, sofa::component::engine::select::PlaneROI< DataTypes >, sofa::component::engine::select::PairBoxROI< DataTypes >, sofa::component::engine::select::NearestPointROI< DataTypes >, sofa::component::engine::select::MeshSubsetEngine< DataTypes >, sofa::component::engine::select::MeshSplittingEngine< DataTypes >, sofa::component::engine::select::MeshSampler< DataTypes >, sofa::component::engine::select::MeshBoundaryROI, sofa::component::engine::select::MergeROIs, sofa::component::engine::select::IndicesFromValues< T >, sofa::component::engine::select::ComplementaryROI< DataTypes >, sofa::component::engine::generate::Spiral< DataTypes >, sofa::component::engine::generate::RandomPointDistributionInSurface< DataTypes >, sofa::component::engine::generate::NormEngine< TDataType >, sofa::component::engine::generate::NormalsFromPoints< DataTypes >, sofa::component::engine::generate::MeshClosingEngine< DataTypes >, sofa::component::engine::generate::MeshBarycentricMapperEngine< DataTypes >, sofa::component::engine::generate::MergeVectors< VecT >, sofa::component::engine::generate::MergeSets< T >, sofa::component::engine::generate::MergePoints< DataTypes >, sofa::component::engine::generate::MergeMeshes< DataTypes >, sofa::component::engine::generate::JoinPoints< DataTypes >, sofa::component::engine::generate::GroupFilterYoungModulus< DataTypes >, sofa::component::engine::generate::GenerateSphere< DataTypes >, sofa::component::engine::generate::GenerateRigidMass< DataTypes, MassType >, sofa::component::engine::generate::GenerateGrid< DataTypes >, sofa::component::engine::generate::GenerateCylinder< DataTypes >, sofa::component::engine::generate::ExtrudeSurface< DataTypes >, sofa::component::engine::generate::ExtrudeQuadsAndGenerateHexas< DataTypes >, sofa::component::engine::generate::ExtrudeEdgesAndGenerateQuads< DataTypes >, sofa::component::engine::analyze::SumEngine< TDataType >, sofa::component::engine::analyze::ShapeMatching< DataTypes >, sofa::component::engine::analyze::HausdorffDistance< DataTypes >, sofa::component::engine::analyze::Distances< DataTypes >, sofa::component::engine::analyze::AverageCoord< DataTypes >, sofa::component::diffusion::TetrahedronDiffusionFEMForceField< DataTypes >, sofa::component::constraint::projective::PointProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::PlaneProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::PartialFixedProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::ParabolicProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::LineProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::HermiteSplineProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::FixedProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::DirectionProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::AttachProjectiveConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< DataTypes >, sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< sofa::defaulttype::StdVectorTypes >, sofa::component::constraint::lagrangian::correction::UncoupledConstraintCorrection< TDataTypes >, sofa::component::collision::detection::algorithm::IncrSAP, sofa::component::collision::detection::algorithm::BruteForceBroadPhase, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >, and sofa::component::mass::DiagonalMass< DataTypes, GeometricalTypes >.
the component can remove itself directly in the right sequence in the Node so the Node does not have to test its type against all known types
Reimplemented in sofa::core::visual::VisualModel, sofa::core::visual::VisualManager, sofa::core::visual::VisualLoop, sofa::core::visual::Shader, sofa::core::topology::Topology, sofa::core::topology::BaseTopologyObject, sofa::core::topology::TopologyContainer, sofa::core::topology::BaseMeshTopology, sofa::core::objectmodel::ContextObject, sofa::core::objectmodel::ConfigurationSetting, sofa::core::CollisionModel, sofa::core::collision::Pipeline, sofa::core::BehaviorModel, sofa::core::behavior::OdeSolver, sofa::core::behavior::Mass< DataTypes >, sofa::core::behavior::ConstraintSolver, sofa::core::behavior::BaseProjectiveConstraintSet, sofa::core::behavior::BaseMechanicalState, sofa::core::behavior::BaseMass, sofa::core::behavior::BaseLinearSolver, sofa::core::behavior::BaseInteractionForceField, sofa::core::behavior::BaseForceField, sofa::core::behavior::BaseConstraintSet, sofa::core::behavior::BaseAnimationLoop, sofa::core::BaseState, sofa::core::BaseMapping, sofa::gl::component::shader::OglShader, sofa::gl::component::rendering3d::OglCylinderModel, sofa::gl::component::rendering3d::DataDisplay, and sofa::component::visual::VisualModelImpl.
|
virtual |
|
virtual |
Reset to initial state.
Reimplemented in sofa::core::collision::Pipeline, sofa::simulation::PipelineImpl, sofa::component::visual::TrailRenderer< DataTypes >, sofa::component::visual::RecordedCamera, sofa::component::statecontainer::MechanicalObject< DataTypes >, sofa::component::statecontainer::MechanicalObject< T >, sofa::component::solidmechanics::fem::elastic::TetrahedronFEMForceField< DataTypes >, sofa::component::playback::WriteTopology, sofa::component::playback::WriteState, sofa::component::playback::ReadTopology, sofa::component::playback::ReadState, sofa::component::mechanicalload::TaitSurfacePressureForceField< DataTypes >, sofa::component::io::mesh::OffSequenceLoader, sofa::component::constraint::projective::SkeletalMotionProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::PositionBasedDynamicsProjectiveConstraint< DataTypes >, sofa::component::constraint::projective::PartialLinearMovementProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::LinearVelocityProjectiveConstraint< TDataTypes >, sofa::component::constraint::projective::LinearMovementProjectiveConstraint< TDataTypes >, sofa::component::collision::response::contact::CollisionResponse, and sofa::component::collision::detection::algorithm::DirectSAPNarrowPhase.
void sofa::core::objectmodel::BaseObject::setSrc | ( | const std::string & | v, |
const BaseObject * | loader, | ||
std::vector< std::string > * | attributeList = nullptr |
||
) |
Sets a source Object and parses it to collect dependent Data Use it before scene graph insertion
void sofa::core::objectmodel::BaseObject::setSrc | ( | const std::string & | v, |
std::vector< std::string > * | attributeList = nullptr |
||
) |
Sets a source Object and parses it to collect dependent Data.
sofa::core::objectmodel::BaseObject::SOFA_CLASS | ( | BaseObject | , |
Base | |||
) |
|
virtual |
Save the initial state for later uses in reset()
Reimplemented in sofa::core::behavior::BaseAnimationLoop, sofa::component::statecontainer::MechanicalObject< DataTypes >, sofa::component::statecontainer::MechanicalObject< T >, and sofa::component::mechanicalload::TaitSurfacePressureForceField< DataTypes >.
|
protected |
Method called to add the Data to the DataTracker (listing the Data to track)
void sofa::core::objectmodel::BaseObject::updateInternal | ( | ) |
Update method called when variables (used to compute other internal variables) are modified.