|
| MGAttribedGel () |
| void constructor. [詳解]
|
|
| MGAttribedGel (const MGAttribedGel &gel2) |
| copy constructor. [詳解]
|
|
virtual MGAttribedGel & | operator= (const MGAttribedGel &gel2) |
|
virtual | ~MGAttribedGel () |
|
virtual MGAppearance * | appearance ()=0 |
|
virtual const MGAppearance * | appearance () const =0 |
|
void | copy_appearance (const MGAttribedGel &gel2) |
|
mgVBO * | dlist_name () const |
|
virtual bool | displayList_is_made (MGCL::VIEWMODE vmode) const |
| Judge if the display list for vmode is made or not. [詳解]
|
|
void | deleteDlistName () const |
|
virtual void | drawAttrib (mgVBO &vbo, bool no_color=false) const |
| Process of draw or render attributes. [詳解]
|
|
virtual void | render_attribute () const |
|
virtual MGAppearance * | ensure_appearance ()=0 |
|
virtual int | get_draw_attrib_mask () const |
| Obtain attribute mask for glPushAttrib(). [詳解]
|
|
virtual int | get_render_attrib_mask () const |
|
int | getVBOElementsNumber () const |
| Get the number of elements of m_dlistName. [詳解]
|
|
int | getVBOShaderElementsNumber () const |
| Get the number of shading elements of m_dlistName. [詳解]
|
|
virtual bool | no_display () const |
|
virtual void | remove_appearance ()=0 |
| Remove the MGAppearance of this MGAttribedGel. [詳解]
|
|
void | remove_GLattrib (long tid) |
| Removed the attribute of specified type. [詳解]
|
|
virtual void | set_GLattrib (MGGLAttrib *attr) |
|
virtual void | set_display () |
| Set this group as display or no display group. [詳解]
|
|
virtual void | set_no_display () |
|
bool | visible () const |
|
virtual void | set_appearance (const MGAppearance &appr2)=0 |
|
void | set_name (const MGName &newName) |
|
const MGName * | get_name () const |
|
void | set_color (const MGColor &newColor) |
|
const MGColor * | get_color () const |
|
void | setDlistName (mgVBO *vbo=0) const |
|
void | setDirty (bool is_dirty) const |
| Set dirty flag(s) of this VBO(m_dlistName). [詳解]
|
|
virtual | ~MGGel () |
| Virtual Destructor. [詳解]
|
|
virtual MGGel & | operator= (const MGGel &gel2) |
|
virtual bool | operator== (const MGGel &gel2) const |
| Comparison. [詳解]
|
|
virtual bool | operator!= (const MGGel &gel2) const |
|
virtual bool | operator< (const MGGel &gel2) const |
|
virtual bool | operator> (const MGGel &gel2) const |
|
virtual std::ostream & | out (std::ostream &) const =0 |
| Output virtual function. [詳解]
|
|
virtual int | out_to_IGES (MGIgesOfstream &igesfile, int SubordinateEntitySwitch=0) const |
|
virtual MGGel * | clone () const =0 |
|
virtual void | make_display_list (MGCL::VIEWMODE vmode=MGCL::DONTCARE) const |
| Make a display list of this gel. [詳解]
|
|
virtual int | manifold_dimension () const |
|
virtual MGAttrib * | attrib () |
| Return MGAttrib pointer if this MGGel is an MGAttrib, else return null. [詳解]
|
|
virtual const MGAttrib * | attrib () const |
|
virtual MGGroup * | group () |
| Return MGGroup pointer if this MGGel is an MGGroup, else return null. [詳解]
|
|
virtual const MGGroup * | group () const |
|
virtual MGObject * | object () |
| Return MGObject pointer if this MGGel is an MGObject, else return null. [詳解]
|
|
virtual const MGObject * | object () const |
|
virtual MGGeometry * | geometry () |
| Return MGGeometry pointer if this MGGel is an MGGeometry, else return null. [詳解]
|
|
virtual const MGGeometry * | geometry () const |
|
virtual MGPoint * | point () |
| Return point pointer if this MGGel is an MGPoint, else return null. [詳解]
|
|
virtual const MGPoint * | point () const |
|
virtual MGCurve * | curve () |
| Return curve pointer if this MGGel is an MGCurve, else return null. [詳解]
|
|
virtual const MGCurve * | curve () const |
|
virtual MGSurface * | surf () |
| Return MGSurface pointer if this MGGel is an MGSurface, else return null. [詳解]
|
|
virtual const MGSurface * | surf () const |
|
virtual MGTopology * | topology () |
| Return MGTopology pointer if this MGGel is an MGTopology, else return null. [詳解]
|
|
virtual const MGTopology * | topology () const |
|
virtual MGFace * | face () |
| Return MGFace pointer if this MGGel is an MGFace, else return null. [詳解]
|
|
virtual const MGFace * | face () const |
|
virtual MGShell * | shell () |
| Return MGShell pointer if this MGGel is an MGShell, else return null. [詳解]
|
|
virtual const MGShell * | shell () const |
|
virtual long | identify_type () const =0 |
| Return This object's typeID. [詳解]
|
|
virtual const MGObject * | includes_object () const =0 |
| Test if this gel includes an object. [詳解]
|
|
virtual MGObject * | includes_object ()=0 |
|
std::string | string_content () const |
|
virtual void | transform (const MGVector &v) |
| Transform the gel by the argument. [詳解]
|
|
virtual void | transform (double scale) |
| scaling. [詳解]
|
|
virtual void | transform (const MGMatrix &mat) |
| matrix transformation. [詳解]
|
|
virtual void | transform (const MGTransf &tr) |
| general transformation. [詳解]
|
|
bool | type_is (const MGAbstractGels &types) const |
|
virtual void | display_arrows (mgSysGL &sgl) const |
|
virtual void | display_break_points (mgSysGL &sgl) const |
|
virtual void | display_control_polygon (mgSysGL &sgl) const |
|
virtual void | display_curvatures (mgSysGL &sgl, double scale, int density, bool use_radius) const |
|
virtual std::string | whoami () const =0 |
|
Is an abstract class which provides interfaces of MGGel that has MGAppearance.
MGAppearance has MGAttrib's that decorate MGGel. MGAttribedGel is MGGel that has MGAppearance.