VedaLibMath/EquationSpline_XY.h

Go to the documentation of this file.
00001 /*! \file 
00002     \author victorien ferry & www.m4nkind.com
00003     \brief This file applies the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 , read file COPYING.
00004 */
00005 #ifndef COM_M4NKIND_EquationSpline_XY_H
00006 #define COM_M4NKIND_EquationSpline_XY_H
00007 
00008 #include "VirtualEquationSpline.h"
00009 #include "PackFloat.h"
00010 #include "PackList_TimeTrack.h"
00011 /*!
00012     \class  EquationSpline_XY
00013     \ingroup BaseObjectInherited_VedaLibMath BaseObjectInheritedDocGroup
00014     \brief  Spline function for XY
00015 */
00016 class EquationSpline_XY : public VirtualEquationSpline
00017 {
00018 /*==================================================================
00019                                 PUBLIC
00020 ==================================================================*/
00021 public:
00022     /*!
00023         \brief  Constructor. There should only be members initialisation there.
00024     */
00025     EquationSpline_XY(void);
00026 
00027     /*!
00028         \brief  Class Inheritance Descriptors. Also forces a destructor. See BASEOBJECT_DECLARE_... in .cpp
00029     */
00030     BASEOBJECT_DEFINE_CLASS(EquationSpline_XY);
00031 
00032     /*!
00033         \brief  static method passed to the list to create new elements.
00034         \return a new element.
00035     */
00036     static PackList_TimeTrack::TimeTrackElement *NewSplineElementXY(){ return new SplineElement(PackFloat::vd_XY); };
00037     
00038 /*==================================================================
00039                                 PROTECTED
00040 ==================================================================*/
00041 protected:
00042     //! list of objects in the scenes. According to the type of class, it can be serialized (Scene3D) or created ( Scene3DText )
00043     PackList_TimeTrack      mSer_List;
00044     /*!
00045         \brief   Return a list that manages SplineElement.
00046         \return the list
00047     */
00048     virtual PackList_TimeTrack *GetList(){ return &mSer_List; };
00049 };
00050 #endif

      /\/\        4         N         k         !         N         D
                      _______  _ __ ___  _____            ___ _ _  ____
     ___________  __//___   /________  |/    / ___________\_______/    \
    /   _   _   \/   _     /    _   /      _/_/____/    _       __     /
   /    /   /       /     /    /    \      \/     /    /    \   \     /
  \\___/___/___/    ¯    _____/_____/       ______\___/_____/\________\\
               \________/_ ___ __ l____\      /elD!  
                 http://www.m4nkind.com \____/