VTK
vtkTerrainContourLineInterpolator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTerrainContourLineInterpolator.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 =========================================================================*/
43 #ifndef vtkTerrainContourLineInterpolator_h
44 #define vtkTerrainContourLineInterpolator_h
45 
46 #include "vtkInteractionWidgetsModule.h" // For export macro
48 
49 class vtkImageData;
51 
54 {
55 public:
58 
60 
63  void PrintSelf(ostream& os, vtkIndent indent);
65 
67 
72  virtual int InterpolateLine( vtkRenderer *ren,
74  int idx1, int idx2 );
76 
78 
81  virtual int UpdateNode( vtkRenderer *,
83  double * vtkNotUsed(node), int vtkNotUsed(idx) );
85 
87 
89  virtual void SetImageData(vtkImageData *);
90  vtkGetObjectMacro(ImageData, vtkImageData);
92 
94 
98  vtkGetObjectMacro(Projector, vtkProjectedTerrainPath);
100 
101 protected:
104 
105  vtkImageData *ImageData; // height field data
107 
108 private:
110  void operator=(const vtkTerrainContourLineInterpolator&); //Not implemented
111 };
112 
113 #endif
virtual int UpdateNode(vtkRenderer *, vtkContourRepresentation *, double *vtkNotUsed(node), int vtkNotUsed(idx))
project a polyline onto a terrain
abstract specification for renderers
Definition: vtkRenderer.h:62
virtual int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2)=0
represent the vtkContourWidget
#define VTKINTERACTIONWIDGETS_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()