VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
demarle
Source
VTK
release
8.2
build
Utilities
Doxygen
dox
Geovis
Core
vtkGeoImageNode.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGeoImageNode.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
-------------------------------------------------------------------------*/
32
#ifndef vtkGeoImageNode_h
33
#define vtkGeoImageNode_h
34
35
#include "vtkGeovisCoreModule.h"
// For export macro
36
#include "
vtkGeoTreeNode.h
"
37
#include "
vtkSmartPointer.h
"
// for SP
38
#include "
vtkImageData.h
"
// for SP
39
40
class
vtkPolyData
;
41
class
vtkTexture
;
42
43
#if !defined(VTK_LEGACY_REMOVE)
44
class
VTKGEOVISCORE_EXPORT
vtkGeoImageNode
:
public
vtkGeoTreeNode
45
{
46
public
:
47
static
vtkGeoImageNode
*
New
();
48
vtkTypeMacro(
vtkGeoImageNode
,
vtkGeoTreeNode
);
49
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
50
52
56
vtkGeoImageNode
* GetChild(
int
idx);
57
vtkGeoImageNode
* GetParent();
59
61
64
vtkImageData
* GetImage();
65
void
SetImage(
vtkImageData
*
image
);
67
69
72
vtkTexture
* GetTexture();
73
void
SetTexture(
vtkTexture
* texture);
75
82
void
CropImageForTile(
vtkImageData
*
image
,
double
* imageLonLatExt,
83
const
char
* prefix =
nullptr
);
84
88
void
LoadAnImage(
const
char
* prefix);
89
91
94
void
ShallowCopy
(
vtkGeoTreeNode
*src)
override
;
95
void
DeepCopy
(
vtkGeoTreeNode
*src)
override
;
97
98
// Returns whether this node has valid data associated
99
// with it, or if it is an "empty" node.
100
bool
HasData
()
override
;
101
107
void
DeleteData
()
override
;
108
109
protected
:
110
vtkGeoImageNode
();
111
~
vtkGeoImageNode
()
override
;
112
113
int
PowerOfTwo(
int
val);
114
115
vtkSmartPointer<vtkImageData>
Image
;
116
vtkSmartPointer<vtkTexture>
Texture
;
117
118
private
:
119
vtkGeoImageNode
(
const
vtkGeoImageNode
&) =
delete
;
120
void
operator=(
const
vtkGeoImageNode
&) =
delete
;
121
};
122
123
#endif //VTK_LEGACY_REMOVE
124
#endif
vtkGeoTreeNode::ShallowCopy
virtual void ShallowCopy(vtkGeoTreeNode *src)
Shallow and Deep copy.
vtkGeoTreeNode::HasData
virtual bool HasData()
Returns whether this node has valid data associated with it, or if it is an "empty" node...
Definition:
vtkGeoTreeNode.h:113
vtkGeoTreeNode::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGeoImageNode
A node in a multi-resolution image tree.
Definition:
vtkGeoImageNode.h:44
vtkSmartPointer< vtkImageData >
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition:
vtkPolyData.h:85
vtkGeoImageNode::Image
vtkSmartPointer< vtkImageData > Image
Definition:
vtkGeoImageNode.h:115
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkImageData
topologically and geometrically regular array of data
Definition:
vtkImageData.h:45
vtkTexture
handles properties associated with a texture map
Definition:
vtkTexture.h:71
vtkGeoTreeNode::New
static vtkGeoTreeNode * New()
vtkGeoImageNode::Texture
vtkSmartPointer< vtkTexture > Texture
Definition:
vtkGeoImageNode.h:116
vtkGeoTreeNode
Stores data for a patch of the globe.
Definition:
vtkGeoTreeNode.h:47
vtkSmartPointer.h
vtkGeoTreeNode::DeleteData
virtual void DeleteData()
Deletes the data associated with the node to make this an "empty" node.
Definition:
vtkGeoTreeNode.h:121
vtkX3D::image
Definition:
vtkX3D.h:374
vtkImageData.h
vtkGeoTreeNode.h
vtkGeoTreeNode::DeepCopy
virtual void DeepCopy(vtkGeoTreeNode *src)
Shallow and Deep copy.
Generated by
1.8.11