VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkXMLRectilinearGridWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkXMLRectilinearGridWriter.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 __vtkXMLRectilinearGridWriter_h
32
#define __vtkXMLRectilinearGridWriter_h
33
34
#include "
vtkXMLStructuredDataWriter.h
"
35
36
class
vtkRectilinearGrid
;
37
38
class
VTK_IO_EXPORT
vtkXMLRectilinearGridWriter
:
public
vtkXMLStructuredDataWriter
39
{
40
public
:
41
static
vtkXMLRectilinearGridWriter
*
New
();
42
vtkTypeMacro(
vtkXMLRectilinearGridWriter
,
vtkXMLStructuredDataWriter
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent);
44
45
//BTX
47
48
vtkRectilinearGrid
*
GetInput
();
49
//ETX
51
53
const
char
*
GetDefaultFileExtension
();
54
55
protected
:
56
vtkXMLRectilinearGridWriter
();
57
~
vtkXMLRectilinearGridWriter
();
58
59
// see algorithm for more info
60
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
61
62
int
WriteAppendedMode(
vtkIndent
indent);
63
void
WriteAppendedPiece
(
int
index
,
vtkIndent
indent);
64
void
WriteAppendedPieceData
(
int
index
);
65
void
WriteInlinePiece
(
vtkIndent
indent);
66
void
GetInputExtent
(
int
*
extent
);
67
const
char
*
GetDataSetName
();
68
vtkDataArray
*
CreateExactCoordinates
(
vtkDataArray
* a,
int
xyz);
69
void
CalculateSuperclassFraction(
float
* fractions);
70
71
// Coordinate array appended data positions.
72
OffsetsManagerArray
*
CoordinateOM
;
73
74
virtual
void
AllocatePositionArrays
();
75
virtual
void
DeletePositionArrays
();
76
77
private
:
78
vtkXMLRectilinearGridWriter
(
const
vtkXMLRectilinearGridWriter
&);
// Not implemented.
79
void
operator=(
const
vtkXMLRectilinearGridWriter
&);
// Not implemented.
80
};
81
82
#endif
Generated on Thu Mar 13 2014 08:10:24 for VTK by
1.8.1.2