VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkAbstractParticleWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkAbstractParticleWriter.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
30
#ifndef __vtkAbstractParticleWriter_h
31
#define __vtkAbstractParticleWriter_h
32
33
#include "
vtkWriter.h
"
34
35
class
VTK_IO_EXPORT
vtkAbstractParticleWriter
:
public
vtkWriter
36
{
37
public
:
38
vtkTypeMacro(
vtkAbstractParticleWriter
,
vtkWriter
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
42
43
vtkSetMacro(TimeStep,
int
);
44
vtkGetMacro(TimeStep,
int
);
46
48
52
vtkSetMacro(TimeValue,
double
);
53
vtkGetMacro(TimeValue,
double
);
55
57
58
vtkSetStringMacro(FileName);
59
vtkGetStringMacro(FileName);
61
63
65
vtkSetMacro(CollectiveIO,
int
);
66
vtkGetMacro(CollectiveIO,
int
);
67
void
SetWriteModeToCollective();
68
void
SetWriteModeToIndependent();
70
73
virtual
void
CloseFile() = 0;
74
75
protected
:
76
vtkAbstractParticleWriter
();
77
~
vtkAbstractParticleWriter
();
78
79
virtual
void
WriteData
() = 0;
//internal method subclasses must respond to
80
int
CollectiveIO
;
81
int
TimeStep
;
82
double
TimeValue
;
83
char
*
FileName
;
84
85
private
:
86
vtkAbstractParticleWriter
(
const
vtkAbstractParticleWriter
&);
// Not implemented.
87
void
operator=(
const
vtkAbstractParticleWriter
&);
// Not implemented.
88
};
89
90
#endif
vtkAbstractParticleWriter
abstract class to write particle data to file
Definition:
vtkAbstractParticleWriter.h:35
vtkAbstractParticleWriter::CollectiveIO
int CollectiveIO
Definition:
vtkAbstractParticleWriter.h:80
vtkWriter
abstract class to write data to file(s)
Definition:
vtkWriter.h:43
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkAbstractParticleWriter::FileName
char * FileName
Definition:
vtkAbstractParticleWriter.h:83
vtkAbstractParticleWriter::TimeValue
double TimeValue
Definition:
vtkAbstractParticleWriter.h:82
vtkAbstractParticleWriter::TimeStep
int TimeStep
Definition:
vtkAbstractParticleWriter.h:81
vtkWriter::WriteData
virtual void WriteData()=0
VTK_IO_EXPORT
#define VTK_IO_EXPORT
Definition:
vtkWin32Header.h:277
vtkWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkWriter.h
Generated on Sat Sep 13 2014 22:26:21 for VTK by
1.8.8