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

vtkPythonView is a view for displaying data via a Python script that uses matplotlib to generate a plot. More...

#include <vtkPythonView.h>

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

Public Types

typedef vtkPVView Superclass
 
- Public Types inherited from vtkPVView
typedef vtkView Superclass
 
- Public Types inherited from vtkView
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void Update () override
 Overrides the base class method to request an addition pass that moves data from the server to the client. More...
 
virtual vtkRendererGetRenderer ()
 Gets the renderer for this view. More...
 
virtual void SetRenderer (vtkRenderer *ren)
 
int GetNumberOfVisibleDataObjects ()
 Gets the number of visible data objects in the view. More...
 
vtkPythonRepresentationGetVisibleRepresentation (int visibleObjectIndex)
 Get the representation for the visible data object at the given index. More...
 
vtkDataObjectGetVisibleDataObjectForSetup (int visibleObjectIndex)
 Get a local copy of the visible data object at an index. More...
 
vtkDataObjectGetVisibleDataObjectForRendering (int visibleObjectIndex)
 Get the client's copy of the visible data object at an index. More...
 
int GetNumberOfAttributeArrays (int visibleObjectIndex, int attributeType)
 Get number of arrays in an attribute (e.g., vtkDataObject::POINT, vtkDataObject::CELL, vtkDataObject::ROW, vtkDataObject::FIELD_DATA) for the visible object at the given index. More...
 
const char * GetAttributeArrayName (int visibleObjectIndex, int attributeType, int arrayIndex)
 From the visible object at the given index, get the name of attribute array at index for the given attribute type. More...
 
void SetAttributeArrayStatus (int visibleObjectIndex, int attributeType, const char *name, int status)
 Set the array status for the visible object at the given index. More...
 
int GetAttributeArrayStatus (int visibleObjectIndex, int attributeType, const char *name)
 Get the status indicating whether the array with the given name and attribute type in the visible object will be copied to the client. More...
 
void EnableAllAttributeArrays ()
 Enable all attribute arrays. More...
 
void DisableAllAttributeArrays ()
 Disable all attribute arrays. More...
 
void StillRender () override
 Triggers a high-resolution render. More...
 
void InteractiveRender () override
 Triggers a interactive render. More...
 
virtual void SetScript (const char *)
 Get/Set the Python script. More...
 
virtual char * GetScript ()
 Get/Set the Python script. More...
 
virtual void SetMagnification (int, int)
 Magnification is needed to inform Python of the requested size of the plot. More...
 
void SetMagnification (int [2])
 Magnification is needed to inform Python of the requested size of the plot. More...
 
virtual intGetMagnification ()
 Magnification is needed to inform Python of the requested size of the plot. More...
 
virtual void GetMagnification (int &, int &)
 Magnification is needed to inform Python of the requested size of the plot. More...
 
virtual void GetMagnification (int [2])
 Magnification is needed to inform Python of the requested size of the plot. More...
 
virtual void SetImageData (vtkImageData *)
 Set the vtkImageData that will be displayed. More...
 
- Public Member Functions inherited from vtkPVView
virtual void SetPPI (int)
 Description: Set the screen PPI. More...
 
virtual int GetPPI ()
 
bool InTileDisplayMode ()
 Returns true if the application is currently in tile display mode. More...
 
bool InCaveDisplayMode ()
 Returns true if the application is currently in cave/immersive display mode. More...
 
bool GetLocalProcessSupportsInteraction ()
 Returns true if the local process can support interaction. More...
 
vtkRenderWindowGetRenderWindow ()
 If this view needs a render window (not all views may use one), this method can be used to get the render window associated with this view on the current process. More...
 
virtual void ScaleRendererViewports (const double viewport[4])
 vtkViewLayout calls this method to update the total viewport available for this view. More...
 
vtkMTimeType GetUpdateTimeStamp ()
 Provides access to the time when Update() was last called. More...
 
virtual void Deliver (int use_lod, unsigned int size, unsigned int *representation_ids)
 Called on all processes to request data-delivery for the list of representations. More...
 
