RobWorkProject  23.9.11-
Public Types | Public Member Functions | Public Attributes | List of all members
DeformableObject::DeformableObjectCache Class Reference

Inherits StateCache.

Public Types

typedef rw::core::Ptr< DeformableObjectCachePtr
- Public Types inherited from StateCache
typedef rw::core::Ptr< StateCachePtr
 Smart pointer type.

Public Member Functions

 DeformableObjectCache (int nr_of_nodes)
size_t size () const
 An integer ID for the StateCache. More...
virtual rw::core::Ptr< StateCache > clone () const
 this creates a deep copy of this cache
- Public Member Functions inherited from StateCache
virtual ~StateCache ()

Public Attributes

std::vector< rw::math::Vector3D< float > > _nodes
std::vector< rw::core::Ptr< rw::geometry::Model3D > > _models
std::vector< rw::core::Ptr< rw::geometry::Geometry > > _geoms

Member Function Documentation

◆ size()

size_t size ( ) const

An integer ID for the StateCache.

IDs are assigned to the state data upon insertion State. StateCache that are not in a State have an ID of -1.

StateCache present in different trees may have identical IDs.

IDs are used for the efficient implementation of State. Normally, you should not make use of frame IDs yourself.

An integer ID for the frame.

The number of doubles allocated by this StateCache in each State object.

The number of doubles allocated by the StateCache

Implements StateCache.

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