VTK  9.0.1
vtkLinearContourLineInterpolator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLinearContourLineInterpolator.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 =========================================================================*/
27 #ifndef vtkLinearContourLineInterpolator_h
28 #define vtkLinearContourLineInterpolator_h
29 
31 #include "vtkInteractionWidgetsModule.h" // For export macro
32 
33 class VTKINTERACTIONWIDGETS_EXPORT vtkLinearContourLineInterpolator
35 {
36 public:
41 
43 
47  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
50  int InterpolateLine(vtkRenderer* ren, vtkContourRepresentation* rep, int idx1, int idx2) override;
51 
52 protected:
55 
56 private:
58  void operator=(const vtkLinearContourLineInterpolator&) = delete;
59 };
60 
61 #endif
vtkContourLineInterpolator
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
Definition: vtkContourLineInterpolator.h:42
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkContourRepresentation
represent the vtkContourWidget
Definition: vtkContourRepresentation.h:117
vtkContourLineInterpolator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkLinearContourLineInterpolator
Interpolates supplied nodes with line segments.
Definition: vtkLinearContourLineInterpolator.h:33
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:67
vtkContourLineInterpolator::InterpolateLine
virtual int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2)=0
Subclasses that wish to interpolate a line segment must implement this.
vtkContourLineInterpolator.h