IGSTK
/tmp/buildd/igstk-4.4.0/Source/igstkToolProjectionSpatialObject.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Image Guided Surgery Software Toolkit
00004   Module:    $RCSfile: igstkToolProjectionSpatialObject.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-01-30 21:39:15 $
00007   Version:   $Revision: 1.1 $
00008 
00009   Copyright (c) ISC  Insight Software Consortium.  All rights reserved.
00010   See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 
00018 #ifndef __igstkToolProjectionSpatialObject_h
00019 #define __igstkToolProjectionSpatialObject_h
00020 
00021 #include "igstkMacros.h"
00022 #include "igstkSpatialObject.h"
00023 #include "itkGroupSpatialObject.h"
00024 
00025 namespace igstk
00026 {
00027 
00039 class ToolProjectionSpatialObject 
00040 : public SpatialObject
00041 {
00042 
00043 public:
00044 
00046   igstkStandardClassTraitsMacro( ToolProjectionSpatialObject, SpatialObject )
00047 
00048 public:
00049   
00051   void SetSize(double size);
00052   
00054   double GetSize() const;
00055  
00056 protected:
00057 
00058   ToolProjectionSpatialObject( void );
00059   ~ToolProjectionSpatialObject( void );
00060 
00062   virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const; 
00063 
00064 private:
00065 
00067   typedef itk::GroupSpatialObject<3>     ToolProjectionSpatialObjectType;
00068 
00069   ToolProjectionSpatialObject(const Self&);         //purposely not implemented
00070   void operator=(const Self&);     //purposely not implemented
00071 
00072   ToolProjectionSpatialObjectType::Pointer     m_ToolProjectionSpatialObject;
00073 
00074   double                             m_Size;
00075 
00076 };
00077 
00078 } // end namespace igstk
00079 
00080 #endif // __igstkToolProjectionSpatialObject_h