VTK
dox
IO
NetCDF
vtkSLACParticleReader.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
/*=========================================================================
3
4
Program: Visualization Toolkit
5
Module: vtkSLACParticleReader.h
6
7
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
8
All rights reserved.
9
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
10
11
This software is distributed WITHOUT ANY WARRANTY; without even
12
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13
PURPOSE. See the above copyright notice for more information.
14
15
=========================================================================*/
16
17
/*-------------------------------------------------------------------------
18
Copyright 2008 Sandia Corporation.
19
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
20
the U.S. Government retains certain rights in this software.
21
-------------------------------------------------------------------------*/
22
41
#ifndef vtkSLACParticleReader_h
42
#define vtkSLACParticleReader_h
43
44
#include "vtkIONetCDFModule.h"
// For export macro
45
#include "
vtkPolyDataAlgorithm.h
"
46
47
class
vtkDataArraySelection
;
48
class
vtkIdTypeArray
;
49
class
vtkInformationIntegerKey
;
50
class
vtkInformationObjectBaseKey
;
51
52
class
VTKIONETCDF_EXPORT
vtkSLACParticleReader
:
public
vtkPolyDataAlgorithm
53
{
54
public
:
55
vtkTypeMacro(
vtkSLACParticleReader
,
vtkPolyDataAlgorithm
);
56
static
vtkSLACParticleReader
*
New
();
57
void
PrintSelf
(ostream &os,
vtkIndent
indent) VTK_OVERRIDE;
58
59
vtkGetStringMacro
(FileName);
60
vtkSetStringMacro(FileName);
61
65
static
int
CanReadFile(
const
char
*filename);
66
67
protected
:
68
vtkSLACParticleReader
();
69
~
vtkSLACParticleReader
() VTK_OVERRIDE;
70
71
char
*FileName;
72
73
int
RequestInformation(
vtkInformation
*request,
74
vtkInformationVector
**inputVector,
75
vtkInformationVector
*outputVector) VTK_OVERRIDE;
76
77
int
RequestData(
vtkInformation
*request,
78
vtkInformationVector
**inputVector,
79
vtkInformationVector
*outputVector) VTK_OVERRIDE;
80
88
virtual
vtkIdType
GetNumTuplesInVariable(
int
ncFD,
int
varId,
89
int
expectedNumComponents);
90
91
private:
92
vtkSLACParticleReader
(const
vtkSLACParticleReader
&) VTK_DELETE_FUNCTION;
93
void
operator=(const
vtkSLACParticleReader
&) VTK_DELETE_FUNCTION;
94
};
95
96
#endif //vtkSLACParticleReader_h
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkIdTypeArray
dynamic, self-adjusting array of vtkIdType
Definition:
vtkIdTypeArray.h:41
vtkIdType
int vtkIdType
Definition:
vtkType.h:345
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:44
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkInformationIntegerKey
Key for integer values in vtkInformation.
Definition:
vtkInformationIntegerKey.h:34
vtkDataArraySelection
Store on/off settings for data arrays for a vtkSource.
Definition:
vtkDataArraySelection.h:34
vtkInformationObjectBaseKey
Key for vtkObjectBase values.
Definition:
vtkInformationObjectBaseKey.h:36
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSLACParticleReader
A reader for a data format used by Omega3p, Tau3p, and several other tools used at the Standford Line...
Definition:
vtkSLACParticleReader.h:52
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkPolyDataAlgorithm.h
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Generated by
1.8.13