builder server manager undo sets for render view interactions and pushes them on the undo stack. More...
#include <vtkSMInteractionUndoStackBuilder.h>
Public Types | |
typedef vtkSMObject | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
void | Clear () |
Clear the undo set currently being recorded. More... | |
void | StartInteraction () |
Called to record the state at the beginning of an interaction. More... | |
void | EndInteraction () |
Called to record the state at the end of an interaction and push it on the stack. More... | |
void | SetRenderView (vtkSMRenderViewProxy *) |
Get/Set the render view proxy for which we are monitoring the interactions. More... | |
virtual vtkSMRenderViewProxy * | GetRenderView () |
Get/Set the render view proxy for which we are monitoring the interactions. More... | |
virtual vtkSMUndoStack * | GetUndoStack () |
Get/Set the undo stack that this builder will build. More... | |
virtual void | SetUndoStack (vtkSMUndoStack *) |
Get/Set the undo stack that this builder will build. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
![]() | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
virtual vtkMTimeType | GetMTime () |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
Static Public Member Functions | |
static vtkSMInteractionUndoStackBuilder * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMInteractionUndoStackBuilder * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkSMObject * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMObject * | SafeDownCast (vtkObject *o) |
static std::string | CreatePrettyLabel (const std::string &name) |
Return a well-formated label using provided name by adding spaces between lower cases and upper cases: More... | |
![]() | |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static vtkTypeBool | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
static vtkObjectBase * | New () |
Protected Member Functions | |
vtkSMInteractionUndoStackBuilder () | |
~vtkSMInteractionUndoStackBuilder () override | |
void | ExecuteEvent (vtkObject *caller, unsigned long event, void *data) |
Event handler. More... | |
void | PropertyModified (const char *pname) |
![]() | |
vtkSMObject () | |
~vtkSMObject () override | |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
vtkSMRenderViewProxy * | RenderView |
vtkSMUndoStack * | UndoStack |
vtkUndoSet * | UndoSet |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Friends | |
class | vtkSMInteractionUndoStackBuilderObserver |
builder server manager undo sets for render view interactions and pushes them on the undo stack.
vtkSMInteractionUndoStackBuilder specializes in interaction. This class can create undo elements for only one render view at a time.
Definition at line 24 of file vtkSMInteractionUndoStackBuilder.h.
Definition at line 28 of file vtkSMInteractionUndoStackBuilder.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Reimplemented from vtkSMObject.
Reimplemented from vtkSMObject.
|
static |
|
overridevirtual |
Reimplemented from vtkObject.
void vtkSMInteractionUndoStackBuilder::SetRenderView | ( | vtkSMRenderViewProxy * | ) |
Get/Set the render view proxy for which we are monitoring the interactions.
|
virtual |
Get/Set the render view proxy for which we are monitoring the interactions.
|
virtual |
Get/Set the undo stack that this builder will build.
|
virtual |
Get/Set the undo stack that this builder will build.
void vtkSMInteractionUndoStackBuilder::Clear | ( | ) |
Clear the undo set currently being recorded.
void vtkSMInteractionUndoStackBuilder::StartInteraction | ( | ) |
Called to record the state at the beginning of an interaction.
Usually, this method isn't called directly, since the builder listens to interaction events on the interactor and calls it automatically. May be used when changing the camera programmatically.
void vtkSMInteractionUndoStackBuilder::EndInteraction | ( | ) |
Called to record the state at the end of an interaction and push it on the stack.
Usually, this method isn't called directly, since the builder listens to interaction events on the interactor and calls it automatically. May be used when changing the camera programmatically.
|
protected |
Event handler.
|
protected |
|
friend |
Definition at line 87 of file vtkSMInteractionUndoStackBuilder.h.
|
protected |
Definition at line 76 of file vtkSMInteractionUndoStackBuilder.h.
|
protected |
Definition at line 77 of file vtkSMInteractionUndoStackBuilder.h.
|
protected |
Definition at line 78 of file vtkSMInteractionUndoStackBuilder.h.