• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Widgets/vtkPolygonalSurfaceContourLineInterpolator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkPolygonalSurfaceContourLineInterpolator.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00042 #ifndef __vtkPolygonalSurfaceContourLineInterpolator_h
00043 #define __vtkPolygonalSurfaceContourLineInterpolator_h
00044 
00045 #include "vtkPolyDataContourLineInterpolator.h"
00046 
00047 class vtkDijkstraGraphGeodesicPath;
00048 
00049 class VTK_WIDGETS_EXPORT vtkPolygonalSurfaceContourLineInterpolator : public vtkPolyDataContourLineInterpolator
00050 {
00051 public:
00053 
00054   vtkTypeRevisionMacro(vtkPolygonalSurfaceContourLineInterpolator, vtkPolyDataContourLineInterpolator);
00055   void PrintSelf(ostream& os, vtkIndent indent);
00057 
00058   static vtkPolygonalSurfaceContourLineInterpolator *New();
00059 
00061 
00065   virtual int InterpolateLine( vtkRenderer *ren, 
00066                                vtkContourRepresentation *rep,
00067                                int idx1, int idx2 );
00069   
00071 
00076   virtual int UpdateNode( vtkRenderer *, 
00077                           vtkContourRepresentation *,
00078                           double * vtkNotUsed(node), int vtkNotUsed(idx) );
00080 
00082 
00086   vtkSetMacro( DistanceOffset, double ); 
00087   vtkGetMacro( DistanceOffset, double ); 
00089   
00090 protected:
00091   vtkPolygonalSurfaceContourLineInterpolator();
00092   ~vtkPolygonalSurfaceContourLineInterpolator();
00093 
00096   double         DistanceOffset;
00097 
00098 private:
00099   vtkPolygonalSurfaceContourLineInterpolator(const vtkPolygonalSurfaceContourLineInterpolator&);  //Not implemented
00100   void operator=(const vtkPolygonalSurfaceContourLineInterpolator&);  //Not implemented
00101 
00102   // Cache the last used vertex id's (start and end).
00103   // If they are the same, don't recompute.
00104   vtkIdType      LastInterpolatedVertexIds[2];
00105 
00106   vtkDijkstraGraphGeodesicPath* DijkstraGraphGeodesicPath;
00107 };
00108 
00109 #endif

Generated by  doxygen 1.7.1