VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
demarle
Builds
VTK
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
=========================================================================*/
31
#ifndef vtkAbstractParticleWriter_h
32
#define vtkAbstractParticleWriter_h
33
34
#include "vtkIOCoreModule.h"
// For export macro
35
#include "
vtkWriter.h
"
36
37
class
VTKIOCORE_EXPORT
vtkAbstractParticleWriter
:
public
vtkWriter
38
{
39
public
:
40
vtkTypeMacro(
vtkAbstractParticleWriter
,
vtkWriter
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
44
47
vtkSetMacro
(TimeStep,
int
);
48
vtkGetMacro(TimeStep,
int
);
50
52
58
vtkSetMacro
(TimeValue,
double
);
59
vtkGetMacro(TimeValue,
double
);
61
63
66
vtkSetStringMacro(FileName);
67
vtkGetStringMacro
(FileName);
69
71
75
vtkSetMacro
(CollectiveIO,
int
);
76
vtkGetMacro(CollectiveIO,
int
);
77
void
SetWriteModeToCollective();
78
void
SetWriteModeToIndependent();
80
85
virtual
void
CloseFile() = 0;
86
87
protected
:
88
vtkAbstractParticleWriter
();
89
~
vtkAbstractParticleWriter
();
90
91
virtual
void
WriteData
() = 0;
//internal method subclasses must respond to
92
int
CollectiveIO
;
93
int
TimeStep
;
94
double
TimeValue
;
95
char
*
FileName
;
96
97
private
:
98
vtkAbstractParticleWriter
(
const
vtkAbstractParticleWriter
&) VTK_DELETE_FUNCTION;
99
void
operator=(const
vtkAbstractParticleWriter
&) VTK_DELETE_FUNCTION;
100
};
101
102
#endif
vtkAbstractParticleWriter
abstract class to write particle data to file
Definition:
vtkAbstractParticleWriter.h:37
vtkAbstractParticleWriter::CollectiveIO
int CollectiveIO
Definition:
vtkAbstractParticleWriter.h:92
vtkWriter
abstract class to write data to file(s)
Definition:
vtkWriter.h:42
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkAbstractParticleWriter::FileName
char * FileName
Definition:
vtkAbstractParticleWriter.h:95
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkAbstractParticleWriter::TimeValue
double TimeValue
Definition:
vtkAbstractParticleWriter.h:94
vtkAbstractParticleWriter::TimeStep
int TimeStep
Definition:
vtkAbstractParticleWriter.h:93
vtkWriter::WriteData
virtual void WriteData()=0
vtkWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkWriter.h
Generated by
1.8.9.1