ParaView
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)
 
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)
 

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)
 

Protected Member Functions

 vtkSMInteractionUndoStackBuilder ()
 
 ~vtkSMInteractionUndoStackBuilder ()
 
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 ()
 

Protected Attributes

vtkSMRenderViewProxyRenderView
 
vtkSMUndoStackUndoStack
 
vtkUndoSetUndoSet
 

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 36 of file vtkSMInteractionUndoStackBuilder.h.

Member Typedef Documentation

◆ Superclass

Definition at line 40 of file vtkSMInteractionUndoStackBuilder.h.

Constructor & Destructor Documentation

◆ vtkSMInteractionUndoStackBuilder()

vtkSMInteractionUndoStackBuilder::vtkSMInteractionUndoStackBuilder ( )
protected

◆ ~vtkSMInteractionUndoStackBuilder()

vtkSMInteractionUndoStackBuilder::~vtkSMInteractionUndoStackBuilder ( )
protected

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 
)

◆ 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 programatically.

◆ 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 programatically.

◆ 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 99 of file vtkSMInteractionUndoStackBuilder.h.

Member Data Documentation

◆ RenderView

vtkSMRenderViewProxy* vtkSMInteractionUndoStackBuilder::RenderView
protected

Definition at line 88 of file vtkSMInteractionUndoStackBuilder.h.

◆ UndoStack

vtkSMUndoStack* vtkSMInteractionUndoStackBuilder::UndoStack
protected

Definition at line 89 of file vtkSMInteractionUndoStackBuilder.h.

◆ UndoSet

vtkUndoSet* vtkSMInteractionUndoStackBuilder::UndoSet
protected

Definition at line 90 of file vtkSMInteractionUndoStackBuilder.h.


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