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

#include <vtkPEnSightGoldReader.h>

Inheritance diagram for vtkPEnSightGoldReader:
Inheritance graph
[legend]
Collaboration diagram for vtkPEnSightGoldReader:
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)

Static Public Member Functions

static vtkPEnSightGoldReaderNew ()
static int IsTypeOf (const char *type)
static vtkPEnSightGoldReaderSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPEnSightGoldReader ()
 ~vtkPEnSightGoldReader ()
int ReadOrSkipCoordinates (vtkPoints *points, long offset, int partId, int *lineRead, char *line, bool skip)
int InjectCoordinatesAtEnd (vtkUnstructuredGrid *output, long coordinatesOffset, int partId)
int CheckForUndefOrPartial (const char *line)
virtual int ReadGeometryFile (const char *fileName, int timeStep, vtkMultiBlockDataSet *output)
virtual int ReadMeasuredGeometryFile (const char *fileName, int timeStep, vtkMultiBlockDataSet *output)
virtual int ReadScalarsPerNode (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int measured=0, int numberOfComponents=1, int component=0)
virtual int ReadVectorsPerNode (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int measured=0)
virtual int ReadTensorsPerNode (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)
virtual int ReadScalarsPerElement (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int numberOfComponents=1, int component=0)
virtual int ReadVectorsPerElement (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)
virtual int ReadTensorsPerElement (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)
virtual int CreateUnstructuredGridOutput (int partId, char line[256], const char *name, vtkMultiBlockDataSet *output)
virtual int CreateStructuredGridOutput (int partId, char line[256], const char *name, vtkMultiBlockDataSet *output)
int CreateRectilinearGridOutput (int partId, char line[256], const char *name, vtkMultiBlockDataSet *output)
int CreateImageDataOutput (int partId, char line[256], const char *name, vtkMultiBlockDataSet *output)
virtual void SetGeometryFileName (const char *)
virtual char * GetGeometryFileName ()
virtual void SetMeasuredFileName (const char *)
virtual char * GetMeasuredFileName ()
virtual void SetMatchFileName (const char *)
virtual char * GetMatchFileName ()

Protected Attributes

UndefPartialInternal * UndefPartial
int NodeIdsListed
int ElementIdsListed

Detailed Description

Parallel version of vtkEnSightGoldReader.

