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 
47 
48 class vtkImageData;
50 
53 {
54 public:
57 
59 
62  void PrintSelf(ostream& os, vtkIndent indent);
64 
66 
71  virtual int InterpolateLine( vtkRenderer *ren,
73  int idx1, int idx2 );
75 
77 
80  virtual int UpdateNode( vtkRenderer *,
82  double * vtkNotUsed(node), int vtkNotUsed(idx) );
84 
86 
88  virtual void SetImageData(vtkImageData *);
89  vtkGetObjectMacro(ImageData, vtkImageData);
91 
93 
97  vtkGetObjectMacro(Projector, vtkProjectedTerrainPath);
99 
100 protected:
103 
104  vtkImageData *ImageData; // height field data
106 
107 private:
109  void operator=(const vtkTerrainContourLineInterpolator&); //Not implemented
110 };
111 
112 #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:69
virtual int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2)=0
represent the vtkContourWidget
a simple class to control print indentation
Definition: vtkIndent.h:37
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
#define VTK_WIDGETS_EXPORT
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()