54#ifndef vtkTecplotReader_h
55#define vtkTecplotReader_h
57#include "vtkIOGeometryModule.h"
63VTK_ABI_NAMESPACE_BEGIN
71class vtkTecplotReaderInternal;
84 vtkGetMacro(NumberOfVariables,
int);
183 void GetArraysFromBlockPackingZone(
int numNodes,
int numCells,
vtkPoints* theNodes,
195 const std::vector<int>& variablesToRead);
215 void GetStructuredGridFromBlockPackingZone(
225 void GetStructuredGridFromPointPackingZone(
235 void GetUnstructuredGridFromBlockPackingZone(
245 void GetPolyhedralGridFromBlockPackingZone(
255 void GetPolygonalGridFromBlockPackingZone(
262 void GetPolyhedralGridCells(
int numberCells,
int numFaces,
vtkUnstructuredGrid* unstruct)
const;
268 void GetPolygonalGridCells(
int numFaces,
int numEdges,
vtkUnstructuredGrid* unstruct)
const;
277 void GetUnstructuredGridFromPointPackingZone(
283 int NumberOfVariables = 0;
284 char* FileName =
nullptr;
287 vtkTecplotReaderInternal* Internal =
nullptr;
289 std::string DataTitle;
290 std::vector<int> CellBased;
291 std::vector<std::string> ZoneNames;
292 std::vector<std::string> Variables;
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.
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.
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).
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