VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkLinearContourLineInterpolator.h 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 =========================================================================*/ 00029 #ifndef __vtkLinearContourLineInterpolator_h 00030 #define __vtkLinearContourLineInterpolator_h 00031 00032 #include "vtkInteractionWidgetsModule.h" // For export macro 00033 #include "vtkContourLineInterpolator.h" 00034 00035 class VTKINTERACTIONWIDGETS_EXPORT vtkLinearContourLineInterpolator 00036 : public vtkContourLineInterpolator 00037 { 00038 public: 00039 00041 static vtkLinearContourLineInterpolator *New(); 00042 00044 00045 vtkTypeMacro(vtkLinearContourLineInterpolator,vtkContourLineInterpolator); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00048 00049 virtual int InterpolateLine( vtkRenderer *ren, 00050 vtkContourRepresentation *rep, 00051 int idx1, int idx2 ); 00052 00053 protected: 00054 vtkLinearContourLineInterpolator(); 00055 ~vtkLinearContourLineInterpolator(); 00056 00057 private: 00058 vtkLinearContourLineInterpolator(const vtkLinearContourLineInterpolator&); //Not implemented 00059 void operator=(const vtkLinearContourLineInterpolator&); //Not implemented 00060 }; 00061 00062 #endif