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

Public Member Functions

 MouseEventMatcher (MouseButtons buttons, MouseStates states=MouseState::Press, KeyModifiers modifiers=KeyModifiers(flags::none))
 
virtual MouseEventMatcherclone () const override
 
virtual bool operator() (Event *) override
 
MouseButtons buttons () const
 
void setButtons (MouseButtons key)
 
MouseStates states () const
 
void setStates (MouseStates states)
 
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

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

Member Function Documentation

◆ clone()

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

Implements inviwo::EventMatcher.

◆ deserialize()

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

Reimplemented from inviwo::EventMatcher.

◆ displayString()

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

Implements inviwo::EventMatcher.

◆ isDefaultState()

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

Reimplemented from inviwo::EventMatcher.

◆ operator()()

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

Implements inviwo::EventMatcher.

◆ resetToDefaultState()

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

Reimplemented from inviwo::EventMatcher.

◆ serialize()

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

Reimplemented from inviwo::EventMatcher.

◆ setCurrentStateAsDefault()

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

Reimplemented from inviwo::EventMatcher.


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