virtual bool IsCached (vtkPVDataRepresentation *)
 Called in vtkPVDataRepresentation::ProcessViewRequest to check if the representation already has cached data. More...
 
virtual void ClearCache (vtkPVDataRepresentation *)
 Called by vtkPVDataRepresentation whenever vtkPVDataRepresentation::MarkModified is called. More...
 
virtual void SetPosition (int, int)
 Set the position on this view in the multiview configuration. More...
 
virtual intGetPosition ()
 Set the position on this view in the multiview configuration. More...
 
virtual void GetPosition (int &, int &)
 Set the position on this view in the multiview configuration. More...
 
virtual void GetPosition (int [2])
 Set the position on this view in the multiview configuration. More...
 
virtual void SetSize (int, int)
 Set the size of this view in the multiview configuration. More...
 
virtual intGetSize ()
 Set the size of this view in the multiview configuration. More...
 
virtual void GetSize (int &, int &)
 Set the size of this view in the multiview configuration. More...
 
virtual void GetSize (int [2])
 Set the size of this view in the multiview configuration. More...
 
virtual void SetViewTime (double value)
 Get/Set the time this view is showing. More...
 
virtual double GetViewTime ()
 Get/Set the time this view is showing. More...
 
virtual void SetCacheKey (double)
 Get/Set the cache key. More...
 
virtual double GetCacheKey ()
 Get/Set the cache key. More...
 
virtual void SetUseCache (bool)
 Get/Set whether caching is enabled. More...
 
virtual bool GetUseCache ()
 Get/Set whether caching is enabled. More...
 
virtual void PrepareForScreenshot ()
 These methods are used to setup the view for capturing screen shots. More...
 
virtual void CleanupAfterScreenshot ()
 These methods are used to setup the view for capturing screen shots. More...
 
void SetTileScale (int x, int y)
 When saving screenshots with tiling, these methods get called. More...
 
void SetTileViewport (double x0, double y0, double x1, double y1)
 When saving screenshots with tiling, these methods get called. More...
 
virtual void SetLogName (const std::string &name)
 This is solely intended to simplify debugging and use for any other purpose is vehemently discouraged. More...
 
const std::stringGetLogName () const
 This is solely intended to simplify debugging and use for any other purpose is vehemently discouraged. More...
 
void SetDeliveryManager (vtkPVDataDeliveryManager *)
 Provides access to data delivery & cache manager for this view. More...
 
virtual vtkPVDataDeliveryManagerGetDeliveryManager ()
 Provides access to data delivery & cache manager for this view. More...
 
- Public Member Functions inherited from vtkView
vtkViewNewInstance () const
 
void AddRepresentation (vtkDataRepresentation *rep)
 
void SetRepresentation (vtkDataRepresentation *rep)
 
vtkDataRepresentationAddRepresentationFromInputConnection (vtkAlgorithmOutput *conn)
 
vtkDataRepresentationSetRepresentationFromInputConnection (vtkAlgorithmOutput *conn)
 
vtkDataRepresentationAddRepresentationFromInput (vtkDataObject *input)
 
vtkDataRepresentationSetRepresentationFromInput (vtkDataObject *input)
 
void RemoveRepresentation (vtkDataRepresentation *rep)
 
void RemoveRepresentation (vtkAlgorithmOutput *rep)
 
void RemoveAllRepresentations ()
 
int GetNumberOfRepresentations ()
 
vtkDataRepresentationGetRepresentation (int index=0)
 
bool IsRepresentationPresent (vtkDataRepresentation *rep)
 
virtual void ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme))
 
vtkCommandGetObserver ()
 
void RegisterProgress (vtkObject *algorithm, const char *message=NULL)
 
void UnRegisterProgress (vtkObject *algorithm)
 
- 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 vtkPythonViewNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPythonViewSafeDownCast (vtkObject *o)
 
static vtkInformationRequestKeyREQUEST_DELIVER_DATA_TO_CLIENT ()
 This is a pass for delivering data from the server nodes to the client. More...
 