Thanks:
<verbatim>
Thanks:
This file has been developed as part of the CARRIOCAS (Distributed computation over ultra high optical internet network ) project ( http://www.carriocas.org/index.php?lng=ang ) of the SYSTEM French ICT Cluster (http://www.systematic-paris-region.org/en/index.html) under the supervision of CEA (http://www.cea.fr) and EDF (http://www.edf.fr) by Oxalya (http://www.oxalya.com)
Thanks:
Copyright (c) CEA
Thanks:
</verbatim>

Definition at line 48 of file vtkPEnSightGoldReader.h.


Constructor & Destructor Documentation

vtkPEnSightGoldReader::vtkPEnSightGoldReader ( ) [protected]
vtkPEnSightGoldReader::~vtkPEnSightGoldReader ( ) [protected]

Member Function Documentation

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

Reimplemented from vtkPGenericEnSightReader.

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

Reimplemented from vtkPEnSightReader.

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

Reimplemented from vtkPEnSightReader.

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

Reimplemented from vtkPEnSightReader.

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

Reimplemented from vtkPEnSightReader.

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

Reimplemented from vtkPEnSightReader.

virtual int vtkPEnSightGoldReader::ReadGeometryFile ( const char *  fileName,
int  timeStep,
vtkMultiBlockDataSet output 
) [protected, virtual]

Read the geometry file. If an error occurred, 0 is returned; otherwise 1.

Implements vtkPEnSightReader.

virtual int vtkPEnSightGoldReader::ReadMeasuredGeometryFile ( const char *  fileName,
int  timeStep,
vtkMultiBlockDataSet output 
) [protected, virtual]

Read the measured geometry file. If an error occurred, 0 is returned; otherwise 1.

Implements vtkPEnSightReader.

virtual int vtkPEnSightGoldReader::ReadScalarsPerNode ( const char *  fileName,
const char *  description,
int  timeStep,
vtkMultiBlockDataSet output,
int  measured = 0,
int  numberOfComponents = 1,
int  component = 0 
) [protected, virtual]

Read scalars per node for this dataset. If an error occurred, 0 is returned; otherwise 1. If there will be more than one component in the data array, it is assumed that 0 is the first component added.

Implements vtkPEnSightReader.

virtual int vtkPEnSightGoldReader::ReadVectorsPerNode ( const char *  fileName,
const char *  description,
int  timeStep,
vtkMultiBlockDataSet output,
int  measured = 0 
) [protected, virtual]

Read vectors per node for this dataset. If an error occurred, 0 is returned; otherwise 1.

Implements vtkPEnSightReader.

virtual int vtkPEnSightGoldReader::ReadTensorsPerNode ( const char *  fileName,
const char *  description,
int  timeStep,
vtkMultiBlockDataSet output 
) [protected, virtual]

Read tensors per node for this dataset. If an error occurred, 0 is returned; otherwise 1.

Implements vtkPEnSightReader.

virtual int vtkPEnSightGoldReader::ReadScalarsPerElement ( const char *  fileName,
const char *  description,
int  timeStep,
vtkMultiBlockDataSet output,
int  numberOfComponents = 1,
int  component = 0 
) [protected, virtual]

Read scalars per element for this dataset. If an error occurred, 0 is returned; otherwise 1. If there will be more than one componenet in the data array, it is assumed that 0 is the first component added.

Implements vtkPEnSightReader.

virtual int vtkPEnSightGoldReader::ReadVectorsPerElement ( const char *  fileName,
const char *  description,
int  timeStep,
vtkMultiBlockDataSet output 
) [protected, virtual]

Read vectors per element for this dataset. If an error occurred, 0 is returned; otherwise 1.

Implements vtkPEnSightReader.

virtual int vtkPEnSightGoldReader::ReadTensorsPerElement ( const char *  fileName,
const char *  description,
int  timeStep,
vtkMultiBlockDataSet output 
) [protected, virtual]

Read tensors per element for this dataset. If an error occurred, 0 is returned; otherwise 1.

Implements vtkPEnSightReader.

virtual int vtkPEnSightGoldReader::CreateUnstructuredGridOutput ( int  partId,
char  line[256],
const char *  name,
vtkMultiBlockDataSet output 
) [protected, virtual]

Read an unstructured part (partId) from the geometry file and create a vtkUnstructuredGrid output. Return 0 if EOF reached. Return -1 if an error occurred.

virtual int vtkPEnSightGoldReader::CreateStructuredGridOutput ( int  partId,
char  line[256],
const char *  name,
vtkMultiBlockDataSet output 
) [protected, virtual]

Read a structured part from the geometry file and create a vtkStructuredGrid output. Return 0 if EOF reached.

int vtkPEnSightGoldReader::CreateRectilinearGridOutput ( int  partId,
char  line[256],
const char *  name,
vtkMultiBlockDataSet output 
) [protected]

Read a structured part from the geometry file and create a vtkRectilinearGrid output. Return 0 if EOF reached.

int vtkPEnSightGoldReader::CreateImageDataOutput ( int  partId,
char  line[256],
const char *  name,
vtkMultiBlockDataSet output 
) [protected]

Read a structured part from the geometry file and create a vtkImageData output. Return 0 if EOF reached.

int vtkPEnSightGoldReader::ReadOrSkipCoordinates ( vtkPoints points,
long  offset,
int  partId,
int lineRead,
char *  line,
bool  skip 
) [protected]

Read Coordinates, or just skip the part in the file.

int vtkPEnSightGoldReader::InjectCoordinatesAtEnd ( vtkUnstructuredGrid output,
long  coordinatesOffset,
int  partId 
) [protected]

Internal method to inject Coordinates and Global Ids at the end of a part read for Unstructured data.

virtual void vtkPEnSightGoldReader::SetGeometryFileName ( const char *  ) [protected, virtual]

Set/Get the Model file name.

Reimplemented from vtkGenericEnSightReader.

virtual char* vtkPEnSightGoldReader::GetGeometryFileName ( ) [protected, virtual]

Set/Get the Model file name.

Reimplemented from vtkGenericEnSightReader.

virtual void vtkPEnSightGoldReader::SetMeasuredFileName ( const char *  ) [protected, virtual]

Set/Get the Measured file name.

Reimplemented from vtkPEnSightReader.

virtual char* vtkPEnSightGoldReader::GetMeasuredFileName ( ) [protected, virtual]

Set/Get the Measured file name.

Reimplemented from vtkPEnSightReader.

virtual void vtkPEnSightGoldReader::SetMatchFileName ( const char *  ) [protected, virtual]

Set/Get the Match file name.

Reimplemented from vtkPEnSightReader.

virtual char* vtkPEnSightGoldReader::GetMatchFileName ( ) [protected, virtual]

Set/Get the Match file name.

Reimplemented from vtkPEnSightReader.

int vtkPEnSightGoldReader::CheckForUndefOrPartial ( const char *  line) [protected]

Skip next line in file if the 'undef' or 'partial' keyword was specified after a sectional keyword


Member Data Documentation

UndefPartialInternal* vtkPEnSightGoldReader::UndefPartial [protected]

Handle the undef / partial support for EnSight gold

Definition at line 186 of file vtkPEnSightGoldReader.h.

Definition at line 188 of file vtkPEnSightGoldReader.h.

Definition at line 189 of file vtkPEnSightGoldReader.h.


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