VTK  9.3.20240623
vtkSLACParticleReader.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-LANL-California-USGov
4
23#ifndef vtkSLACParticleReader_h
24#define vtkSLACParticleReader_h
25
26#include "vtkIONetCDFModule.h" // For export macro
28
29VTK_ABI_NAMESPACE_BEGIN
31class vtkIdTypeArray;
34
35class VTKIONETCDF_EXPORT vtkSLACParticleReader : public vtkPolyDataAlgorithm
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
44
48 static int CanReadFile(VTK_FILEPATH const char* filename);
49
50protected:
53
54 char* FileName;
55
57 vtkInformationVector* outputVector) override;
58
59 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
60 vtkInformationVector* outputVector) override;
61
69 virtual vtkIdType GetNumTuplesInVariable(int ncFD, int varId, int expectedNumComponents);
70
71private:
73 void operator=(const vtkSLACParticleReader&) = delete;
74};
75
76VTK_ABI_NAMESPACE_END
77#endif // vtkSLACParticleReader_h
Store on/off settings for data arrays, etc.
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Definition vtkIndent.h:108
Key for integer values in vtkInformation.
Key for vtkObjectBase values.
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
A reader for a data format used by Omega3p, Tau3p, and several other tools used at the Standford Line...
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
static int CanReadFile(VTK_FILEPATH const char *filename)
Returns true if the given file can be read by this reader.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetFilePathMacro(FileName)
static vtkSLACParticleReader * New()
vtkGetFilePathMacro(FileName)
virtual vtkIdType GetNumTuplesInVariable(int ncFD, int varId, int expectedNumComponents)
Convenience function that checks the dimensions of a 2D netCDF array that is supposed to be a set of ...
~vtkSLACParticleReader() override
int vtkIdType
Definition vtkType.h:315
#define VTK_FILEPATH