VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
40
#ifndef __vtkSLACParticleReader_h
41
#define __vtkSLACParticleReader_h
42
43
#include "vtkIONetCDFModule.h"
// For export macro
44
#include "
vtkPolyDataAlgorithm.h
"
45
46
class
vtkDataArraySelection
;
47
class
vtkIdTypeArray
;
48
class
vtkInformationIntegerKey
;
49
class
vtkInformationObjectBaseKey
;
50
51
class
VTKIONETCDF_EXPORT
vtkSLACParticleReader
:
public
vtkPolyDataAlgorithm
52
{
53
public
:
54
vtkTypeMacro(
vtkSLACParticleReader
,
vtkPolyDataAlgorithm
);
55
static
vtkSLACParticleReader
*
New
();
56
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
57
58
vtkGetStringMacro
(FileName);
59
vtkSetStringMacro(FileName);
60
62
static
int
CanReadFile(
const
char
*filename);
63
64
protected
:
65
vtkSLACParticleReader
();
66
~
vtkSLACParticleReader
();
67
68
char
*
FileName
;
69
70
virtual
int
RequestInformation
(
vtkInformation
*request,
71
vtkInformationVector
**inputVector,
72
vtkInformationVector
*outputVector);
73
74
virtual
int
RequestData
(
vtkInformation
*request,
75
vtkInformationVector
**inputVector,
76
vtkInformationVector
*outputVector);
77
79
84
virtual
vtkIdType
GetNumTuplesInVariable(
int
ncFD,
int
varId,
85
int
expectedNumComponents);
87
88
private
:
89
vtkSLACParticleReader
(
const
vtkSLACParticleReader
&);
// Not implemented
90
void
operator=(
const
vtkSLACParticleReader
&);
// Not implemented
91
};
92
93
#endif //__vtkSLACParticleReader_h
Generated on Thu May 24 2012 22:22:31 for VTK by
1.8.1