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

ParaView-specific X3D exporter that handles export of color legends in addition to the items exported by vtkX3DExporter. More...

#include <vtkPVX3DExporter.h>

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

Public Types

typedef vtkX3DExporter Superclass
 
- Public Types inherited from vtkX3DExporter
typedef vtkExporter Superclass
 
- Public Types inherited from vtkExporter
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetExportColorLegends (bool)
 Indicates whether color legends should be exported. More...
 
virtual bool GetExportColorLegends ()
 
virtual void ExportColorLegendsOn ()
 
virtual void ExportColorLegendsOff ()
 
- Public Member Functions inherited from vtkX3DExporter
vtkX3DExporterNewInstance () const
 
char * RegisterAndGetOutputString ()
 
virtual void SetFileName (const char *)
 
virtual char * GetFileName ()
 
virtual void SetSpeed (double)
 
virtual double GetSpeed ()
 
virtual void SetBinary (int)
 
virtual void BinaryOn ()
 
virtual void BinaryOff ()
 
virtual int GetBinary ()
 
virtual void SetFastest (int)
 
virtual void FastestOn ()
 
virtual void FastestOff ()
 
virtual int GetFastest ()
 
virtual void SetWriteToOutputString (int)
 
virtual int GetWriteToOutputString ()
 
virtual void WriteToOutputStringOn ()
 
virtual void WriteToOutputStringOff ()
 
virtual int GetOutputStringLength ()
 
virtual char * GetOutputString ()
 
unsigned char * GetBinaryOutputString ()
 
virtual void SetFileName (const char *)
 
virtual char * GetFileName ()
 
virtual void SetSpeed (double)
 
virtual double GetSpeed ()
 
virtual void SetBinary (int)
 
virtual void BinaryOn ()
 
virtual void BinaryOff ()
 
virtual int GetBinary ()
 
virtual void SetFastest (int)
 
virtual void FastestOn ()
 
virtual void FastestOff ()
 
virtual int GetFastest ()
 
virtual void SetWriteToOutputString (int)
 
virtual int GetWriteToOutputString ()
 
virtual void WriteToOutputStringOn ()
 
virtual void WriteToOutputStringOff ()
 
virtual int GetOutputStringLength ()
 
virtual char * GetOutputString ()
 
unsigned char * GetBinaryOutputString ()
 
- Public Member Functions inherited from vtkExporter
vtkExporterNewInstance () const
 
virtual void Write ()
 
void Update ()
 
void SetStartWrite (void(*f)(void *), void *arg)
 
void SetEndWrite (void(*f)(void *), void *arg)
 
void SetStartWriteArgDelete (void(*f)(void *))
 
void SetEndWriteArgDelete (void(*f)(void *))
 
vtkMTimeType GetMTime ()
 
virtual void SetRenderWindow (vtkRenderWindow *)
 
virtual vtkRenderWindowGetRenderWindow ()
 
void SetInput (vtkRenderWindow *renWin)
 
vtkRenderWindowGetInput ()
 
virtual void SetRenderWindow (vtkRenderWindow *)
 
virtual vtkRenderWindowGetRenderWindow ()
 
void SetInput (vtkRenderWindow *renWin)
 
vtkRenderWindowGetInput ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
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 vtkPVX3DExporterNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVX3DExporterSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkX3DExporter
static vtkX3DExporterNew ()
 
static int IsTypeOf (const char *type)
 
static vtkX3DExporterSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkExporter
static int IsTypeOf (const char *type)
 
