VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
dox
IO
Core
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 "
vtkIOCoreModule.h
"
// For export macro
34
#include "
vtkWriter.h
"
35
36
class
VTKIOCORE_EXPORT
vtkAbstractParticleWriter
:
public
vtkWriter
37
{
38
public
:
39
vtkTypeMacro(
vtkAbstractParticleWriter
,
vtkWriter
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
43
44
vtkSetMacro(TimeStep,
int
);
45
vtkGetMacro(TimeStep,
int
);
47
49
53
vtkSetMacro(TimeValue,
double
);
54
vtkGetMacro(TimeValue,
double
);
56
58
59
vtkSetStringMacro(FileName);
60
vtkGetStringMacro(FileName);
62
64
66
vtkSetMacro(CollectiveIO,
int
);
67
vtkGetMacro(CollectiveIO,
int
);
68
void
SetWriteModeToCollective();
69
void
SetWriteModeToIndependent();
71
74
virtual
void
CloseFile() = 0;
75
76
protected
:
77
vtkAbstractParticleWriter
();
78
~
vtkAbstractParticleWriter
();
79
80
virtual
void
WriteData
() = 0;
//internal method subclasses must respond to
81
int
CollectiveIO
;
82
int
TimeStep
;
83
double
TimeValue
;
84
char
*
FileName
;
85
86
private
:
87
vtkAbstractParticleWriter
(
const
vtkAbstractParticleWriter
&);
// Not implemented.
88
void
operator=(
const
vtkAbstractParticleWriter
&);
// Not implemented.
89
};
90
91
#endif
vtkAbstractParticleWriter
abstract class to write particle data to file
Definition:
vtkAbstractParticleWriter.h:36
vtkAbstractParticleWriter::CollectiveIO
int CollectiveIO
Definition:
vtkAbstractParticleWriter.h:81
VTKIOCORE_EXPORT
#define VTKIOCORE_EXPORT
Definition:
vtkIOCoreModule.h:15
vtkWriter
abstract class to write data to file(s)
Definition:
vtkWriter.h:44
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkAbstractParticleWriter::FileName
char * FileName
Definition:
vtkAbstractParticleWriter.h:84
vtkIOCoreModule.h
vtkAbstractParticleWriter::TimeValue
double TimeValue
Definition:
vtkAbstractParticleWriter.h:83
vtkAbstractParticleWriter::TimeStep
int TimeStep
Definition:
vtkAbstractParticleWriter.h:82
vtkWriter::WriteData
virtual void WriteData()=0
vtkWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkWriter.h
Generated by
1.8.9.1