- Static Public Member Functions inherited from vtkPVView
static int IsTypeOf (const char *type)
 
static vtkPVViewSafeDownCast (vtkObject *o)
 
static void SetEnableStreaming (bool)
 
static bool GetEnableStreaming ()
 
static vtkInformationObjectBaseKeyVIEW ()
 Key used to pass the vtkPVView pointer to the representation during any of the view passes such as REQUEST_UPDATE(), REQUEST_UPDATE_LOD(), REQUEST_RENDER(), etc. More...
 
static vtkInformationRequestKeyREQUEST_UPDATE ()
 This is a Update-Data pass. More...
 
static vtkInformationRequestKeyREQUEST_UPDATE_LOD ()
 This is a Update-LOD-Data pass. More...
 
static vtkInformationRequestKeyREQUEST_RENDER ()
 This is a render pass. More...
 
static void SetPiece (vtkInformation *info, vtkPVDataRepresentation *repr, vtkDataObject *data, unsigned long trueSize=0, int port=0)
 
static vtkDataObjectGetPiece (vtkInformation *info, vtkPVDataRepresentation *repr, int port=0)
 
static vtkDataObjectGetDeliveredPiece (vtkInformation *info, vtkPVDataRepresentation *repr, int port=0)
 
static void SetPieceLOD (vtkInformation *info, vtkPVDataRepresentation *repr, vtkDataObject *data, unsigned long trueSize=0, int port=0)
 
static vtkDataObjectGetPieceLOD (vtkInformation *info, vtkPVDataRepresentation *repr, int port=0)
 
static vtkDataObjectGetDeliveredPieceLOD (vtkInformation *info, vtkPVDataRepresentation *repr, int port=0)
 
static void SetUseGenericOpenGLRenderWindow (bool val)
 Use this to indicate that the process should use vtkGenericOpenGLRenderWindow rather than vtkRenderWindow when creating an new render window. More...
 
static bool GetUseGenericOpenGLRenderWindow ()
 Use this to indicate that the process should use vtkGenericOpenGLRenderWindow rather than vtkRenderWindow when creating an new render window. More...
 
- Static Public Member Functions inherited from vtkView
static vtkViewNew ()
 
static int IsTypeOf (const char *type)
 
static vtkViewSafeDownCast (vtkObjectBase *o)
 
- 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

 vtkPythonView ()
 
 ~vtkPythonView () override
 
bool IsLocalDataAvailable ()
 Is local data available? More...
 
- Protected Member Functions inherited from vtkPVView
 vtkPVView (bool create_render_window=true)
 
 ~vtkPVView () override
 
vtkRenderWindowNewRenderWindow ()
 Subclasses should use this method to create new render windows instead of directly creating a new one. More...
 
void SetRenderWindow (vtkRenderWindow *)
 Subclasses can use this method to set the render window created for this view. More...
 
void AllReduce (const vtkBoundingBox &source, vtkBoundingBox &dest)
 Reduce bounding box between all participating processes. More...
 
void AllReduce (const vtkTypeUInt64 source, vtkTypeUInt64 &dest, int operation, bool skip_data_server=false)
 Reduce between all participating processes using the operation (vtkCommunicator::StandardOperations) specified. More...
 
vtkPVSessionGetSession ()
 
virtual bool GetInCaptureScreenshot ()
 Flag set to true between calls to PrepareForScreenshot and CleanupAfterScreenshot. More...
 
void AddRepresentationInternal (vtkDataRepresentation *rep) override
 Overridden to assign IDs to each representation. More...
 
void RemoveRepresentationInternal (vtkDataRepresentation *rep) override
 Overridden to assign IDs to each representation. More...
 
int CallProcessViewRequest (vtkInformationRequestKey *passType, vtkInformation *request, vtkInformationVector *reply)
 Subclasses can use this method to trigger a pass on all representations. More...
 
- Protected Member Functions inherited from vtkView
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkView ()
 
 ~vtkView ()
 