static vtkExporterSafeDownCast (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

 vtkPVX3DExporter ()
 
 ~vtkPVX3DExporter () override
 
void WriteAdditionalNodes (vtkX3DExporterWriter *writer) override
 Write additional data, including color legends, to the output. More...
 
void WriteColorLegends (vtkX3DExporterWriter *writer)
 Write out color legends. More...
 
void WriteColorLegend (vtkRenderer *bottomRenderer, vtkRenderer *annotationRenderer, vtkContext2DScalarBarActor *actor, vtkX3DExporterWriter *writer)
 Write out a single color legend. More...
 
- Protected Member Functions inherited from vtkX3DExporter
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkX3DExporter ()
 
 ~vtkX3DExporter ()
 
void WriteData ()
 
void WriteALight (vtkLight *aLight, vtkX3DExporterWriter *writer)
 
void WriteAnActor (vtkActor *anActor, vtkX3DExporterWriter *writer, int index)
 
void WritePointData (vtkPoints *points, vtkDataArray *normals, vtkDataArray *tcoords, vtkUnsignedCharArray *colors, vtkX3DExporterWriter *writer, int index)
 
void WriteATextActor2D (vtkActor2D *anTextActor2D, vtkX3DExporterWriter *writer)
 
void WriteATexture (vtkActor *anActor, vtkX3DExporterWriter *writer)
 
void WriteAnAppearance (vtkActor *anActor, bool writeEmissiveColor, vtkX3DExporterWriter *writer)
 
int HasHeadLight (vtkRenderer *ren)
 
- Protected Member Functions inherited from vtkExporter
 vtkExporter ()
 
 ~vtkExporter ()
 
- 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 ExportColorLegends
 
- Protected Attributes inherited from vtkX3DExporter
int WriteToOutputString
 
char * OutputString
 
int OutputStringLength
 
char * FileName
 
double Speed
 
int Binary
 
int Fastest
 
- Protected Attributes inherited from vtkExporter
vtkRenderWindowRenderWindow
 
void(* StartWrite )(void *)
 
void(* StartWriteArgDelete )(void *)
 
void * StartWriteArg
 
void(* EndWrite )(void *)
 
void(* EndWriteArgDelete )(void *)
 
void * EndWriteArg
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

ParaView-specific X3D exporter that handles export of color legends in addition to the items exported by vtkX3DExporter.

Definition at line 21 of file vtkPVX3DExporter.h.

Member Typedef Documentation

◆ Superclass

Definition at line 25 of file vtkPVX3DExporter.h.

Constructor & Destructor Documentation

◆ vtkPVX3DExporter()

vtkPVX3DExporter::vtkPVX3DExporter ( )
protected

◆ ~vtkPVX3DExporter()

vtkPVX3DExporter::~vtkPVX3DExporter ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkPVX3DExporter* vtkPVX3DExporter::New ( )
static

◆ GetClassName()

virtual const char* vtkPVX3DExporter::GetClassName ( )
virtual

◆ IsTypeOf()

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

◆ IsA()

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

Reimplemented from vtkX3DExporter.

◆ SafeDownCast()

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

◆ PrintSelf()

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

Reimplemented from vtkX3DExporter.

◆ SetExportColorLegends()

virtual void vtkPVX3DExporter::SetExportColorLegends ( bool  )
virtual

Indicates whether color legends should be exported.

◆ GetExportColorLegends()

virtual bool vtkPVX3DExporter::GetExportColorLegends ( )
virtual

◆ ExportColorLegendsOn()

virtual void vtkPVX3DExporter::ExportColorLegendsOn ( )
virtual

◆ ExportColorLegendsOff()

virtual void vtkPVX3DExporter::ExportColorLegendsOff ( )
virtual

◆ WriteAdditionalNodes()

void vtkPVX3DExporter::WriteAdditionalNodes ( vtkX3DExporterWriter writer)
overrideprotected

Write additional data, including color legends, to the output.

◆ WriteColorLegends()

void vtkPVX3DExporter::WriteColorLegends ( vtkX3DExporterWriter writer)
protected

Write out color legends.

◆ WriteColorLegend()

void vtkPVX3DExporter::WriteColorLegend ( vtkRenderer bottomRenderer,
vtkRenderer annotationRenderer,
vtkContext2DScalarBarActor actor,
vtkX3DExporterWriter writer 
)
protected

Write out a single color legend.

Member Data Documentation

◆ ExportColorLegends

bool vtkPVX3DExporter::ExportColorLegends
protected

Definition at line 39 of file vtkPVX3DExporter.h.


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