VTK  9.0.20210115
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(
59  vtkRenderer* ren, vtkContourRepresentation* rep, int idx1, int idx2) = 0;
60 
68  virtual int UpdateNode(
69  vtkRenderer*, vtkContourRepresentation*, double* vtkNotUsed(node), int vtkNotUsed(idx));
70 
86  virtual void GetSpan(int nodeIndex, vtkIntArray* nodeIndices, vtkContourRepresentation* rep);
87 
88 protected:
90  ~vtkContourLineInterpolator() override;
91 
92 private:
94  void operator=(const vtkContourLineInterpolator&) = delete;
95 };
96 
97 #endif
vtkContourLineInterpolator
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
Definition: vtkContourLineInterpolator.h:42
vtkContourRepresentation
represent the vtkContourWidget
Definition: vtkContourRepresentation.h:117
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkIntArray
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:39
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:67