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