5 #ifndef _MGGelPosition_HH_
6 #define _MGGelPosition_HH_
12 #include "mg/AttribedGel.h"
65 bool operator!= (
const MGGelPosition& gelp2)
const{
return !(*
this==gelp2);}
75 void append_lower_gel(
MGGel* gel);
78 const MGGel*
gel(
int i)
const{
return m_Ghierarcy[i];};
94 const MGGroup* bottom_group()
const;
103 MGShell* get_shell_of_shell_face()
const;
113 bool is_null()
const;
117 bool is_shell_face()
const;
123 bool leaf_is_group()
const;
145 void set_leaf_object(
MGObject* obj);
165 std::vector<MGGel*> m_Ghierarcy;
181 const MGObject* top_object_sub()
const;
184 const MGGroup* bottom_group_sub()
const;
virtual ~MGGelPosition()
Destructor.
Definition: GelPosition.h:58
const MGAttribedGel * leafAttribedGel() const
Definition: GelPosition.h:138
bool operator>=(const MGGelPosition &gp2) const
Definition: GelPosition.h:70
Is a container of MGAbstractGel, to specify what kind of gels are required.
Definition: AbstractGels.h:25
std::ostream & operator<<(std::ostream &ostrm, const MGisect &is)
Debug Function.
Definition: isect.h:95
const MGObject * leaf_object() const
Definition: GelPosition.h:133
bool operator<=(const MGGelPosition &gp2) const
Definition: GelPosition.h:69
Is an abstract class which represents a whole geometry and a topology.
Definition: Object.h:42
MGShell is a composition of MGFace's(trimmed surface).
Definition: Shell.h:32
void set_top_group(MGGroup *group)
Set the group data.
Definition: GelPosition.h:148
MGGel is an abstract class which represents a group element.
Definition: Gel.h:53
Is an abstract class which provides interfaces of MGGel that has MGAppearance.
Definition: AttribedGel.h:32
MGGelPosition is a class to locate where a gel is in a group hierarchy.
Definition: GelPosition.h:39
MGGroup * m_group
Definition: GelPosition.h:164
MGAttribedGel * leafAttribedGel()
Definition: GelPosition.h:139
const MGGroup * top_group() const
Get the top group pointer.
Definition: GelPosition.h:98
MGGel * gel(int i)
Definition: GelPosition.h:79
MGGroup * top_group()
Definition: GelPosition.h:99
MGGroup is a class which constains MGGel elements.
Definition: Group.h:35
MGObject * leaf_object()
Definition: GelPosition.h:134
const MGGel * gel(int i) const
Return the MGGel i;.
Definition: GelPosition.h:78
MGAttribedGel * m_agel
Definition: GelPosition.h:173
bool operator>(const MGGelPosition &gp2) const
Definition: GelPosition.h:68