Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkGAMBITReader Class Reference

#include <vtkGAMBITReader.h>

Inheritance diagram for vtkGAMBITReader:

Inheritance graph
[legend]
Collaboration diagram for vtkGAMBITReader:

Collaboration graph
[legend]
List of all members.

Detailed Description

reads a dataset in Fluent GAMBIT Neutral File format

vtkGAMBITReader creates an unstructured grid dataset. It reads ASCII files stored in GAMBIT neutral format, with optional data stored at the nodes or at the cells of the model. A cell-based fielddata stores the material id.

Thanks:
Thanks to Jean M. Favre (CSCS, Swiss Center for Scientific Computing) who developed this class. Please address all comments to Jean Favre (jfavre at cscs.ch)
See also:
vtkAVSucdReader
Created by:
  • Malaterre, Mathieu
CVS contributions (if > 5%):
  • Malaterre, Mathieu (100%)
CVS logs (CVSweb):
  • .h (/IO/vtkGAMBITReader.h)
  • .cxx (/IO/vtkGAMBITReader.cxx)
Tests:
vtkGAMBITReader (Tests)

Definition at line 51 of file vtkGAMBITReader.h.

Public Types

typedef vtkUnstructuredGridSource Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetFileName (const char *)
virtual char * GetFileName ()
virtual int GetNumberOfCells ()
virtual int GetNumberOfNodes ()
virtual int GetNumberOfNodeFields ()
virtual int GetNumberOfCellFields ()

Static Public Member Functions

vtkGAMBITReaderNew ()
int IsTypeOf (const char *type)
vtkGAMBITReaderSafeDownCast (vtkObject *o)

Protected Types

enum  GAMBITCellType {
  EDGE = 1, QUAD = 2, TRI = 3, BRICK = 4,
  PRISM = 5, TETRA = 6, PYRAMID = 7
}

Protected Member Functions

 vtkGAMBITReader ()
 ~vtkGAMBITReader ()
void ExecuteInformation ()
void Execute ()

Protected Attributes

char * FileName
int NumberOfNodes
int NumberOfCells
int NumberOfNodeFields
int NumberOfCellFields
int NumberOfElementGroups
int NumberOfBoundaryConditionSets
int NumberOfCoordinateDirections
int NumberOfVelocityComponents
ifstream * FileStream


Member Typedef Documentation

typedef vtkUnstructuredGridSource vtkGAMBITReader::Superclass
 

Reimplemented from vtkUnstructuredGridSource.

Definition at line 55 of file vtkGAMBITReader.h.


Member Enumeration Documentation

enum vtkGAMBITReader::GAMBITCellType [protected]
 

Enumeration values:
EDGE 
QUAD 
TRI 
BRICK 
PRISM 
TETRA 
PYRAMID 

Definition at line 99 of file vtkGAMBITReader.h.


Constructor & Destructor Documentation

vtkGAMBITReader::vtkGAMBITReader  )  [protected]
 

vtkGAMBITReader::~vtkGAMBITReader  )  [protected]
 


Member Function Documentation

vtkGAMBITReader* vtkGAMBITReader::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

virtual const char* vtkGAMBITReader::GetClassName  )  [virtual]
 

Reimplemented from vtkUnstructuredGridSource.

int vtkGAMBITReader::IsTypeOf const char *  type  )  [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkUnstructuredGridSource.

virtual int vtkGAMBITReader::IsA const char *  type  )  [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkUnstructuredGridSource.

vtkGAMBITReader* vtkGAMBITReader::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkUnstructuredGridSource.

void vtkGAMBITReader::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkUnstructuredGridSource.

virtual void vtkGAMBITReader::SetFileName const char *   )  [virtual]
 

Specify file name of GAMBITReader datafile to read

virtual char* vtkGAMBITReader::GetFileName  )  [virtual]
 

Specify file name of GAMBITReader datafile to read

virtual int vtkGAMBITReader::GetNumberOfCells  )  [virtual]
 

Get the total number of cells.

virtual int vtkGAMBITReader::GetNumberOfNodes  )  [virtual]
 

Get the total number of nodes.

virtual int vtkGAMBITReader::GetNumberOfNodeFields  )  [virtual]
 

Get the number of data components at the nodes and cells.

virtual int vtkGAMBITReader::GetNumberOfCellFields  )  [virtual]
 

Get the number of data components at the nodes and cells.

void vtkGAMBITReader::ExecuteInformation  )  [protected, virtual]
 

Reimplemented from vtkSource.

void vtkGAMBITReader::Execute  )  [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.


Member Data Documentation

char* vtkGAMBITReader::FileName [protected]
 

Definition at line 86 of file vtkGAMBITReader.h.

int vtkGAMBITReader::NumberOfNodes [protected]
 

Definition at line 88 of file vtkGAMBITReader.h.

int vtkGAMBITReader::NumberOfCells [protected]
 

Definition at line 89 of file vtkGAMBITReader.h.

int vtkGAMBITReader::NumberOfNodeFields [protected]
 

Definition at line 90 of file vtkGAMBITReader.h.

int vtkGAMBITReader::NumberOfCellFields [protected]
 

Definition at line 91 of file vtkGAMBITReader.h.

int vtkGAMBITReader::NumberOfElementGroups [protected]
 

Definition at line 92 of file vtkGAMBITReader.h.

int vtkGAMBITReader::NumberOfBoundaryConditionSets [protected]
 

Definition at line 93 of file vtkGAMBITReader.h.

int vtkGAMBITReader::NumberOfCoordinateDirections [protected]
 

Definition at line 94 of file vtkGAMBITReader.h.

int vtkGAMBITReader::NumberOfVelocityComponents [protected]
 

Definition at line 95 of file vtkGAMBITReader.h.

ifstream* vtkGAMBITReader::FileStream [protected]
 

Definition at line 96 of file vtkGAMBITReader.h.


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