ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
vtkSMCameraLink Class Reference

creates a link between two cameras. More...

#include <vtkSMCameraLink.h>

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

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void AddLinkedProxy (vtkSMProxy *proxy, int updateDir)
virtual void RemoveLinkedProxy (vtkSMProxy *proxy)
virtual void LoadState (const vtkSMMessage *msg, vtkSMProxyLocator *locator)
virtual void SetSynchronizeInteractiveRenders (int)
virtual int GetSynchronizeInteractiveRenders ()
virtual void SynchronizeInteractiveRendersOn ()
virtual void SynchronizeInteractiveRendersOff ()
virtual void UpdateViews (vtkSMProxy *caller, bool interactive)

Static Public Member Functions

static vtkSMCameraLinkNew ()
static int IsTypeOf (const char *type)
static vtkSMCameraLinkSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkSMCameraLink ()
 ~vtkSMCameraLink ()
virtual void UpdateVTKObjects (vtkSMProxy *proxy)
virtual void PropertyModified (vtkSMProxy *proxy, const char *pname)
virtual void UpdateProperty (vtkSMProxy *, const char *)
virtual void SaveXMLState (const char *linkname, vtkPVXMLElement *parent)
void CopyProperties (vtkSMProxy *caller)
void StartInteraction (vtkObject *caller)
void EndInteraction (vtkObject *caller)
void ResetCamera (vtkObject *caller)
virtual void UpdateState ()

Protected Attributes

int SynchronizeInteractiveRenders

Friends

class vtkInternals

Detailed Description

creates a link between two cameras.

When a link is created between camera A->B, whenever any property on camera A is modified, a property with the same name as the modified property (if any) on camera B is also modified to be the same as the property on the camera A. Similary whenever camera A->UpdateVTKObjects() is called, B->UpdateVTKObjects() is also fired.

Definition at line 30 of file vtkSMCameraLink.h.


Constructor & Destructor Documentation

vtkSMCameraLink::vtkSMCameraLink ( ) [protected]
vtkSMCameraLink::~vtkSMCameraLink ( ) [protected]

Member Function Documentation

static vtkSMCameraLink* vtkSMCameraLink::New ( ) [static]

Reimplemented from vtkSMProxyLink.

virtual const char* vtkSMCameraLink::GetClassName ( ) [virtual]

Reimplemented from vtkSMProxyLink.

static int vtkSMCameraLink::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkSMProxyLink.

virtual int vtkSMCameraLink::IsA ( const char *  type) [virtual]

Reimplemented from vtkSMProxyLink.

static vtkSMCameraLink* vtkSMCameraLink::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkSMProxyLink.

void vtkSMCameraLink::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkSMProxyLink.

virtual void vtkSMCameraLink::SetSynchronizeInteractiveRenders ( int  ) [virtual]

Get/Set if the link should synchronize interactive renders as well. On by default.

virtual int vtkSMCameraLink::GetSynchronizeInteractiveRenders ( ) [virtual]

Get/Set if the link should synchronize interactive renders as well. On by default.

virtual void vtkSMCameraLink::SynchronizeInteractiveRendersOn ( ) [virtual]

Get/Set if the link should synchronize interactive renders as well. On by default.

virtual void vtkSMCameraLink::SynchronizeInteractiveRendersOff ( ) [virtual]

Get/Set if the link should synchronize interactive renders as well. On by default.

void vtkSMCameraLink::AddLinkedProxy ( vtkSMProxy proxy,
int  updateDir 
) [virtual]

Add a property to the link. updateDir determines whether a property of the proxy is read or written. When a property of an input proxy changes, it's value is pushed to all other output proxies in the link. A proxy can be set to be both input and output by setting updateDir to INPUT | OUTPUT

Reimplemented from vtkSMProxyLink.

virtual void vtkSMCameraLink::RemoveLinkedProxy ( vtkSMProxy proxy) [virtual]

Remove a linked proxy.

Reimplemented from vtkSMProxyLink.

virtual void vtkSMCameraLink::UpdateViews ( vtkSMProxy caller,
bool  interactive 
) [virtual]

Update all the views linked with an OUTPUT direction. interactive indicates if the render is interactive or not.

virtual void vtkSMCameraLink::LoadState ( const vtkSMMessage msg,
vtkSMProxyLocator locator 
) [virtual]

This method is used to initialise the object to the given state If the definitionOnly Flag is set to True the proxy won't load the properties values and just setup the new proxy hierarchy with all subproxy globalID set. This allow to split the load process in 2 step to prevent invalid state when property refere to a sub-proxy that does not exist yet.

Reimplemented from vtkSMProxyLink.

virtual void vtkSMCameraLink::UpdateVTKObjects ( vtkSMProxy proxy) [protected, virtual]

Called when an input proxy is updated (UpdateVTKObjects). Argument is the input proxy.

Reimplemented from vtkSMProxyLink.

virtual void vtkSMCameraLink::PropertyModified ( vtkSMProxy proxy,
const char *  pname 
) [protected, virtual]

Called when a property of an input proxy is modified. caller:- the input proxy. pname:- name of the property being modified.

Reimplemented from vtkSMProxyLink.

virtual void vtkSMCameraLink::UpdateProperty ( vtkSMProxy ,
const char *   
) [inline, protected, virtual]

Called when a property is pushed. caller :- the input proxy. pname :- name of property that was pushed.

Reimplemented from vtkSMProxyLink.

Definition at line 84 of file vtkSMCameraLink.h.

virtual void vtkSMCameraLink::SaveXMLState ( const char *  linkname,
vtkPVXMLElement parent 
) [protected, virtual]

Save the state of the link.

Reimplemented from vtkSMProxyLink.

void vtkSMCameraLink::CopyProperties ( vtkSMProxy caller) [protected]

Internal method to copy vtkSMproperty values from caller to all linked proxies.

void vtkSMCameraLink::StartInteraction ( vtkObject caller) [protected]
void vtkSMCameraLink::EndInteraction ( vtkObject caller) [protected]
void vtkSMCameraLink::ResetCamera ( vtkObject caller) [protected]
virtual void vtkSMCameraLink::UpdateState ( ) [protected, virtual]

Update the internal protobuf state

Reimplemented from vtkSMProxyLink.


Friends And Related Function Documentation

friend class vtkInternals [friend]

Definition at line 106 of file vtkSMCameraLink.h.


Member Data Documentation

Definition at line 97 of file vtkSMCameraLink.h.


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