virtual vtkDataRepresentationCreateDefaultRepresentation (vtkAlgorithmOutput *conn)
 
virtual void ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData)
 
virtual void AddRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep))
 
virtual void RemoveRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep))
 
virtual void ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData)
 
virtual void AddRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep))
 
virtual void RemoveRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep))
 
virtual void SetReuseSingleRepresentation (bool)
 
virtual bool GetReuseSingleRepresentation ()
 
virtual void ReuseSingleRepresentationOn ()
 
virtual void ReuseSingleRepresentationOff ()
 
- 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

vtkSmartPointer< vtkTextureRenderTexture
 
vtkSmartPointer< vtkRendererRenderer
 
int Magnification [2]
 
- Protected Attributes inherited from vtkPVView
double ViewTime
 
double CacheKey
 
bool UseCache
 
int Size [2]
 
int Position [2]
 
int PPI
 
vtkTimeStamp UpdateTimeStamp
 Keeps track of the time when vtkPVRenderView::Update() was called. More...
 
vtkInformationRequestInformation
 These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More...
 
vtkInformationVectorReplyInformationVector
 These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More...
 
- Protected Attributes inherited from vtkView
bool ReuseSingleRepresentation
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkPVView
static vtkPVDataDeliveryManagerGetDeliveryManager (vtkInformation *info)
 

Detailed Description

vtkPythonView is a view for displaying data via a Python script that uses matplotlib to generate a plot.

Definition at line 38 of file vtkPythonView.h.

Member Typedef Documentation

◆ Superclass

Definition at line 42 of file vtkPythonView.h.

Constructor & Destructor Documentation

◆ vtkPythonView()

vtkPythonView::vtkPythonView ( )
protected

◆ ~vtkPythonView()

vtkPythonView::~vtkPythonView ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkPythonView* vtkPythonView::New ( )
static

◆ GetClassName()

virtual const char* vtkPythonView::GetClassName ( )
virtual

Reimplemented from vtkPVView.

◆ IsTypeOf()

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

◆ IsA()

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

Reimplemented from vtkPVView.

◆ SafeDownCast()

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

◆ PrintSelf()

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

Reimplemented from vtkPVView.

◆ REQUEST_DELIVER_DATA_TO_CLIENT()

static vtkInformationRequestKey* vtkPythonView::REQUEST_DELIVER_DATA_TO_CLIENT ( )
static

This is a pass for delivering data from the server nodes to the client.

◆ Update()

void vtkPythonView::Update ( )
overridevirtual

Overrides the base class method to request an addition pass that moves data from the server to the client.

Reimplemented from vtkPVView.

◆ GetRenderer()

virtual vtkRenderer* vtkPythonView::GetRenderer ( )
virtual

Gets the renderer for this view.

◆ SetRenderer()

virtual void vtkPythonView::SetRenderer ( vtkRenderer ren)
virtual

◆ SetScript()

virtual void vtkPythonView::SetScript ( const char *  )
virtual

Get/Set the Python script.

◆ GetScript()

virtual char* vtkPythonView::GetScript ( )
virtual

Get/Set the Python script.

◆ SetMagnification() [1/2]

virtual void vtkPythonView::SetMagnification ( int  ,
int   
)
virtual

Magnification is needed to inform Python of the requested size of the plot.

◆ SetMagnification() [2/2]

void vtkPythonView::SetMagnification ( int  [2])

Magnification is needed to inform Python of the requested size of the plot.

◆ GetMagnification() [1/3]

virtual int* vtkPythonView::GetMagnification ( )
virtual

Magnification is needed to inform Python of the requested size of the plot.

◆ GetMagnification() [2/3]

virtual void vtkPythonView::GetMagnification ( int ,
int  
)
virtual

Magnification is needed to inform Python of the requested size of the plot.

◆ GetMagnification() [3/3]

virtual void vtkPythonView::GetMagnification ( int  [2])
virtual

Magnification is needed to inform Python of the requested size of the plot.

◆ GetNumberOfVisibleDataObjects()

