Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkPointPicker.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkPointPicker.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 =========================================================================*/
00035 #ifndef __vtkPointPicker_h
00036 #define __vtkPointPicker_h
00037 
00038 #include "vtkPicker.h"
00039 
00040 class VTK_RENDERING_EXPORT vtkPointPicker : public vtkPicker
00041 {
00042 public:
00043   static vtkPointPicker *New();
00044   vtkTypeRevisionMacro(vtkPointPicker,vtkPicker);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00048 
00049   vtkGetMacro(PointId, vtkIdType);
00051 
00052 protected:
00053   vtkPointPicker();
00054   ~vtkPointPicker() {};
00055 
00056   vtkIdType PointId; //picked point
00057 
00058   double IntersectWithLine(double p1[3], double p2[3], double tol, 
00059                           vtkAssemblyPath *path, vtkProp3D *p, 
00060                           vtkAbstractMapper3D *m);
00061   void Initialize();
00062 
00063 private:
00064   vtkPointPicker(const vtkPointPicker&);  // Not implemented.
00065   void operator=(const vtkPointPicker&);  // Not implemented.
00066 };
00067 
00068 #endif
00069 
00070 

Generated on Mon Jan 21 23:07:35 2008 for VTK by  doxygen 1.4.3-20050530