#include <ofxsInteract.h>
Inheritance diagram for OFX::Interact:

Public Member Functions | |
| Interact (OfxInteractHandle handle) | |
| ctor | |
| virtual | ~Interact () |
| ctor | |
| PropertySet & | getProperties () |
| int | getBitDepth (void) const |
| The bitdepth of each component in the openGL frame buffer. | |
| bool | hasAlpha (void) const |
| Does the openGL frame buffer have an alpha. | |
| OfxPointD | getPixelScale (void) const |
| Returns the size of a real screen pixel under the interact's cannonical projection. | |
| OfxRGBColourD | getBackgroundColour (void) const |
| the background colour | |
| void | addParamToSlaveTo (Param *p) |
| Set a param that the interact should be redrawn on if its value changes. | |
| void | removeParamToSlaveTo (Param *p) |
| Remova a param that the interact should be redrawn on if its value changes. | |
| void | requestRedraw (void) const |
| Request a redraw. | |
| void | swapBuffers (void) const |
| Swap a buffer in the case of a double bufferred interact, this is possibly a silly one. | |
| virtual bool | draw (const DrawArgs &args) |
| the function called to draw in the interact | |
| virtual bool | penMotion (const PenArgs &args) |
| the function called to handle pen motion in the interact | |
| virtual bool | penDown (const PenArgs &args) |
| the function called to handle pen down events in the interact | |
| virtual bool | penUp (const PenArgs &args) |
| the function called to handle pen up events in the interact | |
| virtual bool | keyDown (const KeyArgs &args) |
| the function called to handle key down events in the interact | |
| virtual bool | keyUp (const KeyArgs &args) |
| the function called to handle key up events in the interact | |
| virtual bool | keyRepeat (const KeyArgs &args) |
| the function called to handle key down repeat events in the interact | |
| virtual void | gainFocus (const FocusArgs &args) |
| Called when the interact is given input focus. | |
| virtual void | loseFocus (const FocusArgs &args) |
| Called when the interact is loses input focus. | |
Protected Attributes | |
| OfxInteractHandle | _interactHandle |
| The handle for this interact. | |
| PropertySet | _interactProperties |
| The property set on this interact. | |
| std::list< Param * > | _slaveParams |
| List of params we are currently slaved to. | |
| ImageEffect * | _effect |
| The instance we are associated with. | |
|
|
ctor
|
|
|
ctor
|
|
|
Set a param that the interact should be redrawn on if its value changes.
|
|
|
the function called to draw in the interact
|
|
|
Called when the interact is given input focus.
|
|
|
the background colour
|
|
|
The bitdepth of each component in the openGL frame buffer.
|
|
|
Returns the size of a real screen pixel under the interact's cannonical projection.
|
|
|
|
|
|
Does the openGL frame buffer have an alpha.
|
|
|
the function called to handle key down events in the interact returns true if the interact trapped the action in some sense. This will block the action being passed to any other interact that may share the viewer. |
|
|
the function called to handle key down repeat events in the interact returns true if the interact trapped the action in some sense. This will block the action being passed to any other interact that may share the viewer. |
|
|
the function called to handle key up events in the interact returns true if the interact trapped the action in some sense. This will block the action being passed to any other interact that may share the viewer. |
|
|
Called when the interact is loses input focus.
|
|
|
the function called to handle pen down events in the interact returns true if the interact trapped the action in some sense. This will block the action being passed to any other interact that may share the viewer. |
|
|
the function called to handle pen motion in the interact returns true if the interact trapped the action in some sense. This will block the action being passed to any other interact that may share the viewer. |
|
|
the function called to handle pen up events in the interact returns true if the interact trapped the action in some sense. This will block the action being passed to any other interact that may share the viewer. |
|
|
Remova a param that the interact should be redrawn on if its value changes.
|
|
|
Request a redraw.
|
|
|
Swap a buffer in the case of a double bufferred interact, this is possibly a silly one.
|
|
|
The instance we are associated with.
Reimplemented in OFX::ParamInteract. |
|
|
The handle for this interact.
|
|
|
The property set on this interact.
|
|
|
List of params we are currently slaved to.
|
1.3.9.1