VTK
dox/Widgets/vtkPolygonalHandleRepresentation3D.h
Go to the documentation of this file.
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 "vtkAbstractPolygonalHandleRepresentation3D.h"
00034 
00035 class VTK_WIDGETS_EXPORT vtkPolygonalHandleRepresentation3D 
00036                 : public vtkAbstractPolygonalHandleRepresentation3D
00037 {
00038 public:
00040   static vtkPolygonalHandleRepresentation3D *New();
00041 
00043 
00044   vtkTypeMacro(vtkPolygonalHandleRepresentation3D,
00045                        vtkAbstractPolygonalHandleRepresentation3D);
00046   void PrintSelf(ostream& os, vtkIndent indent);
00048 
00050   virtual void SetWorldPosition(double p[3]);
00051 
00053 
00055   vtkSetVector3Macro( Offset, double );
00056   vtkGetVector3Macro( Offset, double );
00058     
00059 protected:
00060   vtkPolygonalHandleRepresentation3D();
00061   ~vtkPolygonalHandleRepresentation3D() {};
00062 
00063   double Offset[3];
00064 
00065 private:
00066   vtkPolygonalHandleRepresentation3D(const vtkPolygonalHandleRepresentation3D&);  //Not implemented
00067   void operator=(const vtkPolygonalHandleRepresentation3D&);  //Not implemented
00068 };
00069 
00070 #endif