Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::GestureEventMatcher Class Reference
+ Inheritance diagram for inviwo::GestureEventMatcher:

Public Member Functions

 GestureEventMatcher (GestureTypes types, GestureStates states=GestureStates(flags::any), int numFingers=-1, KeyModifiers modifiers=KeyModifiers(flags::none))
 
virtual GestureEventMatcherclone () const override
 
virtual bool operator() (Event *) override
 
GestureTypes types () const
 
void setTypes (GestureTypes key)
 
GestureStates states () const
 
void setStates (GestureState states)
 
int numFingers () const
 
void setNumFingers (int numFingers)
 
KeyModifiers modifiers () const
 
void setModifiers (KeyModifiers modifiers)
 
virtual void setCurrentStateAsDefault () override
 
virtual void resetToDefaultState () override
 
virtual bool isDefaultState () const override
 
virtual void serialize (Serializer &s) const override
 
virtual void deserialize (Deserializer &d) override
 
virtual std::string displayString () const override
 
- Public Member Functions inherited from inviwo::EventMatcher
- Public Member Functions inherited from inviwo::Serializable

Protected Member Functions

 GestureEventMatcher (const GestureEventMatcher &)=default
 
GestureEventMatcheroperator= (const GestureEventMatcher &)=default
 
- Protected Member Functions inherited from inviwo::EventMatcher
 EventMatcher (const EventMatcher &)=default
 
EventMatcheroperator= (const EventMatcher &)=default
 

Member Function Documentation

◆ clone()

virtual GestureEventMatcher * inviwo::GestureEventMatcher::clone ( ) const
overridevirtual

Implements inviwo::EventMatcher.

◆ deserialize()

virtual void inviwo::GestureEventMatcher::deserialize ( Deserializer & d)
overridevirtual

Reimplemented from inviwo::EventMatcher.

◆ displayString()

virtual std::string inviwo::GestureEventMatcher::displayString ( ) const
overridevirtual

Implements inviwo::EventMatcher.

◆ isDefaultState()

virtual bool inviwo::GestureEventMatcher::isDefaultState ( ) const
overridevirtual

Reimplemented from inviwo::EventMatcher.

◆ operator()()

virtual bool inviwo::GestureEventMatcher::operator() ( Event * )
overridevirtual

Implements inviwo::EventMatcher.

◆ resetToDefaultState()

virtual void inviwo::GestureEventMatcher::resetToDefaultState ( )
overridevirtual

Reimplemented from inviwo::EventMatcher.

◆ serialize()

virtual void inviwo::GestureEventMatcher::serialize ( Serializer & s) const
overridevirtual

Reimplemented from inviwo::EventMatcher.

◆ setCurrentStateAsDefault()

virtual void inviwo::GestureEventMatcher::setCurrentStateAsDefault ( )
overridevirtual

Reimplemented from inviwo::EventMatcher.


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