All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kanzi::InputManipulator::InputMessageArguments Class Reference

#include <kanzi/input/input_manipulator.hpp>

Inheritance diagram for kanzi::InputManipulator::InputMessageArguments:
kanzi::MessageArguments kanzi::ClickManipulator::ClickBeginMessageArguments kanzi::ClickManipulator::ClickMessageArguments kanzi::DragAndDropManipulator::FinishedMessageArguments kanzi::DragAndDropManipulator::MovedMessageArguments kanzi::DragAndDropManipulator::StartedMessageArguments kanzi::PanManipulator::FinishedMessageArguments kanzi::PanManipulator::MovedMessageArguments

Public Member Functions

Vector2 getPoint () const
 
void setPoint (Vector2 value)
 
Vector3 getRayOrigin () const
 
void setRayOrigin (Vector3 value)
 
Vector3 getRayDirection () const
 
void setRayDirection (Vector3 value)
 
Vector2 getHitTestPoint () const
 
void setHiteTestPoint (Vector2 value)
 
Vector3 getHitTestRayOrigin () const
 
void setHitTestRayOrigin (Vector3 value)
 
Vector3 getHitTestRayDirection () const
 
void setHitTestRayDirection (Vector3 value)
 
- Public Member Functions inherited from kanzi::MessageArguments
 MessageArguments ()
 
 MessageArguments (AbstractMessageType messageType)
 
 MessageArguments (const KzuMessageType *messageType)
 
 ~MessageArguments ()
 
template<typename TDataType >
TDataType getArgument (const PropertyType< TDataType > &argumentType) const
 
bool getAbstractArgument (AbstractPropertyType argumentType, Variant &variant) const
 
template<typename TDataType >
void setArgument (const PropertyType< TDataType > &argumentType, TDataType value)
 
void setAbstractArgument (AbstractPropertyType argumentType, const Variant &variant)
 
bool isFrom (const Node &source) const
 
shared_ptr< NodegetSource () const
 
void setHandled (bool handled)
 
bool isHandled () const
 
chrono::milliseconds getTimestamp () const
 
KzuMessageDispatchergetDispatcher () const
 
AbstractMessageType getType () const
 
void setSource (Node *source)
 
void setTimestamp (chrono::milliseconds timestamp)
 
void setValid (bool valid)
 
bool isValid () const
 
void copy_internal (MessageArguments &other) const
 
ArgumentEntryacquireArgument (AbstractPropertyType argumentType)
 
ArgumentEntryfindArgument (AbstractPropertyType argumentType)
 
const ArgumentEntryfindArgument (AbstractPropertyType argumentType) const
 
template<>
float getArgument (const PropertyType< float > &propertyType) const
 
template<>
void setArgument (const PropertyType< float > &propertyType, float value)
 
template<>
int getArgument (const PropertyType< int > &propertyType) const
 
template<>
void setArgument (const PropertyType< int > &propertyType, int value)
 
template<>
bool getArgument (const PropertyType< bool > &propertyType) const
 
template<>
void setArgument (const PropertyType< bool > &propertyType, bool value)
 
template<>
ColorRGBA getArgument (const PropertyType< ColorRGBA > &propertyType) const
 
template<>
void setArgument (const PropertyType< ColorRGBA > &propertyType, ColorRGBA value)
 
template<>
Vector2 getArgument (const PropertyType< Vector2 > &propertyType) const
 
template<>
void setArgument (const PropertyType< Vector2 > &propertyType, Vector2 value)
 
template<>
Vector3 getArgument (const PropertyType< Vector3 > &propertyType) const
 
template<>
void setArgument (const PropertyType< Vector3 > &propertyType, Vector3 value)
 
template<>
Vector4 getArgument (const PropertyType< Vector4 > &propertyType) const
 
template<>
void setArgument (const PropertyType< Vector4 > &propertyType, Vector4 value)
 
template<>
Matrix3x3 getArgument (const PropertyType< Matrix3x3 > &propertyType) const
 
template<>
void setArgument (const PropertyType< Matrix3x3 > &propertyType, Matrix3x3 value)
 
template<>
Matrix4x4 getArgument (const PropertyType< Matrix4x4 > &propertyType) const
 
template<>
void setArgument (const PropertyType< Matrix4x4 > &propertyType, Matrix4x4 value)
 
template<>
string getArgument (const PropertyType< string > &propertyType) const
 
template<>
void setArgument (const PropertyType< string > &propertyType, string value)
 
template<>
ResourceID getArgument (const PropertyType< ResourceID > &propertyType) const
 
template<>
void setArgument (const PropertyType< ResourceID > &propertyType, ResourceID value)
 
template<>
void * getArgument (const PropertyType< void * > &propertyType) const
 
template<>
void setArgument (const PropertyType< void * > &propertyType, void *value)
 

Static Public Member Functions

static
PropertyTypeEditorInfoSharedPtr 
makeEditorInfo ()
 
- Static Public Member Functions inherited from kanzi::MessageArguments
static MetaclassgetStaticMetaclass ()
 
