NEURON
StandardPicker Class Reference

#include <ocpicker.h>

Inheritance diagram for StandardPicker:
ScenePicker

Public Member Functions

 StandardPicker ()
 
virtual ~StandardPicker ()
 
virtual bool pick (Canvas *, Glyph *, int depth, Hit &h)
 
void bind_select (Rubberband *rb)
 
void bind_adjust (Rubberband *rb)
 
void bind_menu (Rubberband *rb)
 
void bind_press (EventButton eb, Rubberband *)
 
void bind_select (OcHandler *h)
 
void bind_adjust (OcHandler *h)
 
void bind_menu (OcHandler *h)
 
void bind_move (OcHandler *h)
 
void bind_press (EventButton eb, OcHandler *h)
 
void bind_drag (EventButton eb, OcHandler *h)
 
void bind_release (EventButton eb, OcHandler *h)
 
void bind (int, EventButton eb, OcHandler *h)
 
void unbind (int, EventButton)
 
void remove_all (EventButton)
 

Private Types

enum  {
  motion , press , drag , release ,
  unknown
}
 
typedef int State
 

Private Member Functions

void event (const Event &)
 

Private Attributes

State ms_
 
EventButton mb_
 
std::vector< ButtonHandler * > * handlers_ [unknown]
 

Detailed Description

Definition at line 17 of file ocpicker.h.

Member Typedef Documentation

◆ State

typedef int StandardPicker::State
private

Definition at line 66 of file ocpicker.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
motion 
press 
drag 
release 
unknown 

Definition at line 67 of file ocpicker.h.

Constructor & Destructor Documentation

◆ StandardPicker()

StandardPicker::StandardPicker ( )

◆ ~StandardPicker()

virtual StandardPicker::~StandardPicker ( )
virtual

Member Function Documentation

◆ bind()

void StandardPicker::bind ( int  ,
EventButton  eb,
OcHandler h 
)

◆ bind_adjust() [1/2]

void StandardPicker::bind_adjust ( OcHandler h)
inline

Definition at line 38 of file ocpicker.h.

◆ bind_adjust() [2/2]

void StandardPicker::bind_adjust ( Rubberband rb)
inline

Definition at line 27 of file ocpicker.h.

◆ bind_drag()

void StandardPicker::bind_drag ( EventButton  eb,
OcHandler h 
)
inline

Definition at line 51 of file ocpicker.h.

◆ bind_menu() [1/2]

void StandardPicker::bind_menu ( OcHandler h)
inline

Definition at line 41 of file ocpicker.h.

◆ bind_menu() [2/2]

void StandardPicker::bind_menu ( Rubberband rb)
inline

Definition at line 30 of file ocpicker.h.

◆ bind_move()

void StandardPicker::bind_move ( OcHandler h)
inline

Definition at line 45 of file ocpicker.h.

◆ bind_press() [1/2]

void StandardPicker::bind_press ( EventButton  eb,
OcHandler h 
)
inline

Definition at line 48 of file ocpicker.h.

◆ bind_press() [2/2]

void StandardPicker::bind_press ( EventButton  eb,
Rubberband  
)

◆ bind_release()

void StandardPicker::bind_release ( EventButton  eb,
OcHandler h 
)
inline

Definition at line 54 of file ocpicker.h.

◆ bind_select() [1/2]

void StandardPicker::bind_select ( OcHandler h)
inline

Definition at line 35 of file ocpicker.h.

◆ bind_select() [2/2]

void StandardPicker::bind_select ( Rubberband rb)
inline

Definition at line 24 of file ocpicker.h.

◆ event()

void StandardPicker::event ( const Event )
private

◆ pick()

virtual bool StandardPicker::pick ( Canvas ,
Glyph ,
int  depth,
Hit h 
)
virtual

◆ remove_all()

void StandardPicker::remove_all ( EventButton  )

◆ unbind()

void StandardPicker::unbind ( int  ,
EventButton   
)

Member Data Documentation

◆ handlers_

std::vector<ButtonHandler*>* StandardPicker::handlers_[unknown]
private

Definition at line 70 of file ocpicker.h.

◆ mb_

EventButton StandardPicker::mb_
private

Definition at line 69 of file ocpicker.h.

◆ ms_

State StandardPicker::ms_
private

Definition at line 68 of file ocpicker.h.


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