Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
Dali::Internal::SceneGraph::PropertyVector3 Class Reference

A Vector3 non-animatable property. More...

#include <property-vector3.h>

Inheritance diagram for Dali::Internal::SceneGraph::PropertyVector3:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::SceneGraph::PropertyVector3:
Collaboration graph
[legend]

Public Member Functions

 PropertyVector3 (Vector3 initialValue)
 Create an non-animatable property. More...
 
virtual ~PropertyVector3 ()
 Virtual destructor. More...
 
void Clear ()
 Clear the dirty flag. More...
 
virtual Dali::Property::Type GetType () const
 Query the type of property input. More...
 
virtual bool InputInitialized () const
 Query the input value (for a constraint) has been initialized. More...
 
virtual bool InputChanged () const
 Query the input value (for a constraint) has changed. More...
 
virtual const Vector3GetVector3 (BufferIndex bufferIndex) const
 Retrieve a Vector3 value. More...
 
void OnSet ()
 Flag that the property has been Set during the current frame. More...
 
- Public Member Functions inherited from Dali::Internal::PropertyInputImpl
virtual ~PropertyInputImpl ()
 Virtual destructor. More...
 
virtual const bool & GetBoolean (BufferIndex bufferIndex) const
 Retrieve a boolean value. More...
 
virtual const int & GetInteger (BufferIndex bufferIndex) const
 Retrieve an integer value. More...
 
virtual const float & GetFloat (BufferIndex bufferIndex) const
 Retrieve a float value. More...
 
virtual const Vector2GetVector2 (BufferIndex bufferIndex) const
 Retrieve a Vector2 value. More...
 
virtual const Vector4GetVector4 (BufferIndex bufferIndex) const
 Retrieve a Vector4 value. More...
 
virtual const QuaternionGetQuaternion (BufferIndex bufferIndex) const
 Retrieve a Quaternion value. More...
 
virtual const Matrix3GetMatrix3 (BufferIndex bufferIndex) const
 Retrieve a Matrix value. More...
 
virtual const MatrixGetMatrix (BufferIndex bufferIndex) const
 Retrieve a Matrix value. More...
 
virtual const bool & GetConstraintInputBoolean (BufferIndex updateBufferIndex) const
 Retrieve a boolean input for a constraint function. More...
 
virtual const int & GetConstraintInputInteger (BufferIndex updateBufferIndex) const
 Retrieve an integer input for a constraint function. More...
 
virtual const float & GetConstraintInputFloat (BufferIndex updateBufferIndex) const
 Retrieve a float input for a constraint function. More...
 
virtual const Vector2GetConstraintInputVector2 (BufferIndex updateBufferIndex) const
 Retrieve a Vector2 input for a constraint function. More...
 
virtual const Vector3GetConstraintInputVector3 (BufferIndex updateBufferIndex) const
 Retrieve a Vector3 input for a constraint function. More...
 
virtual const Vector4GetConstraintInputVector4 (BufferIndex updateBufferIndex) const
 Retrieve a Vector4 input for a constraint function. More...
 
virtual const QuaternionGetConstraintInputQuaternion (BufferIndex updateBufferIndex) const
 Retrieve a Quaternion input for a constraint function. More...
 
virtual const Matrix3GetConstraintInputMatrix3 (BufferIndex updateBufferIndex) const
 Retrieve a Matrix3 input for a constraint function. More...
 
virtual const MatrixGetConstraintInputMatrix (BufferIndex updateBufferIndex) const
 Retrieve a Matrix input for a constraint function. More...
 
void DebugPrint (std::ostream &debugStream, BufferIndex bufferIndex) const
 Print the property value using a stream. More...
 

Public Attributes

Vector3 mValue
 The property value. More...
 

Private Member Functions

 PropertyVector3 (const PropertyVector3 &property)
 
PropertyVector3operator= (const PropertyVector3 &rhs)
 

Private Attributes

bool mDirtyFlag
 

Detailed Description

A Vector3 non-animatable property.

Definition at line 42 of file property-vector3.h.

Constructor & Destructor Documentation

Dali::Internal::SceneGraph::PropertyVector3::PropertyVector3 ( Vector3  initialValue)
inline

Create an non-animatable property.

Parameters
[in]initialValueThe initial value of the property.

Definition at line 50 of file property-vector3.h.

virtual Dali::Internal::SceneGraph::PropertyVector3::~PropertyVector3 ( )
inlinevirtual

Virtual destructor.

Definition at line 59 of file property-vector3.h.

Dali::Internal::SceneGraph::PropertyVector3::PropertyVector3 ( const PropertyVector3 property)
private

Member Function Documentation

void Dali::Internal::SceneGraph::PropertyVector3::Clear ( )
inline

Clear the dirty flag.

Definition at line 66 of file property-vector3.h.

References mDirtyFlag.

Referenced by Dali::Internal::SceneGraph::Node::ResetDefaultProperties().

Here is the caller graph for this function:

virtual Dali::Property::Type Dali::Internal::SceneGraph::PropertyVector3::GetType ( ) const
inlinevirtual

Query the type of property input.

Returns
The property type.

Implements Dali::Internal::PropertyInputImpl.

Definition at line 74 of file property-vector3.h.

References Dali::PropertyTypes::Get< Vector3 >().

Here is the call graph for this function:

virtual const Vector3& Dali::Internal::SceneGraph::PropertyVector3::GetVector3 ( BufferIndex  bufferIndex) const
inlinevirtual

Retrieve a Vector3 value.

.0

Returns
The Vector3 value.
Precondition
GetType() returns Property::VECTOR3.

Reimplemented from Dali::Internal::PropertyInputImpl.

Definition at line 98 of file property-vector3.h.

References mValue.

virtual bool Dali::Internal::SceneGraph::PropertyVector3::InputChanged ( ) const
inlinevirtual

Query the input value (for a constraint) has changed.

Returns
True if the input value has changed.

Implements Dali::Internal::PropertyInputImpl.

Definition at line 90 of file property-vector3.h.

References mDirtyFlag.

Referenced by Dali::Internal::SceneGraph::Node::GetDirtyFlags().

Here is the caller graph for this function:

virtual bool Dali::Internal::SceneGraph::PropertyVector3::InputInitialized ( ) const
inlinevirtual

Query the input value (for a constraint) has been initialized.

Returns
True if initialized, otherwise the constraint should be skipped.

Implements Dali::Internal::PropertyInputImpl.

Definition at line 82 of file property-vector3.h.

void Dali::Internal::SceneGraph::PropertyVector3::OnSet ( )
inline

Flag that the property has been Set during the current frame.

Definition at line 106 of file property-vector3.h.

References mDirtyFlag.

Referenced by Dali::Internal::SceneGraph::Node::SetAnchorPoint(), and Dali::Internal::SceneGraph::Node::SetParentOrigin().

Here is the caller graph for this function:

PropertyVector3& Dali::Internal::SceneGraph::PropertyVector3::operator= ( const PropertyVector3 rhs)
private

Member Data Documentation

bool Dali::Internal::SceneGraph::PropertyVector3::mDirtyFlag
private

Definition at line 125 of file property-vector3.h.

Referenced by Clear(), InputChanged(), and OnSet().

Vector3 Dali::Internal::SceneGraph::PropertyVector3::mValue

The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali