VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkFocalPlaneContourRepresentation.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 =========================================================================*/ 00032 #ifndef __vtkFocalPlaneContourRepresentation_h 00033 #define __vtkFocalPlaneContourRepresentation_h 00034 00035 #include "vtkInteractionWidgetsModule.h" // For export macro 00036 #include "vtkContourRepresentation.h" 00037 00038 class vtkHandleRepresentation; 00039 00040 class VTKINTERACTIONWIDGETS_EXPORT vtkFocalPlaneContourRepresentation : public vtkContourRepresentation 00041 { 00042 public: 00044 00045 vtkTypeMacro(vtkFocalPlaneContourRepresentation,vtkContourRepresentation); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00048 00050 00053 virtual int GetIntermediatePointWorldPosition( int n, 00054 int idx, double point[3] ); 00056 00058 00061 virtual int GetIntermediatePointDisplayPosition( int n, 00062 int idx, double point[3] ); 00064 00067 virtual int GetNthNodeDisplayPosition( int n, double pos[2] ); 00068 00071 virtual int GetNthNodeWorldPosition( int n, double pos[3] ); 00072 00076 virtual void UpdateContourWorldPositionsBasedOnDisplayPositions(); 00077 00080 virtual int UpdateContour(); 00081 00082 virtual void UpdateLines( int index ); 00083 00084 protected: 00085 vtkFocalPlaneContourRepresentation(); 00086 ~vtkFocalPlaneContourRepresentation(); 00087 00088 private: 00089 vtkFocalPlaneContourRepresentation(const vtkFocalPlaneContourRepresentation&); //Not implemented 00090 void operator=(const vtkFocalPlaneContourRepresentation&); //Not implemented 00091 }; 00092 00093 #endif 00094