TAPs 0.7.7.3
TAPsBasePointManager.hpp
Go to the documentation of this file.
00001 /******************************************************************************
00002 TAPsBasePointManager.hpp
00003 
00004 Declares the pure virtual interface for Point Manager
00005 
00006 SUKITTI PUNAK   (07/20/2005)
00007 UPDATE          (07/30/2005)
00008 ******************************************************************************/
00009 #ifndef TAPs_BASE_POINT_MANAGER_HPP
00010 #define TAPs_BASE_POINT_MANAGER_HPP
00011 
00012 #include "../../../Core/TAPsLib.hpp"
00013 
00014 BEGIN_NAMESPACE_TAPs__OpenGL
00015 //=============================================================================
00016 // Class Forward
00017 template <typename T> class OpenGLBaseViewManager;
00018 //=============================================================================
00019 template <typename T>
00020 class BasePointManager {
00021 public:
00022     //----------------------------------------------------------------
00023     BasePointManager () {}
00024     virtual ~BasePointManager () {}
00025     //----------------------------------------------------------------
00026     virtual void Setup ( OpenGLBaseViewManager<T> *pViewManager ) = 0;
00027     virtual void Cleanup () = 0;
00028     //----------------------------------------------------------------
00029     virtual int GetNumPoints () const = 0;
00030     virtual const Vector3<T> & GetPointPosition ( int i ) const = 0;
00031     virtual Vector3<T> & GetPointPosition ( int i ) = 0;
00032     virtual void SetPointPosition ( int i, const Vector3<T> &position ) = 0;
00033     virtual void SetPointHighlighted ( int i, bool bHighlighted ) = 0;
00034     virtual bool IsPointHighlighted ( int i ) const = 0;
00035     virtual void SetPointSelected ( int i, bool bSelected ) = 0;
00036     virtual bool IsPointSelected ( int i ) const = 0;
00037     virtual void DrawPoints () = 0;
00038     virtual void DrawLines () = 0;
00039     virtual int PickPoint ( int iWinX, int iWinY ) const = 0;
00040     //----------------------------------------------------------------
00041 }; // CLASS END: BasePointManager **********************************************
00042 //=============================================================================
00043 END_NAMESPACE_TAPs__OpenGL
00044 //-----------------------------------------------------------------------------
00045 // Include definition if TAPs_USE_EXPORT is not defined
00046 //#if !defined( TAPs_USE_EXPORT )
00047     //#include "TAPsBasePointManager.cpp"
00048 //#endif
00049 //-----------------------------------------------------------------------------
00050 #endif
00051 //345678901234567890123456789012345678901234567890123456789012345678901234567890
00052 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines