3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
SelectionDevice Class Reference

#include <select.h>

Public Member Functions

 SelectionDevice (const Filter *p)
 Create a new selection device. More...
 
 SelectionDevice (const SelectionDevice &copySrc)
 Copy constructor (not implemented) More...
 
void addBinding (SelectionBinding b)
 Bind a floating point type between the graphical and internal reps. More...
 
bool getBinding (const DrawableObj *d, unsigned int mouseFlags, unsigned int keyFlags, SelectionBinding *&b)
 
bool getAvailBindings (const DrawableObj *d, std::vector< const SelectionBinding *> &b) const
 
void getModifiedBindings (std::vector< std::pair< const Filter *, SelectionBinding > > &bindings)
 
void resetModifiedBindings ()
 Return any devices that have been modified since their creation. More...
 
size_t getNumBindings () const
 

Constructor & Destructor Documentation

◆ SelectionDevice() [1/2]

SelectionDevice::SelectionDevice ( const Filter p)

Create a new selection device.

◆ SelectionDevice() [2/2]

SelectionDevice::SelectionDevice ( const SelectionDevice copySrc)

Copy constructor (not implemented)

Member Function Documentation

◆ addBinding()

void SelectionDevice::addBinding ( SelectionBinding  b)

Bind a floating point type between the graphical and internal reps.

Referenced by TransformFilter::numBytesForCache(), IonClipFilter::refresh(), AnnotateFilter::refresh(), ProfileFilter::refresh(), and VoxeliseFilter::refresh().

Here is the caller graph for this function:

◆ getAvailBindings()

bool SelectionDevice::getAvailBindings ( const DrawableObj d,
std::vector< const SelectionBinding *> &  b 
) const

References ASSERT.

◆ getBinding()

bool SelectionDevice::getBinding ( const DrawableObj d,
unsigned int  mouseFlags,
unsigned int  keyFlags,
SelectionBinding *&  b 
)

◆ getModifiedBindings()

void SelectionDevice::getModifiedBindings ( std::vector< std::pair< const Filter *, SelectionBinding > > &  bindings)

References ASSERT.

◆ getNumBindings()

size_t SelectionDevice::getNumBindings ( ) const
inline

◆ resetModifiedBindings()

void SelectionDevice::resetModifiedBindings ( )

Return any devices that have been modified since their creation.

References ASSERT.


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