Open Inventor Release 2024.1.1
 
Loading...
Searching...
No Matches
SoPolyLineScreenDrawer::EventArg Struct Reference

Structure given to callback when an event is raised. More...

#include <Inventor/drawers/SoPolyLineScreenDrawer.h>

+ Inheritance diagram for SoPolyLineScreenDrawer::EventArg:

Public Member Functions

 EventArg (SoHandleEventAction *action, SoPolyLineScreenDrawer *drawer)
 Default constructor.
 
 ~EventArg ()
 Destructor.
 
SoHandleEventActiongetAction () const
 Returns the handle event action related to the drawing.
 
SoPolyLineScreenDrawergetSource () const
 Returns the drawer.
 

Detailed Description

Structure given to callback when an event is raised.

Please refer to onStart, onMove, ... events.

Definition at line 285 of file SoPolyLineScreenDrawer.h.

Constructor & Destructor Documentation

◆ EventArg()

SoPolyLineScreenDrawer::EventArg::EventArg ( SoHandleEventAction action,
SoPolyLineScreenDrawer drawer 
)
inline

Default constructor.

Definition at line 288 of file SoPolyLineScreenDrawer.h.

◆ ~EventArg()

SoPolyLineScreenDrawer::EventArg::~EventArg ( )
inline

Destructor.

Definition at line 293 of file SoPolyLineScreenDrawer.h.

Member Function Documentation

◆ getAction()

SoHandleEventAction * SoPolyLineScreenDrawer::EventArg::getAction ( ) const
inline

Returns the handle event action related to the drawing.

Definition at line 296 of file SoPolyLineScreenDrawer.h.

◆ getSource()

SoPolyLineScreenDrawer * SoPolyLineScreenDrawer::EventArg::getSource ( ) const
inline

Returns the drawer.

Definition at line 299 of file SoPolyLineScreenDrawer.h.


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