static
PropertyTypeEditorInfoSharedPtr 
makeEditorInfo ()
 

Static Public Attributes

static PropertyType< Vector2ManipulatorPointProperty
 ManipulatorPoint property. More...
 
static PropertyType< Vector3ManipulatorRayOriginProperty
 ManipulatorRayOrigin property. More...
 
static PropertyType< Vector3ManipulatorRayDirectionProperty
 ManipulatorRayDirection property. More...
 
static PropertyType< Vector2HitTestPointProperty
 HitTestPoint property. More...
 
static PropertyType< Vector3HitTestRayOriginProperty
 HitTestRayOrigin property. More...
 
static PropertyType< Vector3HitTestRayDirectionProperty
 HitTestRayDirection property. More...
 
static PropertyType< void * > HitTestObjectProperty
 HitTestObject property. More...
 

Additional Inherited Members

- Public Types inherited from kanzi::MessageArguments
typedef vector< ArgumentEntryArgumentContainer
 
typedef ArgumentContainer::iterator ArgumentIterator
 
- Public Attributes inherited from kanzi::MessageArguments
bool m_valid
 Is message valid. More...
 
bool m_handled
 Is message handled yet. More...
 
chrono::milliseconds m_timestamp
 Timestamp of message. More...
 
KzuMessageDispatcherm_dispatcher
 Dispatcher assigned to the message. More...
 
AbstractMessageType m_messageType
 Type of the message. More...
 
Nodem_source
 Sender of the message. More...
 
ArgumentContainer m_arguments
 Arguments of the message. More...
 

Member Function Documentation

static PropertyTypeEditorInfoSharedPtr kanzi::InputManipulator::InputMessageArguments::makeEditorInfo ( )
static
Vector2 kanzi::InputManipulator::InputMessageArguments::getPoint ( ) const
inline
void kanzi::InputManipulator::InputMessageArguments::setPoint ( Vector2  value)
inline
Vector3 kanzi::InputManipulator::InputMessageArguments::getRayOrigin ( ) const
inline
void kanzi::InputManipulator::InputMessageArguments::setRayOrigin ( Vector3  value)
inline
Vector3 kanzi::InputManipulator::InputMessageArguments::getRayDirection ( ) const
inline
void kanzi::InputManipulator::InputMessageArguments::setRayDirection ( Vector3  value)
inline
Vector2 kanzi::InputManipulator::InputMessageArguments::getHitTestPoint ( ) const
inline
void kanzi::InputManipulator::InputMessageArguments::setHiteTestPoint ( Vector2  value)
inline
Vector3 kanzi::InputManipulator::InputMessageArguments::getHitTestRayOrigin ( ) const
inline
void kanzi::InputManipulator::InputMessageArguments::setHitTestRayOrigin ( Vector3  value)
inline
Vector3 kanzi::InputManipulator::InputMessageArguments::getHitTestRayDirection ( ) const
inline
void kanzi::InputManipulator::InputMessageArguments::setHitTestRayDirection ( Vector3  value)
inline

Member Data Documentation

PropertyType<Vector2> kanzi::InputManipulator::InputMessageArguments::ManipulatorPointProperty
static

ManipulatorPoint property.

The default value is Vector2(0.0f, 0.0f).

See also
setManipulatorPoint(), getManipulatorPoint()
PropertyType<Vector3> kanzi::InputManipulator::InputMessageArguments::ManipulatorRayOriginProperty
static

ManipulatorRayOrigin property.

The default value is Vector3(0.0f, 0.0f, 0.0f).

See also
setManipulatorRayOrigin(), getManipulatorRayOrigin()
PropertyType<Vector3> kanzi::InputManipulator::InputMessageArguments::ManipulatorRayDirectionProperty
static

ManipulatorRayDirection property.

The default value is Vector3(0.0f, 0.0f, -1.0f).

See also
setManipulatorRayDirection(), getManipulatorRayDirection()
PropertyType<Vector2> kanzi::InputManipulator::InputMessageArguments::HitTestPointProperty
static

HitTestPoint property.

The default value is Vector2(KZS_NAN, KZS_NAN).

See also
setHitTestPoint(), getHitTestPoint()
PropertyType<Vector3> kanzi::InputManipulator::InputMessageArguments::HitTestRayOriginProperty
static

HitTestRayOrigin property.

The default value is Vector3(0.0f, 0.0f, 0.0f).

See also
setHitTestRayOrigin(), getHitTestRayOrigin()
PropertyType<Vector3> kanzi::InputManipulator::InputMessageArguments::HitTestRayDirectionProperty
static

HitTestRayDirection property.

The default value is Vector3(0.0f, 0.0f, -1.0f).

See also
setHitTestRayDirection(), getHitTestRayDirection()
PropertyType<void*> kanzi::InputManipulator::InputMessageArguments::HitTestObjectProperty
static

HitTestObject property.

The default value is 0.

See also
setHitTestObject(), getHitTestObject()

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