ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkIceTContext Class Reference

#include <vtkIceTContext.h>

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

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void MakeCurrent ()
virtual void CopyState (vtkIceTContext *src)
virtual int IsValid ()
virtual void SetController (vtkMultiProcessController *controller)
virtual vtkMultiProcessControllerGetController ()
virtual int GetUseOpenGL ()
virtual void SetUseOpenGL (int flag)
virtual void UseOpenGLOn ()
virtual void UseOpenGLOff ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkIceTContextSafeDownCast (vtkObject *o)
static vtkIceTContextNew ()

Protected Member Functions

 vtkIceTContext ()
 ~vtkIceTContext ()

Protected Attributes

vtkMultiProcessControllerController
int UseOpenGL

Detailed Description

This is a helper class for vtkIceTRenderManager and vtkOpenGLIceTRenderer. Most users will never need this class.

This class was conceived to pass IceT contexts between vtkIceTRenderManager and vtkOpenGLIceTRenderer without having to include the IceT header file in either class. Along the way, some functionality was added.

Bug:
If you set the communicator to NULL and then to a valid value, the IceT state will be lost.
See also:
vtkIceTRenderManager

Definition at line 49 of file vtkIceTContext.h.


Constructor & Destructor Documentation

vtkIceTContext::vtkIceTContext ( ) [protected]
vtkIceTContext::~vtkIceTContext ( ) [protected]

Member Function Documentation

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

Reimplemented from vtkObject.

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

Reimplemented from vtkObject.

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

Reimplemented from vtkObject.

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

Reimplemented from vtkObject.

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

Reimplemented from vtkObject.

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

Reimplemented from vtkObject.

virtual void vtkIceTContext::SetController ( vtkMultiProcessController controller) [virtual]

Associate the context with the given controller. Currently, this must be a vtkMPIController. The context is not valid until a controller is set.

virtual vtkMultiProcessController* vtkIceTContext::GetController ( ) [virtual]

Associate the context with the given controller. Currently, this must be a vtkMPIController. The context is not valid until a controller is set.

virtual void vtkIceTContext::MakeCurrent ( ) [virtual]

Make this context the current one.

virtual int vtkIceTContext::GetUseOpenGL ( ) [virtual]

Turn this on to enable the OpenGL layer in IceT. By default this is off. Unless you explicitly plan to use the OpenGL layer, it should probably remain off to ensure that you don't accidentally use a feature you did not intend to use.

virtual void vtkIceTContext::SetUseOpenGL ( int  flag) [virtual]

Turn this on to enable the OpenGL layer in IceT. By default this is off. Unless you explicitly plan to use the OpenGL layer, it should probably remain off to ensure that you don't accidentally use a feature you did not intend to use.

virtual void vtkIceTContext::UseOpenGLOn ( ) [virtual]

Turn this on to enable the OpenGL layer in IceT. By default this is off. Unless you explicitly plan to use the OpenGL layer, it should probably remain off to ensure that you don't accidentally use a feature you did not intend to use.

virtual void vtkIceTContext::UseOpenGLOff ( ) [virtual]

Turn this on to enable the OpenGL layer in IceT. By default this is off. Unless you explicitly plan to use the OpenGL layer, it should probably remain off to ensure that you don't accidentally use a feature you did not intend to use.

virtual void vtkIceTContext::CopyState ( vtkIceTContext src) [virtual]

Copy the state from the given context to this context.

virtual int vtkIceTContext::IsValid ( ) [virtual]

Returns true if the current state is valid.


Member Data Documentation

Definition at line 87 of file vtkIceTContext.h.

Definition at line 89 of file vtkIceTContext.h.


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