Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
vtkSMInteractionUndoStackBuilder Class Reference

builder server manager undo sets for render view interactions and pushes them on the undo stack. More...

#include <vtkSMInteractionUndoStackBuilder.h>

Inheritance diagram for vtkSMInteractionUndoStackBuilder:
Inheritance graph
[legend]
Collaboration diagram for vtkSMInteractionUndoStackBuilder:
Collaboration graph
[legend]

Public Types

typedef vtkSMObject Superclass
 
- Public Types inherited from vtkSMObject
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 vtkSMRenderViewProxyGetRenderView ()
 Get/Set the render view proxy for which we are monitoring the interactions. More...
 
virtual vtkSMUndoStackGetUndoStack ()
 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...
 
- Public Member Functions inherited from vtkSMObject
void PrintSelf (ostream &os, vtkIndent indent) override
 
- Public Member Functions inherited from vtkObject
 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)
 
vtkCommandGetCommand (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)
 
vtkCommandGetCommand (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)
 
- Public Member Functions inherited from vtkObjectBase
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 vtkSMInteractionUndoStackBuilderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSMInteractionUndoStackBuilderSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkSMObject
static vtkSMObjectNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSMObjectSafeDownCast (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 Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
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 Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkSMInteractionUndoStackBuilder ()
 
 ~vtkSMInteractionUndoStackBuilder () override
 
void ExecuteEvent (vtkObject *caller, unsigned long event, void *data)
 Event handler. More...
 
void PropertyModified (const char *pname)
 
- Protected Member Functions inherited from vtkSMObject
 vtkSMObject ()
 
 ~vtkSMObject () override
 
- Protected Member Functions inherited from vtkObject
 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 ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkSMRenderViewProxyRenderView
 
vtkSMUndoStackUndoStack
 
vtkUndoSetUndoSet
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Friends

class vtkSMInteractionUndoStackBuilderObserver
 

Detailed Description

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.

Member Typedef Documentation

◆ Superclass

Definition at line 28 of file vtkSMInteractionUndoStackBuilder.h.

Constructor & Destructor Documentation

◆ vtkSMInteractionUndoStackBuilder()

vtkSMInteractionUndoStackBuilder::vtkSMInteractionUndoStackBuilder ( )
protected

◆ ~vtkSMInteractionUndoStackBuilder()

vtkSMInteractionUndoStackBuilder::~vtkSMInteractionUndoStackBuilder ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkSMInteractionUndoStackBuilder* vtkSMInteractionUndoStackBuilder::New ( )
static

◆ GetClassName()

virtual const char* vtkSMInteractionUndoStackBuilder::GetClassName ( )
virtual

Reimplemented from vtkSMObject.

◆ IsTypeOf()

static int vtkSMInteractionUndoStackBuilder::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkSMInteractionUndoStackBuilder::IsA ( const char *  type)
virtual

Reimplemented from vtkSMObject.

◆ SafeDownCast()

static vtkSMInteractionUndoStackBuilder* vtkSMInteractionUndoStackBuilder::SafeDownCast ( vtkObject o)
static

◆ PrintSelf()

void vtkSMInteractionUndoStackBuilder::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkObject.

◆ SetRenderView()

void vtkSMInteractionUndoStackBuilder::SetRenderView ( vtkSMRenderViewProxy )

Get/Set the render view proxy for which we are monitoring the interactions.

◆ GetRenderView()

virtual vtkSMRenderViewProxy* vtkSMInteractionUndoStackBuilder::GetRenderView ( )
virtual

Get/Set the render view proxy for which we are monitoring the interactions.

◆ GetUndoStack()

virtual vtkSMUndoStack* vtkSMInteractionUndoStackBuilder::GetUndoStack ( )
virtual

Get/Set the undo stack that this builder will build.

◆ SetUndoStack()

virtual void vtkSMInteractionUndoStackBuilder::SetUndoStack ( vtkSMUndoStack )
virtual

Get/Set the undo stack that this builder will build.

◆ Clear()

void vtkSMInteractionUndoStackBuilder::Clear ( )

Clear the undo set currently being recorded.

◆ StartInteraction()

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.

◆ EndInteraction()

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.

◆ ExecuteEvent()

void vtkSMInteractionUndoStackBuilder::ExecuteEvent ( vtkObject caller,
unsigned long  event,
void *  data 
)
protected

Event handler.

◆ PropertyModified()

void vtkSMInteractionUndoStackBuilder::PropertyModified ( const char *  pname)
protected

Friends And Related Function Documentation

◆ vtkSMInteractionUndoStackBuilderObserver

friend class vtkSMInteractionUndoStackBuilderObserver
friend

Definition at line 87 of file vtkSMInteractionUndoStackBuilder.h.

Member Data Documentation

◆ RenderView

vtkSMRenderViewProxy* vtkSMInteractionUndoStackBuilder::RenderView
protected

Definition at line 76 of file vtkSMInteractionUndoStackBuilder.h.

◆ UndoStack

vtkSMUndoStack* vtkSMInteractionUndoStackBuilder::UndoStack
protected

Definition at line 77 of file vtkSMInteractionUndoStackBuilder.h.

◆ UndoSet

vtkUndoSet* vtkSMInteractionUndoStackBuilder::UndoSet
protected

Definition at line 78 of file vtkSMInteractionUndoStackBuilder.h.


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