VTK
vtkContourLineInterpolator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkContourLineInterpolator.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 =========================================================================*/
32 #ifndef vtkContourLineInterpolator_h
33 #define vtkContourLineInterpolator_h
34 
35 #include "vtkInteractionWidgetsModule.h" // For export macro
36 #include "vtkObject.h"
37 
38 class vtkRenderer;
40 class vtkIntArray;
41 
42 class VTKINTERACTIONWIDGETS_EXPORT vtkContourLineInterpolator : public vtkObject
43 {
44 public:
46 
50  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
58  virtual int InterpolateLine( vtkRenderer *ren,
60  int idx1, int idx2 ) = 0;
61 
69  virtual int UpdateNode( vtkRenderer *,
71  double * vtkNotUsed(node), int vtkNotUsed(idx) );
72 
88  virtual void GetSpan( int nodeIndex, vtkIntArray *nodeIndices,
90 
91  protected:
93  ~vtkContourLineInterpolator() override;
94 
95 private:
97  void operator=(const vtkContourLineInterpolator&) = delete;
98 };
99 
100 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:59
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
Definition: vtkRenderer.h:63
represent the vtkContourWidget
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:45
a simple class to control print indentation
Definition: vtkIndent.h:39
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.