Go to the documentation of this file.
79 #ifndef vtkTecplotReader_h
80 #define vtkTecplotReader_h
82 #include "vtkIOGeometryModule.h"
95 class vtkTecplotReaderInternal;
108 vtkGetMacro( NumberOfVariables,
int );
194 (
vtkObject *,
unsigned long,
void * tpReader,
void * );
242 int kDimSize,
int zoneIndx,
const char * zoneName,
253 int kDimSize,
int zoneIndx,
const char * zoneName,
264 const char *
cellType,
int zoneIndx,
const char * zoneName,
275 const char *
cellType,
int zoneIndx,
const char * zoneName,
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
A concrete class to read an ASCII Tecplot file.
int GetNumberOfBlocks()
Get the number of blocks (i.e., zones in Tecplot terms).
void GetArraysFromBlockPackingZone(int numNodes, int numCells, vtkPoints *theNodes, vtkPointData *nodeData, vtkCellData *cellData)
This function extracts each variable array from a block-packing (component- based) zone and collects ...
represent and manipulate point attribute data
int IsDataAttributeCellBased(const char *attrName)
Get the type (0 for node-based and 1 for cell-based) of a specified data attribute (not 3D coordinate...
const char * GetDataArrayName(int arrayIdx)
Get the name of a data array specified by the zero-based index (arrayIdx).
const char * GetDataTitle()
Get the Tecplot data title.
int GetNumberOfDataArrays()
Get the number of all data attributes (point data and cell data).
void Init()
This function initializes the context.
abstract base class for most VTK objects
std::vector< std::string > Variables
Composite dataset that organizes datasets into blocks.
vtkCallbackCommand * SelectionObserver
void GetStructuredGridFromBlockPackingZone(int iDimSize, int jDimSize, int kDimSize, int zoneIndx, const char *zoneName, vtkMultiBlockDataSet *multZone)
This function creates a vtkStructuredGrid object made up of a set of points and the associated attrib...
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store on/off settings for data arrays for a vtkSource.
void GetUnstructuredGridFromPointPackingZone(int numNodes, int numCells, const char *cellType, int zoneIndx, const char *zoneName, vtkMultiBlockDataSet *multZone)
This function creates a vtkUnstructuredGrid object made up of a set of points and the associated attr...
vtkDataArraySelection * DataArraySelection
int GetNumberOfDataAttributes()
Get the number of standard data attributes (node-based and cell-based), excluding 3D coordinates.
static void SelectionModifiedCallback(vtkObject *, unsigned long, void *tpReader, void *)
A callback function registered with the selection observer.
const char * GetDataAttributeName(int attrIndx)
Get the name of a zero-based data attribute (not 3D coordinates).
represent and manipulate cell attribute data
const char * GetBlockName(int blockIdx)
Get the name of a block specified by a zero-based index.
a simple class to control print indentation
std::vector< int > CellBased
void GetDataArraysList()
Get the data arrays list from the tecplot file header.
CellTypeInDataSet cellType(vtkDataSet *input)
void GetStructuredGridFromPointPackingZone(int iDimSize, int jDimSize, int kDimSize, int zoneIndx, const char *zoneName, vtkMultiBlockDataSet *multZone)
This function creates a vtkStructuredGrid object made up of a set of points and the associated attrib...
int GetDataArrayStatus(const char *arayName)
Get the status of a specific data array (0: un-selected; 1: selected).
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
void GetUnstructuredGridCells(int numberCells, const char *cellTypeStr, vtkUnstructuredGrid *unstrctGrid)
This function fills an allocated vtkUnstructuredGrid object with numberCells cells of type cellTypeSt...
supports function callbacks
vtkTecplotReaderInternal * Internal
int IsDataAttributeCellBased(int attrIndx)
Get the type (0 for node-based and 1 for cell-based) of a specified data attribute (not 3D coordinate...
std::vector< std::string > ZoneNames
void ReadFile(vtkMultiBlockDataSet *multZone)
This function, the data loading engine, parses the Tecplot file to fill a vtkMultiBlockDataSet object...
void GetUnstructuredGridFromBlockPackingZone(int numNodes, int numCells, const char *cellType, int zoneIndx, const char *zoneName, vtkMultiBlockDataSet *multZone)
This function creates a vtkUnstructuredGrid object made up of a set of points and the associated attr...
dataset represents arbitrary combinations of all possible cell types
void GetArraysFromPointPackingZone(int numNodes, vtkPoints *theNodes, vtkPointData *nodeData)
This function extracts each variable array from a point-packing (tuple- based) zone and collects the ...
void SetFileName(const char *fileName)
Specify a Tecplot ASCII file for data loading.
void SetDataArrayStatus(const char *arayName, int bChecked)
Set the status of a specific data array (0: de-select; 1: select) specified by the name.
static vtkTecplotReader * New()
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.