RAMSES Documentation  27.0.130
Information for RAMSES users and developers
Public Member Functions | Protected Member Functions | Friends | List of all members
ramses::SplineStepVector2f Class Reference

The SplineStepVector2f stores spline keys of type Vector2f that can be used for animation with step interpolation. More...

#include <SplineStepVector2f.h>

Inheritance diagram for ramses::SplineStepVector2f:
[legend]
Collaboration diagram for ramses::SplineStepVector2f:
[legend]

Public Member Functions

status_t setKey (splineTimeStamp_t timeStamp, float x, float y)
 Sets a spline key at given time with given value. More...
 
status_t getKeyValues (splineKeyIndex_t keyIndex, splineTimeStamp_t &timeStamp, float &x, float &y) const
 Gets key value and time stamp for a given key index. More...
 
- Public Member Functions inherited from ramses::Spline
uint32_t getNumberOfKeys () const
 
- Public Member Functions inherited from ramses::SceneObject
sceneObjectId_t getSceneObjectId () const
 Returns scene object id which is automatically assigned at creation time of object and is unique within scope of one scene. More...
 
sceneId_t getSceneId () const
 Returns sceneid to which this object belongs to. More...
 
- Public Member Functions inherited from ramses::RamsesObject
const char * getName () const
 Returns the name of the object. More...
 
status_t setName (const char *name)
 Changes the name of the object. More...
 
ERamsesObjectType getType () const
 Gets type of the object. More...
 
bool isOfType (ERamsesObjectType type) const
 Checks if the object is of given type. More...
 
- Public Member Functions inherited from ramses::StatusObject
status_t validate () const
 Generates verbose validation of the object. More...
 
const char * getValidationReport (EValidationSeverity minSeverity=EValidationSeverity_Info) const
 Provides verbose report in human readable form generated by validate. More...
 
const char * getStatusMessage (status_t status) const
 Get the string description for a status provided by a RAMSES API function. More...
 
 StatusObject (const StatusObject &other)=delete
 Deleted copy constructor. More...
 
StatusObjectoperator= (const StatusObject &other)=delete
 Deleted copy assignment. More...
 

Protected Member Functions

 SplineStepVector2f (SplineImpl &pimpl)
 Constructor of SplineStepVector2f. More...
 
virtual ~SplineStepVector2f ()
 Destructor of the SplineStepVector2f. More...
 
- Protected Member Functions inherited from ramses::Spline
 Spline (SplineImpl &pimpl)
 Default constructor of Spline. More...
 
virtual ~Spline ()
 Destructor of Spline. More...
 
- Protected Member Functions inherited from ramses::AnimationObject
 AnimationObject (AnimationObjectImpl &pimpl)
 Constructor for AnimationObject. More...
 
virtual ~AnimationObject ()
 Destructor of the AnimationObject. More...
 
- Protected Member Functions inherited from ramses::SceneObject
 SceneObject (SceneObjectImpl &pimpl)
 Constructor for SceneObject. More...
 
virtual ~SceneObject ()
 Destructor of the SceneObject. More...
 
- Protected Member Functions inherited from ramses::ClientObject
 ClientObject (ClientObjectImpl &pimpl)
 Constructor for ClientObject. More...
 
virtual ~ClientObject ()
 Destructor of the ClientObject. More...
 
- Protected Member Functions inherited from ramses::RamsesObject
 RamsesObject (RamsesObjectImpl &pimpl)
 Constructor for RamsesObject. More...
 
virtual ~RamsesObject ()
 Destructor of the RamsesObject. More...
 
- Protected Member Functions inherited from ramses::StatusObject
 StatusObject (StatusObjectImpl &pimpl)
 Constructor for StatusObject. More...
 
virtual ~StatusObject ()
 Destructor of the StatusObject. More...
 

Friends

class AnimationSystemData
 AnimationSystemData is the factory for creating SplineStepVector2f instances. More...
 

Additional Inherited Members

- Public Attributes inherited from ramses::Spline
class SplineImpl & impl
 
- Public Attributes inherited from ramses::AnimationObject
class AnimationObjectImpl & impl
 
- Public Attributes inherited from ramses::SceneObject
class SceneObjectImpl & impl
 
- Public Attributes inherited from ramses::ClientObject
class ClientObjectImpl & impl
 
- Public Attributes inherited from ramses::RamsesObject
class RamsesObjectImpl & impl
 
- Public Attributes inherited from ramses::StatusObject
class StatusObjectImpl & impl
 

Detailed Description

The SplineStepVector2f stores spline keys of type Vector2f that can be used for animation with step interpolation.

Constructor & Destructor Documentation

◆ SplineStepVector2f()

ramses::SplineStepVector2f::SplineStepVector2f ( SplineImpl &  pimpl)
explicitprotected

Constructor of SplineStepVector2f.

Parameters
[in]pimplInternal data for implementation specifics of Spline (sink - instance becomes owner)

◆ ~SplineStepVector2f()

virtual ramses::SplineStepVector2f::~SplineStepVector2f ( )
protectedvirtual

Destructor of the SplineStepVector2f.

Member Function Documentation

◆ getKeyValues()

status_t ramses::SplineStepVector2f::getKeyValues ( splineKeyIndex_t  keyIndex,
splineTimeStamp_t timeStamp,
float &  x,
float &  y 
) const

Gets key value and time stamp for a given key index.

Parameters
[in]keyIndexIndex of a key to get values from.
[out]timeStampThe time stamp of the key.
[out]xThe first value of the key data.
[out]yThe second value of the key data.
Returns
StatusOK for success, otherwise the returned status can be used to resolve error message using getStatusMessage().

◆ setKey()

status_t ramses::SplineStepVector2f::setKey ( splineTimeStamp_t  timeStamp,
float  x,
float  y 
)

Sets a spline key at given time with given value.

Parameters
[in]timeStampThe time stamp for the key to be set
[in]xThe first value for the key data.
[in]yThe second value for the key data.
Returns
StatusOK for success, otherwise the returned status can be used to resolve error message using getStatusMessage().

Friends And Related Function Documentation

◆ AnimationSystemData

friend class AnimationSystemData
friend

AnimationSystemData is the factory for creating SplineStepVector2f instances.


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