5 #ifndef _MGAttribedGel_HH_
6 #define _MGAttribedGel_HH_
36 friend class MGDNameControl;
70 void deleteDlistName()
const;
77 virtual void render_attribute()
const;
84 virtual int get_draw_attrib_mask()
const;
85 virtual int get_render_attrib_mask()
const;
88 int getVBOElementsNumber()
const;
91 int getVBOShaderElementsNumber()
const;
98 virtual void remove_appearance()=0;
101 void remove_GLattrib(
long tid);
108 virtual void set_display();
109 virtual void set_no_display();
113 virtual void set_appearance(
const MGAppearance& appr2)=0;
117 void set_name(
const MGName& newName);
122 const MGName* get_name()
const;
126 void set_color(
const MGColor& newColor);
131 const MGColor* get_color()
const;
135 void setDlistName(
mgVBO* vbo=0)
const;
virtual MGGel & operator=(const MGGel &gel2)
Definition: Gel.h:77
bool visible() const
Definition: AttribedGel.h:110
MGGLAttrib is an abstract class which defines the enum of undefined or disabled.
Definition: GLAttrib.h:35
std::auto_ptr< mgVBO > m_dlistName
display name if m_dlistName!=0;
Definition: AttribedGel.h:143
Is an abstract class which represents a whole geometry and a topology.
Definition: Object.h:42
MGColor defines the OpenGL color (R,G,B,A).
Definition: Color.h:26
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
Defines MGAttribedGel's Name data.
Definition: Name.h:29
VIEWMODE
Definition: MGCL.h:271
virtual mgVBO * dlist_name() const
Obtain display list name. 0(null) means this gel need not to be displayed.
Definition: Gel.h:103
virtual bool no_display() const
Definition: Gel.h:167
MGAttribedGel()
void constructor.
Definition: AttribedGel.h:41
MGGroup is a class which constains MGGel elements.
Definition: Group.h:35
A container class to hold MGGLAttrib objects.
Definition: Appearance.h:33
OpenGL 4 用描画のためのクラス, in other words, display list.
Definition: VBO.h:76
virtual void drawAttrib(mgVBO &vbo, bool no_color=false) const
draw attribute data.
Definition: Gel.h:106