ParaView
|
creates a link between two cameras. More...
#include <vtkSMCameraLink.h>
Public Types | |
typedef vtkSMProxyLink | Superclass |
![]() | |
typedef vtkSMLink | Superclass |
![]() | |
enum | UpdateDirections { NONE = 0, INPUT = 1, OUTPUT = 2 } |
typedef vtkSMRemoteObject | Superclass |
![]() | |
typedef vtkSMSessionObject | Superclass |
![]() | |
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) |
void | AddLinkedProxy (vtkSMProxy *proxy, int updateDir) |
Add a property to the link. More... | |
virtual void | RemoveLinkedProxy (vtkSMProxy *proxy) |
Remove a linked proxy. More... | |
virtual void | UpdateViews (vtkSMProxy *caller, bool interactive) |
Update all the views linked with an OUTPUT direction. More... | |
virtual void | LoadState (const vtkSMMessage *msg, vtkSMProxyLocator *locator) |
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. More... | |
virtual void | SetSynchronizeInteractiveRenders (int) |
Get/Set if the link should synchronize interactive renders as well. More... | |
virtual int | GetSynchronizeInteractiveRenders () |
Get/Set if the link should synchronize interactive renders as well. More... | |
virtual void | SynchronizeInteractiveRendersOn () |
Get/Set if the link should synchronize interactive renders as well. More... | |
virtual void | SynchronizeInteractiveRendersOff () |
Get/Set if the link should synchronize interactive renders as well. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkSMProxy * | GetLinkedProxy (int index) |
Get a proxy involved in this link. More... | |
virtual void | RemoveAllLinks () |
Remove all links. More... | |
unsigned int | GetNumberOfLinkedObjects () |
Get the number of proxies that are involved in this link. More... | |
unsigned int | GetNumberOfLinkedProxies () |
Get the number of proxies that are involved in this link. More... | |
int | GetLinkedObjectDirection (int index) |
Get the direction of a proxy involved in this link (see vtkSMLink::UpdateDirections) More... | |
int | GetLinkedProxyDirection (int index) |
Get the direction of a proxy involved in this link (see vtkSMLink::UpdateDirections) More... | |
void | AddException (const char *propertyname) |
It is possible to exclude certain properties from being synchronized by this link. More... | |
void | RemoveException (const char *propertyname) |
It is possible to exclude certain properties from being synchronized by this link. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual const vtkSMMessage * | GetFullState () |
This method returns the full object state that can be used to create the object from scratch. More... | |
virtual void | SetPropagateUpdateVTKObjects (int) |
This flag determines if UpdateVTKObjects calls are to be propagated. More... | |
virtual int | GetPropagateUpdateVTKObjects () |
This flag determines if UpdateVTKObjects calls are to be propagated. More... | |
virtual void | PropagateUpdateVTKObjectsOn () |
This flag determines if UpdateVTKObjects calls are to be propagated. More... | |
virtual void | PropagateUpdateVTKObjectsOff () |
This flag determines if UpdateVTKObjects calls are to be propagated. More... | |
virtual void | SetEnabled (bool) |
Get/Set if the link is enabled. More... | |
virtual bool | GetEnabled () |
Get/Set if the link is enabled. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetSession (vtkSMSession *) |
Override the SetSession so if the object already have an ID we automatically register it to the associated session. More... | |
bool | HasGlobalID () |
Allow the user to test if the RemoteObject has already a GlobalID without assigning a new one to it. More... | |
virtual void | EnableLocalPushOnly () |
Allow to switch off any push of state change to the server for that particular object. More... | |
virtual void | DisableLocalPushOnly () |
Enable the given remote object to communicate its state normaly to the server location. More... | |
virtual bool | IsLocalPushOnly () |
Let the session be aware that even if the Location is client only, the message should not be send to the server for a general broadcast. More... | |
virtual void | SetLocation (vtkTypeUInt32) |
Get/Set the location where the underlying VTK-objects are created. More... | |
virtual vtkTypeUInt32 | GetLocation () |
Get/Set the location where the underlying VTK-objects are created. More... | |
virtual vtkTypeUInt32 | GetGlobalID () |
Get the global unique id for this object. More... | |
const char * | GetGlobalIDAsString () |
Get the global unique id for this object. More... | |
virtual void | PrototypeOn () |
Allow user to set the remote object to be discard for Undo/Redo action. More... | |
virtual void | PrototypeOff () |
Allow user to set the remote object to be discard for Undo/Redo action. More... | |
bool | IsPrototype () |
Allow user to set the remote object to be discard for Undo/Redo action. More... | |
virtual void | SetPrototype (bool) |
Allow user to set the remote object to be discard for Undo/Redo action. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkSMSessionProxyManager * | GetSessionProxyManager () |
Return the corresponding ProxyManager if any. More... | |
virtual vtkSMSession * | GetSession () |
Get/Set the session on wihch this object exists. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkSMCameraLink * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMCameraLink * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkSMProxyLink * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMProxyLink * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkSMLink * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkSMRemoteObject * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkSMSessionObject * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMSessionObject * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkSMObject * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMObject * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSMCameraLink () | |
~vtkSMCameraLink () | |
virtual void | UpdateVTKObjects (vtkSMProxy *proxy) |
Called when an input proxy is updated (UpdateVTKObjects). More... | |
virtual void | PropertyModified (vtkSMProxy *proxy, const char *pname) |
Called when a property of an input proxy is modified. More... | |
virtual void | UpdateProperty (vtkSMProxy *, const char *) |
Called when a property is pushed. More... | |
virtual void | SaveXMLState (const char *linkname, vtkPVXMLElement *parent) |
Save the state of the link. More... | |
void | CopyProperties (vtkSMProxy *caller) |
Internal method to copy vtkSMproperty values from caller to all linked proxies. More... | |
void | StartInteraction (vtkObject *caller) |
void | EndInteraction (vtkObject *caller) |
void | ResetCamera (vtkObject *caller) |
virtual void | UpdateState () |
Update the internal protobuf state. More... | |
![]() | |
vtkSMProxyLink () | |
~vtkSMProxyLink () | |
virtual int | LoadXMLState (vtkPVXMLElement *linkElement, vtkSMProxyLocator *locator) |
Load the link state. More... | |
![]() | |
vtkSMLink () | |
~vtkSMLink () | |
void | PushStateToSession () |
When the state has changed we call that method so the state can be shared if any collaboration is involved. More... | |
void | ObserveProxyUpdates (vtkSMProxy *proxy) |
Subclasses call this method to observer events on a INPUT proxy. More... | |
![]() | |
vtkSMRemoteObject () | |
Default constructor. More... | |
virtual | ~vtkSMRemoteObject () |
Destructor. More... | |
void | PushState (vtkSMMessage *msg) |
Subclasses can call this method to send a message to its state object on the server processes specified. More... | |
bool | PullState (vtkSMMessage *msg) |
Subclasses can call this method to pull the state from the state-object on the server processes specified. More... | |
void | SetGlobalID (vtkTypeUInt32 guid) |
Set the GlobalUniqueId. More... | |
vtkTypeUInt32 | GetFilteredLocation () |
![]() | |
vtkSMSessionObject () | |
~vtkSMSessionObject () | |
![]() | |
vtkSMObject () | |
~vtkSMObject () | |
Protected Attributes | |
int | SynchronizeInteractiveRenders |
![]() | |
vtkCommand * | Observer |
int | PropagateUpdateVTKObjects |
bool | Enabled |
vtkSMMessage * | State |
![]() | |
vtkTypeUInt32 | GlobalID |
vtkTypeUInt32 | Location |
bool | Prototype |
bool | ClientOnlyLocationFlag |
![]() | |
vtkWeakPointer< vtkSMSession > | Session |
Friends | |
class | vtkInternals |
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 32 of file vtkSMCameraLink.h.
Definition at line 36 of file vtkSMCameraLink.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkSMProxyLink.
|
static |
|
virtual |
Reimplemented from vtkSMProxyLink.
|
static |
void vtkSMCameraLink::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Get/Set if the link should synchronize interactive renders as well.
On by default.
|
virtual |
Get/Set if the link should synchronize interactive renders as well.
On by default.
|
virtual |
Get/Set if the link should synchronize interactive renders as well.
On by default.
|
virtual |
Get/Set if the link should synchronize interactive renders as well.
On by default.
|
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 |
Remove a linked proxy.
Reimplemented from vtkSMProxyLink.
|
virtual |
Update all the views linked with an OUTPUT direction.
interactive
indicates if the render is interactive or not.
|
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.
|
protectedvirtual |
Called when an input proxy is updated (UpdateVTKObjects).
Argument is the input proxy.
Reimplemented from vtkSMProxyLink.
|
protectedvirtual |
Called when a property of an input proxy is modified.
caller:- the input proxy. pname:- name of the property being modified.
Reimplemented from vtkSMProxyLink.
|
inlineprotectedvirtual |
Called when a property is pushed.
caller :- the input proxy. pname :- name of property that was pushed.
Reimplemented from vtkSMProxyLink.
Definition at line 100 of file vtkSMCameraLink.h.
|
protectedvirtual |
Save the state of the link.
Reimplemented from vtkSMProxyLink.
|
protected |
Internal method to copy vtkSMproperty values from caller to all linked proxies.
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Update the internal protobuf state.
Reimplemented from vtkSMProxyLink.
|
friend |
Definition at line 127 of file vtkSMCameraLink.h.
|
protected |
Definition at line 117 of file vtkSMCameraLink.h.