VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Geovis
Core
vtkGeoAssignCoordinates.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGeoAssignCoordinates.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
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
37
#ifndef __vtkGeoAssignCoordinates_h
38
#define __vtkGeoAssignCoordinates_h
39
40
#include "vtkGeovisCoreModule.h"
// For export macro
41
#include "
vtkPassInputTypeAlgorithm.h
"
42
43
class
vtkAbstractTransform
;
44
45
class
VTKGEOVISCORE_EXPORT
vtkGeoAssignCoordinates
:
public
vtkPassInputTypeAlgorithm
46
{
47
public
:
48
static
vtkGeoAssignCoordinates
*
New
();
49
50
vtkTypeMacro(
vtkGeoAssignCoordinates
,
vtkPassInputTypeAlgorithm
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent);
52
54
55
vtkSetStringMacro(LongitudeArrayName);
56
vtkGetStringMacro
(LongitudeArrayName);
58
60
61
vtkSetStringMacro(LatitudeArrayName);
62
vtkGetStringMacro
(LatitudeArrayName);
64
66
67
vtkSetMacro(GlobeRadius,
double
);
68
vtkGetMacro(GlobeRadius,
double
);
70
72
75
virtual
void
SetTransform(
vtkAbstractTransform
* trans);
76
vtkGetObjectMacro(
Transform
,
vtkAbstractTransform
);
78
80
83
vtkSetMacro(CoordinatesInArrays,
bool
);
84
vtkGetMacro(CoordinatesInArrays,
bool
);
85
vtkBooleanMacro(CoordinatesInArrays,
bool
);
87
88
protected
:
89
vtkGeoAssignCoordinates
();
90
~
vtkGeoAssignCoordinates
();
91
92
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
93
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
94
95
private
:
96
97
char
* LongitudeArrayName;
98
char
* LatitudeArrayName;
99
double
GlobeRadius;
100
bool
CoordinatesInArrays;
101
vtkAbstractTransform
*
Transform
;
102
103
vtkGeoAssignCoordinates
(
const
vtkGeoAssignCoordinates
&);
// Not implemented.
104
void
operator=(
const
vtkGeoAssignCoordinates
&);
// Not implemented.
105
};
106
107
#endif
108
Generated on Thu May 24 2012 22:22:23 for VTK by
1.8.1