54#ifndef vtkTecplotReader_h
55#define vtkTecplotReader_h
57#include "vtkIOGeometryModule.h"
63VTK_ABI_NAMESPACE_BEGIN
71class vtkTecplotReaderInternal;
84 vtkGetMacro(NumberOfVariables,
int);
203 int NumberOfVariables;
207 vtkTecplotReaderInternal* Internal;
209 std::string DataTitle;
210 std::vector<int> CellBased;
211 std::vector<std::string> ZoneNames;
212 std::vector<std::string> Variables;
232 void GetStructuredGridFromBlockPackingZone(
242 void GetStructuredGridFromPointPackingZone(
252 void GetUnstructuredGridFromBlockPackingZone(
262 void GetPolyhedralGridFromBlockPackingZone(
272 void GetPolygonalGridFromBlockPackingZone(
279 void GetPolyhedralGridCells(
int numberCells,
int numFaces,
vtkUnstructuredGrid* unstruct)
const;
285 void GetPolygonalGridCells(
int numFaces,
int numEdges,
vtkUnstructuredGrid* unstruct)
const;
294 void GetUnstructuredGridFromPointPackingZone(
supports function callbacks
represent and manipulate cell attribute data
Store on/off settings for data arrays, etc.
a simple class to control print indentation
vtkMultiBlockDataSetAlgorithm()
Composite dataset that organizes datasets into blocks.
represent and manipulate point attribute data
represent and manipulate 3D points
void Init()
This function initializes the context.
void SetFileName(const char *fileName)
Specify a Tecplot ASCII file for data loading.
void GetArraysFromPointPackingZone(int numNodes, vtkPoints *theNodes, vtkPointData *nodeData)
This function extracts each variable array from a point-packing (tuple- based) zone and collects the ...
int GetNumberOfDataArrays()
Get the number of all data attributes (point data and cell 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...
int IsDataAttributeCellBased(int attrIndx)
Get the type (0 for node-based and 1 for cell-based) of a specified data attribute (not 3D coordinate...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetDataTitle()
Get the Tecplot data title.
int GetNumberOfDataAttributes()
Get the number of standard data attributes (node-based and cell-based), excluding 3D coordinates.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
~vtkTecplotReader() override
static vtkTecplotReader * New()
static void SelectionModifiedCallback(vtkObject *, unsigned long, void *tpReader, void *)
A callback function registered with the selection observer.
void SetDataArrayStatus(const char *arayName, int bChecked)
Set the status of a specific data array (0: de-select; 1: select) specified by the name.
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 ...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int GetNumberOfBlocks()
Get the number of blocks (i.e., zones in Tecplot terms).
const char * GetDataArrayName(int arrayIdx)
Get the name of a data array specified by the zero-based index (arrayIdx).
void GetUnstructuredGridCells(int numberCells, const char *cellTypeStr, vtkUnstructuredGrid *unstrctGrid)
This function fills an allocated vtkUnstructuredGrid object with numberCells cells of type cellTypeSt...
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
const char * GetBlockName(int blockIdx)
Get the name of a block specified by a zero-based index.
const char * GetDataAttributeName(int attrIndx)
Get the name of a zero-based data attribute (not 3D coordinates).
int GetDataArrayStatus(const char *arayName)
Get the status of a specific data array (0: un-selected; 1: selected).
dataset represents arbitrary combinations of all possible cell types