int vtkPythonView::GetNumberOfVisibleDataObjects ( )

Gets the number of visible data objects in the view.

◆ GetVisibleRepresentation()

vtkPythonRepresentation* vtkPythonView::GetVisibleRepresentation ( int  visibleObjectIndex)

Get the representation for the visible data object at the given index.

◆ GetVisibleDataObjectForSetup()

vtkDataObject* vtkPythonView::GetVisibleDataObjectForSetup ( int  visibleObjectIndex)

Get a local copy of the visible data object at an index.

The index must be between 0 and this->GetNumberOfVisibleDataObjects(). If outside this range, returns nullptr. This will return a shallow copy of the data object input to the representation.

WARNING: this method is intended to be called only from within the setup_data() function in the Python Script set for this instance.

◆ GetVisibleDataObjectForRendering()

vtkDataObject* vtkPythonView::GetVisibleDataObjectForRendering ( int  visibleObjectIndex)

Get the client's copy of the visible data object at an index.

The index must be between 0 and this->GetNumberOfVisibleDataObjects(). If outside this range, returns nullptr.

WARNING: this method should be called only from within the render() function in the Python Script set for this instance.

◆ GetNumberOfAttributeArrays()

int vtkPythonView::GetNumberOfAttributeArrays ( int  visibleObjectIndex,
int  attributeType 
)

Get number of arrays in an attribute (e.g., vtkDataObject::POINT, vtkDataObject::CELL, vtkDataObject::ROW, vtkDataObject::FIELD_DATA) for the visible object at the given index.

◆ GetAttributeArrayName()

const char* vtkPythonView::GetAttributeArrayName ( int  visibleObjectIndex,
int  attributeType,
int  arrayIndex 
)

From the visible object at the given index, get the name of attribute array at index for the given attribute type.

◆ SetAttributeArrayStatus()

void vtkPythonView::SetAttributeArrayStatus ( int  visibleObjectIndex,
int  attributeType,
const char *  name,
int  status 
)

Set the array status for the visible object at the given index.

A status of 1 means that the array with the given name for the given attribute will be copied to the client. A status of 0 means the array will not be copied to the client. The status is 0 by default.

◆ GetAttributeArrayStatus()

int vtkPythonView::GetAttributeArrayStatus ( int  visibleObjectIndex,
int  attributeType,
const char *  name 
)

Get the status indicating whether the array with the given name and attribute type in the visible object will be copied to the client.

Status is 0 by default.

◆ EnableAllAttributeArrays()

void vtkPythonView::EnableAllAttributeArrays ( )

Enable all attribute arrays.

◆ DisableAllAttributeArrays()

void vtkPythonView::DisableAllAttributeArrays ( )

Disable all attribute arrays.

◆ StillRender()

void vtkPythonView::StillRender ( )
overridevirtual

Triggers a high-resolution render.

Note
CallOnAllProcesses

Implements vtkPVView.

◆ InteractiveRender()

void vtkPythonView::InteractiveRender ( )
overridevirtual

Triggers a interactive render.

Based on the settings on the view, this may result in a low-resolution rendering or a simplified geometry rendering.

Note
CallOnAllProcesses

Implements vtkPVView.

◆ SetImageData()

virtual void vtkPythonView::SetImageData ( vtkImageData )
virtual

Set the vtkImageData that will be displayed.

This is an internal method meant only to be called from the python side, but must be exposed to be wrapped.

◆ IsLocalDataAvailable()

bool vtkPythonView::IsLocalDataAvailable ( )
protected

Is local data available?

Member Data Documentation

◆ RenderTexture

vtkSmartPointer<vtkTexture> vtkPythonView::RenderTexture
protected

Definition at line 169 of file vtkPythonView.h.

◆ Renderer

vtkSmartPointer<vtkRenderer> vtkPythonView::Renderer
protected

Definition at line 170 of file vtkPythonView.h.

◆ Magnification

int vtkPythonView::Magnification[2]
protected

Definition at line 173 of file vtkPythonView.h.


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