VTK
dox/Widgets/vtkFocalPlaneContourRepresentation.h
Go to the documentation of this file.
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 "vtkContourRepresentation.h"
00036 
00037 class vtkHandleRepresentation;
00038 
00039 class VTK_WIDGETS_EXPORT vtkFocalPlaneContourRepresentation : public vtkContourRepresentation
00040 {
00041 public:
00043 
00044   vtkTypeMacro(vtkFocalPlaneContourRepresentation,vtkContourRepresentation);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00047 
00049 
00052   virtual int GetIntermediatePointWorldPosition( int n, 
00053                                                  int idx, double point[3] );
00055 
00057 
00060   virtual int GetIntermediatePointDisplayPosition( int n, 
00061                                                  int idx, double point[3] );
00063 
00066   virtual int GetNthNodeDisplayPosition( int n, double pos[2] );
00067  
00070   virtual int GetNthNodeWorldPosition( int n, double pos[3] );
00071 
00075   virtual void UpdateContourWorldPositionsBasedOnDisplayPositions();
00076   
00079   virtual int UpdateContour();
00080 
00081   virtual void UpdateLines( int index );
00082 
00083 protected:
00084   vtkFocalPlaneContourRepresentation();
00085   ~vtkFocalPlaneContourRepresentation();
00086 
00087 private:
00088   vtkFocalPlaneContourRepresentation(const vtkFocalPlaneContourRepresentation&);  //Not implemented
00089   void operator=(const vtkFocalPlaneContourRepresentation&);  //Not implemented
00090 };
00091 
00092 #endif
00093