Public Types | |
enum | TransformEvent { EVENT_TRANSLATION, EVENT_ROTATE, EVENT_SKEW, EVENT_SCALE, EVENT_CORNERPIN, EVENT_PUSH, EVENT_RELEASE } |
Public Member Functions | |
virtual bool | transformEvent (ViewerContext *ctx, const TransformJack_KnobI *transformJack, TransformEvent event)=0 |
virtual void | aboutToChange (ViewerContext *ctx, const TransformJack_KnobI *transformJack, int sourceFlags)=0 |
virtual void | finishedChange (ViewerContext *ctx, const TransformJack_KnobI *transformJack, int sourceFlags)=0 |
virtual bool | needsIndividualHandles () const |
virtual bool | jackIsVisible () |
A class that can be inherited from an object interested in using the transform jack making it a transform jack client which can receive update reports
the transform event types
|
pure virtual |
a function that signals the client of an event that is about to happen
ctx | the current viewer context |
event | the current event |
|
pure virtual |
indicates that a change is about to happen
ctx | the current viewer context |
source | the source of the change about to happen |
|
pure virtual |
indicates that a change has just finished
ctx | the viewer context for the change |
source | the source of the change |
|
inlinevirtual |
indicates that this client requires an individual transform box. Defaults to false, meaning that all clients share a single transform box. Override if individual transform boxes are needed for each client
|
inlinevirtual |
an overrideable function that can be used to signal if the jack is visible or not under certain circumstances
©2020 The Foundry Visionmongers, Ltd. All Rights Reserved. |