Logo Search packages:      
Sourcecode: 3depict version File versions  Download package

SelectionBinding Class Reference

#include <select.h>

List of all members.


Detailed Description

This class is used to pool together a graphical representation (via the drawable), of.

Definition at line 68 of file select.h.


Public Member Functions

void applyTransform (const Point3D &worldVec, bool permanent=false)
 Apply the user ineraction specified. set permanent=true to.
void computeWorldVectorCoeffs (unsigned int buttonFlags, unsigned int modifierFlags, Point3D &xCoeffs, Point3D &yCoeffs) const
 Map the screen coords world coords, given the mouse and keyflags.
unsigned int getID () const
unsigned int getInteractionMode () const
 Get the interaction mode.
unsigned int getKeyFlags () const
 Get the mouse button.
unsigned int getMouseButtons () const
 Get the mouse button.
void getValue (Point3D &p) const
 Retreive the current value from the drawable representation.
void getValue (float &f) const
 Retrieve the current value from the drawable representation.
bool isActive (unsigned int button, unsigned int curModifierFlags)
 Returns true if this binding will be activated given the current flags.
bool matchesDrawable (const DrawableObj *d) const
 Is this binding for the following object?
bool matchesDrawable (const DrawableObj *d, unsigned int mouseFlags, unsigned int keyFlags) const
 Is this binding for the following object?
bool modified () const
 True if the binding has modified the data.
void setBinding (unsigned int buttonFlags, unsigned int modifierFlags, unsigned int bindingID, Point3D *fDrawable, const DrawableObj *d)
 Set the binding for a Point3D. DO NOT CACHE THE DRAWABLEOBJ-> THAT IS BAD.
void setBinding (unsigned int buttonFlags, unsigned int modifierFlags, unsigned int bindingID, float *fDrawable, const DrawableObj *d)
 Set the binding for a float DO NOT CACHE THE DRAWABLEOBJ-> THAT IS BAD.
void setFloatLimits (float min, float max)
 Set the limits for a floating point data type.
void setInteractionMode (unsigned int bindMode)
 Set the interaction method. (example translate, scale, rotate etc).

Private Attributes

unsigned int bindButtons
unsigned int bindingId
unsigned int bindKeys
unsigned int bindMode
float cachedValFloat
Point3D cachedValPoint3D
unsigned int dataType
float * drawableFloat
Point3DdrawablePoint3D
float fMax
float fMin
const DrawableObjobj
const Filterowner
bool valModified

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

Generated by  Doxygen 1.6.0   Back to index