VTK
vtkPolyDataContourLineInterpolator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyDataContourLineInterpolator.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 =========================================================================*/
25 #ifndef vtkPolyDataContourLineInterpolator_h
26 #define vtkPolyDataContourLineInterpolator_h
27 
28 #include "vtkInteractionWidgetsModule.h" // For export macro
30 
31 class vtkPolyData;
33 
34 class VTKINTERACTIONWIDGETS_EXPORT vtkPolyDataContourLineInterpolator
36 {
37 public:
39 
44  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
52  int InterpolateLine( vtkRenderer *ren,
54  int idx1, int idx2 ) override = 0;
55 
63  int UpdateNode( vtkRenderer *,
65  double * vtkNotUsed(node), int vtkNotUsed(idx) ) override = 0;
66 
68 
72  vtkGetObjectMacro( Polys, vtkPolyDataCollection );
74 
75 protected:
78 
80 
81 private:
83  const vtkPolyDataContourLineInterpolator&) = delete;
84  void operator=(const vtkPolyDataContourLineInterpolator&) = delete;
85 };
86 
87 #endif
vtkPolyDataCollection
maintain a list of polygonal data objects
Definition: vtkPolyDataCollection.h:34
vtkContourLineInterpolator
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
Definition: vtkContourLineInterpolator.h:42
vtkContourRepresentation
represent the vtkContourWidget
Definition: vtkContourRepresentation.h:120
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:39
vtkContourLineInterpolator::UpdateNode
virtual int UpdateNode(vtkRenderer *, vtkContourRepresentation *, double *vtkNotUsed(node), int vtkNotUsed(idx))
The interpolator is given a chance to update the node.
vtkPolyDataContourLineInterpolator
Contour interpolator for polygonal data.
Definition: vtkPolyDataContourLineInterpolator.h:34
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:63
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
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.
vtkPolyDataContourLineInterpolator::Polys
vtkPolyDataCollection * Polys
Definition: vtkPolyDataContourLineInterpolator.h:79
vtkContourLineInterpolator.h