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

Gets python features. More...

#include <vtkPVPythonInformation.h>

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

Public Types

typedef vtkPVInformation Superclass
 
- Public Types inherited from vtkPVInformation
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void DeepCopy (vtkPVPythonInformation *info)
 
void CopyFromObject (vtkObject *) override
 Transfer information about a single object into this object. More...
 
void AddInformation (vtkPVInformation *) override
 Same as DeepCopy for this object. More...
 
void CopyToStream (vtkClientServerStream *) override
 Manage a serialized version of the information. More...
 
void CopyFromStream (const vtkClientServerStream *) override
 Manage a serialized version of the information. More...
 
virtual void SetPythonSupport (bool)
 Whether the server was compiled with python support. More...
 
virtual bool GetPythonSupport ()
 Whether the server was compiled with python support. More...
 
virtual void PythonSupportOn ()
 Whether the server was compiled with python support. More...
 
virtual void PythonSupportOff ()
 Whether the server was compiled with python support. More...
 
void SetPythonVersion (const std::string &arg)
 If GetPythonSupport() is true, returns the version of python detected on the server. More...
 
const std::stringGetPythonVersion ()
 If GetPythonSupport() is true, returns the version of python detected on the server. More...
 
void SetPythonPath (const std::string &arg)
 If GetPythonSupport() is true, returns the path to the python libraries detected on the server. More...
 
const std::stringGetPythonPath ()
 If GetPythonSupport() is true, returns the path to the python libraries detected on the server. More...
 
virtual void SetNumpySupport (bool)
 Whether the numpy module is available on the server. More...
 
virtual bool GetNumpySupport ()
 Whether the numpy module is available on the server. More...
 
virtual void NumpySupportOn ()
 Whether the numpy module is available on the server. More...
 
virtual void NumpySupportOff ()
 Whether the numpy module is available on the server. More...
 
void SetNumpyVersion (const std::string &arg)
 If GetNumpySupport() is true, returns the version of numpy detected on the server. More...
 
const std::stringGetNumpyVersion ()
 If GetNumpySupport() is true, returns the version of numpy detected on the server. More...
 
void SetNumpyPath (const std::string &arg)
 If GetNumpySupport() is true, returns the path to numpy detected on the server. More...
 
const std::stringGetNumpyPath ()
 If GetNumpySupport() is true, returns the path to numpy detected on the server. More...
 
virtual void SetMatplotlibSupport (bool)
 Whether the matplotlib module is available on the server. More...
 
virtual bool GetMatplotlibSupport ()
 Whether the matplotlib module is available on the server. More...
 
virtual void MatplotlibSupportOn ()
 Whether the matplotlib module is available on the server. More...
 
virtual void MatplotlibSupportOff ()
 Whether the matplotlib module is available on the server. More...
 
void SetMatplotlibVersion (const std::string &arg)
 If GetMatplotlibSupport() is true, returns the version of matplotlib detected on the server. More...
 
const std::stringGetMatplotlibVersion ()
 If GetMatplotlibSupport() is true, returns the version of matplotlib detected on the server. More...
 
void SetMatplotlibPath (const std::string &arg)
 If GetMatplotlibSupport() is true, returns the path to matplotlib detected on the server. More...
 
const std::stringGetMatplotlibPath ()
 If GetMatplotlibSupport() is true, returns the path to matplotlib detected on the server. More...
 
- Public Member Functions inherited from vtkPVInformation
virtual void CopyParametersToStream (vtkMultiProcessStream &)
 Serialize/Deserialize the parameters that control how/what information is gathered. More...
 
virtual void CopyParametersFromStream (vtkMultiProcessStream &)
 Serialize/Deserialize the parameters that control how/what information is gathered. More...
 
virtual int GetRootOnly ()
 Set/get whether to gather information only from the root. More...
 
- 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 vtkPVPythonInformationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVPythonInformationSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPVInformation
static int IsTypeOf (const char *type)
 
static vtkPVInformationSafeDownCast (vtkObject *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

 vtkPVPythonInformation ()
 
 ~vtkPVPythonInformation () override
 
- Protected Member Functions inherited from vtkPVInformation
 vtkPVInformation ()
 
 ~vtkPVInformation () override
 
virtual void SetRootOnly (int)
 
 vtkPVInformation (const vtkPVInformation &)=delete
 
void operator= (const vtkPVInformation &)=delete
 
- 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

bool PythonSupport
 
std::string PythonPath
 
std::string PythonVersion
 
bool NumpySupport
 
std::string NumpyVersion
 
std::string NumpyPath
 
bool MatplotlibSupport
 
std::string MatplotlibVersion
 
std::string MatplotlibPath
 
- Protected Attributes inherited from vtkPVInformation
int RootOnly
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

Gets python features.

Get details of python availability on the root server.

Definition at line 32 of file vtkPVPythonInformation.h.

Member Typedef Documentation

◆ Superclass

Definition at line 36 of file vtkPVPythonInformation.h.

Constructor & Destructor Documentation

◆ vtkPVPythonInformation()

vtkPVPythonInformation::vtkPVPythonInformation ( )
protected

◆ ~vtkPVPythonInformation()

vtkPVPythonInformation::~vtkPVPythonInformation ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkPVPythonInformation* vtkPVPythonInformation::New ( )
static

◆ GetClassName()

virtual const char* vtkPVPythonInformation::GetClassName ( )
virtual

Reimplemented from vtkPVInformation.

◆ IsTypeOf()

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

◆ IsA()

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

Reimplemented from vtkPVInformation.

◆ SafeDownCast()

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

◆ PrintSelf()

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

Reimplemented from vtkPVInformation.

◆ DeepCopy()

void vtkPVPythonInformation::DeepCopy ( vtkPVPythonInformation info)

◆ CopyFromObject()

void vtkPVPythonInformation::CopyFromObject ( vtkObject )
overridevirtual

Transfer information about a single object into this object.

Reimplemented from vtkPVInformation.

◆ AddInformation()

void vtkPVPythonInformation::AddInformation ( vtkPVInformation )
overridevirtual

Same as DeepCopy for this object.

Reimplemented from vtkPVInformation.

◆ CopyToStream()

void vtkPVPythonInformation::CopyToStream ( vtkClientServerStream )
overridevirtual

Manage a serialized version of the information.

Implements vtkPVInformation.

◆ CopyFromStream()

void vtkPVPythonInformation::CopyFromStream ( const vtkClientServerStream )
overridevirtual

Manage a serialized version of the information.

Reimplemented from vtkPVInformation.

◆ SetPythonSupport()

virtual void vtkPVPythonInformation::SetPythonSupport ( bool  )
virtual

Whether the server was compiled with python support.

◆ GetPythonSupport()

virtual bool vtkPVPythonInformation::GetPythonSupport ( )
virtual

Whether the server was compiled with python support.

◆ PythonSupportOn()

virtual void vtkPVPythonInformation::PythonSupportOn ( )
virtual

Whether the server was compiled with python support.

◆ PythonSupportOff()

virtual void vtkPVPythonInformation::PythonSupportOff ( )
virtual

Whether the server was compiled with python support.

◆ SetPythonVersion()

void vtkPVPythonInformation::SetPythonVersion ( const std::string arg)
inline

If GetPythonSupport() is true, returns the version of python detected on the server.

Definition at line 72 of file vtkPVPythonInformation.h.

◆ GetPythonVersion()

const std::string& vtkPVPythonInformation::GetPythonVersion ( )
inline

If GetPythonSupport() is true, returns the version of python detected on the server.

Definition at line 80 of file vtkPVPythonInformation.h.

◆ SetPythonPath()

void vtkPVPythonInformation::SetPythonPath ( const std::string arg)
inline

If GetPythonSupport() is true, returns the path to the python libraries detected on the server.

Definition at line 88 of file vtkPVPythonInformation.h.

◆ GetPythonPath()

const std::string& vtkPVPythonInformation::GetPythonPath ( )
inline

If GetPythonSupport() is true, returns the path to the python libraries detected on the server.

Definition at line 96 of file vtkPVPythonInformation.h.

◆ SetNumpySupport()

virtual void vtkPVPythonInformation::SetNumpySupport ( bool  )
virtual

Whether the numpy module is available on the server.

◆ GetNumpySupport()

virtual bool vtkPVPythonInformation::GetNumpySupport ( )
virtual

Whether the numpy module is available on the server.

◆ NumpySupportOn()

virtual void vtkPVPythonInformation::NumpySupportOn ( )
virtual

Whether the numpy module is available on the server.

◆ NumpySupportOff()

virtual void vtkPVPythonInformation::NumpySupportOff ( )
virtual

Whether the numpy module is available on the server.

◆ SetNumpyVersion()

void vtkPVPythonInformation::SetNumpyVersion ( const std::string arg)
inline

If GetNumpySupport() is true, returns the version of numpy detected on the server.

Definition at line 112 of file vtkPVPythonInformation.h.

◆ GetNumpyVersion()

const std::string& vtkPVPythonInformation::GetNumpyVersion ( )
inline

If GetNumpySupport() is true, returns the version of numpy detected on the server.

Definition at line 120 of file vtkPVPythonInformation.h.

◆ SetNumpyPath()

void vtkPVPythonInformation::SetNumpyPath ( const std::string arg)
inline

If GetNumpySupport() is true, returns the path to numpy detected on the server.

Definition at line 128 of file vtkPVPythonInformation.h.

◆ GetNumpyPath()

const std::string& vtkPVPythonInformation::GetNumpyPath ( )
inline

If GetNumpySupport() is true, returns the path to numpy detected on the server.

Definition at line 136 of file vtkPVPythonInformation.h.

◆ SetMatplotlibSupport()

virtual void vtkPVPythonInformation::SetMatplotlibSupport ( bool  )
virtual

Whether the matplotlib module is available on the server.

◆ GetMatplotlibSupport()

virtual bool vtkPVPythonInformation::GetMatplotlibSupport ( )
virtual

Whether the matplotlib module is available on the server.

◆ MatplotlibSupportOn()

virtual void vtkPVPythonInformation::MatplotlibSupportOn ( )
virtual

Whether the matplotlib module is available on the server.

◆ MatplotlibSupportOff()

virtual void vtkPVPythonInformation::MatplotlibSupportOff ( )
virtual

Whether the matplotlib module is available on the server.

◆ SetMatplotlibVersion()

void vtkPVPythonInformation::SetMatplotlibVersion ( const std::string arg)
inline

If GetMatplotlibSupport() is true, returns the version of matplotlib detected on the server.

Definition at line 153 of file vtkPVPythonInformation.h.

◆ GetMatplotlibVersion()

const std::string& vtkPVPythonInformation::GetMatplotlibVersion ( )
inline

If GetMatplotlibSupport() is true, returns the version of matplotlib detected on the server.

Definition at line 161 of file vtkPVPythonInformation.h.

◆ SetMatplotlibPath()

void vtkPVPythonInformation::SetMatplotlibPath ( const std::string arg)
inline

If GetMatplotlibSupport() is true, returns the path to matplotlib detected on the server.

Definition at line 169 of file vtkPVPythonInformation.h.

◆ GetMatplotlibPath()

const std::string& vtkPVPythonInformation::GetMatplotlibPath ( )
inline

If GetMatplotlibSupport() is true, returns the path to matplotlib detected on the server.

Definition at line 177 of file vtkPVPythonInformation.h.

Member Data Documentation

◆ PythonSupport

bool vtkPVPythonInformation::PythonSupport
protected

Definition at line 184 of file vtkPVPythonInformation.h.

◆ PythonPath

std::string vtkPVPythonInformation::PythonPath
protected

Definition at line 185 of file vtkPVPythonInformation.h.

◆ PythonVersion

std::string vtkPVPythonInformation::PythonVersion
protected

Definition at line 186 of file vtkPVPythonInformation.h.

◆ NumpySupport

bool vtkPVPythonInformation::NumpySupport
protected

Definition at line 187 of file vtkPVPythonInformation.h.

◆ NumpyVersion

std::string vtkPVPythonInformation::NumpyVersion
protected

Definition at line 188 of file vtkPVPythonInformation.h.

◆ NumpyPath

std::string vtkPVPythonInformation::NumpyPath
protected

Definition at line 189 of file vtkPVPythonInformation.h.

◆ MatplotlibSupport

bool vtkPVPythonInformation::MatplotlibSupport
protected

Definition at line 190 of file vtkPVPythonInformation.h.

◆ MatplotlibVersion

std::string vtkPVPythonInformation::MatplotlibVersion
protected

Definition at line 191 of file vtkPVPythonInformation.h.

◆ MatplotlibPath

std::string vtkPVPythonInformation::MatplotlibPath
protected

Definition at line 192 of file vtkPVPythonInformation.h.


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