TAPs 0.7.7.3
TAPsAdvSimSupport.hpp
Go to the documentation of this file.
00001 /******************************************************************************
00002 TAPsAdvSimSupport.hpp
00003 ******************************************************************************/
00018 /******************************************************************************
00019 SUKITTI PUNAK   (09/26/2008)
00020 UPDATE          (08/01/2010)
00021 ******************************************************************************/
00022 #ifndef TAPs_ADV_SIM_SUPPORT_HPP
00023 #define TAPs_ADV_SIM_SUPPORT_HPP
00024 
00025 #include "TAPsAdvSimSupport_DS.hpp"
00026 
00027 BEGIN_NAMESPACE_TAPs
00028 //=============================================================================
00029 template <typename T, typename DATA = unsigned char>
00030 class AdvSimSupport {
00031 //=============================================================================
00032 public:
00033     // Member Functions -------------------------------------------------------
00035     //friend std::ostream & operator<< ( std::ostream &output, AdvSimSupport<T> const &obj )
00036     //{
00037     //  output << obj.StrInfo();
00038     //  return output;
00039     //}
00040     //-------------------------------------------------------------------------
00042     AdvSimSupport ();
00044     ~AdvSimSupport ();
00045     //-------------------------------------------------------------------------
00047     //virtual std::string StrInfo () const;
00048     //-------------------------------------------------------------------------
00050     void SetVertexStatus ( 
00051         std::vector< TAPs::HEVertex<T>* > * vertexList,     
00052         enum Enum::AddOn::SimConstraints status             
00053     );
00054     //-------------------------------------------------------------------------
00056     AdvSimSupport_DS<T,DATA> *  GetDefaultAdvSimData () { return &m_DefaultAdvSimData; }
00057 
00059     AdvSimSupport_DS<T,DATA> *  GetAdvSimData ()    { return m_pAdvSimData; }
00060 
00062     void SetAdvSimData ( AdvSimSupport_DS<T,DATA> * ptr ) { m_pAdvSimData = ptr; }
00063 
00064     //-------------------------------------------------------------------------
00065     // Data Members -----------------------------------------------------------
00066 //=============================================================================
00067 protected:
00068     // Member Functions -------------------------------------------------------
00069     // Data Members -----------------------------------------------------------
00070     AdvSimSupport_DS<T,DATA>    m_DefaultAdvSimData;    
00071     AdvSimSupport_DS<T,DATA> *  m_pAdvSimData;          
00072 //=============================================================================
00073 private:
00074     // Member Functions -------------------------------------------------------
00075     // Data Members -----------------------------------------------------------
00076 //=============================================================================
00077 
00078 #if defined(__gl_h_) || defined(__GL_H__)
00079 public:
00080     //virtual void DrawBVH ()
00081     //{ if ( m_pBVHTree )   m_pBVHTree->DrawByOpenGL(); }
00082 #endif
00083 
00084 //=============================================================================
00085 }; // END CLASS AdvSimSupport
00086 //=============================================================================
00087 END_NAMESPACE_TAPs
00088 //-----------------------------------------------------------------------------
00089 // Include definition if TAPs_USE_EXPORT is not defined
00090 //#if !defined( TAPs_USE_EXPORT )
00091     #include "TAPsAdvSimSupport.cpp"
00092 //#endif
00093 //-----------------------------------------------------------------------------
00094 #endif//TAPs_ADV_SIM_SUPPORT_HPP
00095 //34567890123456789012345678901234567890123456789012345678901234567890123456789
00096 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines