Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

hyp.data.vertex.h

00001 /*
00002 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
00003  Ephydryne Components.
00004  Ephydryne is a part of the Hyperion Project.
00005 ----------------------------------------------------------
00006  Copyright (c) 2001 Pierre Rebours.
00007 
00008  This library is free software; you can redistribute it and/or
00009  modify it under the terms of the GNU Lesser General Public
00010  License as published by the Free Software Foundation; either
00011  version 2.1 of the License, or (at your option) any later version.
00012 
00013  This library is distributed in the hope that it will be useful,
00014  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  
00017  See hyp.license.txt file for more information about the license.
00018  
00019  Web: http://lagrandeporte.multimania.com/hyperion
00020  Email: pierre_rebours@yahoo.com
00021 ----------------------------------------------------------
00022  CVS
00023  $Log$
00024 
00025  Creation 14/03/01 Pierre Rebours
00026 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
00027 */
00028 
00029 
00030 #ifndef _hyp_data_vertex_h_
00031 #define _hyp_data_vertex_h_
00032 
00033 #ifndef hypfem_INSIDE_INTERN
00034 #error Inclusion not allowed (include hyp.fem.intern.h instead)
00035 #endif
00036 
00046 class CGeometricVertex :
00047 #ifdef hypfem_IDENTIFY_CONSTRUCTION_ON
00048 protected CIDClass,
00049 #endif
00050 public IGeometricVertex,
00051 public hyp_ker::CUnknown
00052 {
00053 public:
00055         CGeometricVertex(hyp_ker::IUnknown*);
00056         virtual ~CGeometricVertex();
00057         hyp_DECLARE_IUNKNOWN
00058         virtual hyp_ker::com_result NondelegatingQueryInterface(const hyp_ker::hypIID&,void**);
00059         static hyp_ker::com_result CreateInstance(hyp_ker::IUnknown* ,hyp_ker::CUnknown**);
00061 
00065         virtual t_real GetCoord(const t_size&) const;
00066         virtual void SetCoord(const t_real&,const t_size&);
00067         virtual bool IsVisible() const { return m_bVisible; }
00068         virtual void Visible(bool bVisible) { m_bVisible=bVisible; }
00070 
00071 private:
00072         t_real_array m_Coord;
00073         bool m_bVisible;
00074 };
00075 
00076 
00077 
00078 
00079 #endif

Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.