VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPolygonalHandleRepresentation3D.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 =========================================================================*/ 00030 #ifndef vtkPolygonalHandleRepresentation3D_h 00031 #define vtkPolygonalHandleRepresentation3D_h 00032 00033 #include "vtkInteractionWidgetsModule.h" // For export macro 00034 #include "vtkAbstractPolygonalHandleRepresentation3D.h" 00035 00036 class VTKINTERACTIONWIDGETS_EXPORT vtkPolygonalHandleRepresentation3D 00037 : public vtkAbstractPolygonalHandleRepresentation3D 00038 { 00039 public: 00041 static vtkPolygonalHandleRepresentation3D *New(); 00042 00044 00045 vtkTypeMacro(vtkPolygonalHandleRepresentation3D, 00046 vtkAbstractPolygonalHandleRepresentation3D); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00049 00051 virtual void SetWorldPosition(double p[3]); 00052 00054 00056 vtkSetVector3Macro( Offset, double ); 00057 vtkGetVector3Macro( Offset, double ); 00059 00060 protected: 00061 vtkPolygonalHandleRepresentation3D(); 00062 ~vtkPolygonalHandleRepresentation3D() {} 00063 00064 double Offset[3]; 00065 00066 private: 00067 vtkPolygonalHandleRepresentation3D(const vtkPolygonalHandleRepresentation3D&); //Not implemented 00068 void operator=(const vtkPolygonalHandleRepresentation3D&); //Not implemented 00069 }; 00070 00071 #endif