MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
MGAttrib クラスabstract

MGAttrib is an abstract class that defines attribute elements of MGGel. [詳解]

MGAttrib の継承関係図
MGGel MGAppearance MGContext MGGLAttrib MGColor MGLight MGLights MGLineStipple MGLineWidth MGName MGRenderAttr MGDirectionalLight MGPointLight MGSpotLight

公開メンバ関数

virtual ~MGAttrib ()
 Virtual Destructor. [詳解]
 
virtual MGAttriboperator= (const MGAttrib &gel2)
 
virtual std::ostream & out (std::ostream &) const =0
 Output virtual function. [詳解]
 
MGAttribattrib ()
 Return MGAttrib pointer if this MGGel is an MGAttrib, else return null. [詳解]
 
const MGAttribattrib () const
 
virtual long identify_type () const
 
const MGObjectincludes_object () const
 Test if this gel includes an object. [詳解]
 
MGObjectincludes_object ()
 Test if this gel includes an object. [詳解]
 
- 基底クラス MGGel に属する継承公開メンバ関数
virtual ~MGGel ()
 Virtual Destructor. [詳解]
 
virtual MGGeloperator= (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 int out_to_IGES (MGIgesOfstream &igesfile, int SubordinateEntitySwitch=0) const
 
virtual MGGelclone () const =0
 
virtual mgVBOdlist_name () const
 Obtain display list name. 0(null) means this gel need not to be displayed. [詳解]
 
virtual void drawAttrib (mgVBO &vbo, bool no_color=false) const
 draw attribute data. [詳解]
 
virtual void make_display_list (MGCL::VIEWMODE vmode=MGCL::DONTCARE) const
 Make a display list of this gel. [詳解]
 
virtual int manifold_dimension () const
 
virtual MGGroupgroup ()
 Return MGGroup pointer if this MGGel is an MGGroup, else return null. [詳解]
 
virtual const MGGroupgroup () const
 
virtual MGObjectobject ()
 Return MGObject pointer if this MGGel is an MGObject, else return null. [詳解]
 
virtual const MGObjectobject () const
 
virtual MGGeometrygeometry ()
 Return MGGeometry pointer if this MGGel is an MGGeometry, else return null. [詳解]
 
virtual const MGGeometrygeometry () const
 
virtual MGPointpoint ()
 Return point pointer if this MGGel is an MGPoint, else return null. [詳解]
 
virtual const MGPointpoint () const
 
virtual MGCurvecurve ()
 Return curve pointer if this MGGel is an MGCurve, else return null. [詳解]
 
virtual const MGCurvecurve () const
 
virtual MGSurfacesurf ()
 Return MGSurface pointer if this MGGel is an MGSurface, else return null. [詳解]
 
virtual const MGSurfacesurf () const
 
virtual MGTopologytopology ()
 Return MGTopology pointer if this MGGel is an MGTopology, else return null. [詳解]
 
virtual const MGTopologytopology () const
 
virtual MGFaceface ()
 Return MGFace pointer if this MGGel is an MGFace, else return null. [詳解]
 
virtual const MGFaceface () const
 
virtual MGShellshell ()
 Return MGShell pointer if this MGGel is an MGShell, else return null. [詳解]
 
virtual const MGShellshell () const
 
virtual bool no_display () const
 
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
 

限定公開メンバ関数

virtual void ReadMembers (MGIfstream &buf)
 Read all member data. [詳解]
 
virtual void WriteMembers (MGOfstream &buf) const
 Write all member data. [詳解]
 

詳解

MGAttrib is an abstract class that defines attribute elements of MGGel.

Currently main subclasses of MGAttrib are MGGLAttrib, MGAppearance, and MGContex.

構築子と解体子

virtual MGAttrib::~MGAttrib ( )
virtual

Virtual Destructor.

関数詳解

MGAttrib* MGAttrib::attrib ( )
inlinevirtual

Return MGAttrib pointer if this MGGel is an MGAttrib, else return null.

MGGelを再実装しています。

const MGAttrib* MGAttrib::attrib ( ) const
inlinevirtual

MGGelを再実装しています。

virtual long MGAttrib::identify_type ( ) const
inlinevirtual

Return This object's typeID Sub class of MGAttrib must have the id as 0x02nnnnnnL.

MGGelを実装しています。

MGColor, MGContext, MGRenderAttr, MGGLAttrib, MGAppearance, MGLights, MGPointLight, MGSpotLight, MGLineStipple, MGLineWidth, MGDirectionalLight, MGNameで再実装されています。

const MGObject* MGAttrib::includes_object ( ) const
inlinevirtual

Test if this gel includes an object.

MGGelを実装しています。

MGObject* MGAttrib::includes_object ( )
inlinevirtual

Test if this gel includes an object.

MGGelを実装しています。

virtual MGAttrib& MGAttrib::operator= ( const MGAttrib gel2)
inlinevirtual

Assignment. When the leaf objects of this and gel2 are not equal, this assignment does nothing.

virtual std::ostream& MGAttrib::out ( std::ostream &  ) const
pure virtual

Output virtual function.

MGGelを実装しています。

MGColor, MGContext, MGRenderAttr, MGLight, MGGLAttrib, MGLights, MGPointLight, MGSpotLight, MGLineStipple, MGLineWidth, MGDirectionalLight, MGName, MGAppearanceで実装されています。

virtual void MGAttrib::ReadMembers ( MGIfstream buf)
protectedvirtual

Read all member data.

MGGelを再実装しています。

MGColor, MGContext, MGAppearance, MGRenderAttr, MGLight, MGGLAttrib, MGLights, MGPointLight, MGSpotLight, MGLineStipple, MGLineWidth, MGDirectionalLight, MGNameで再実装されています。

virtual void MGAttrib::WriteMembers ( MGOfstream buf) const
protectedvirtual

Write all member data.

MGGelを再実装しています。

MGColor, MGContext, MGAppearance, MGRenderAttr, MGLight, MGGLAttrib, MGLights, MGPointLight, MGSpotLight, MGLineStipple, MGLineWidth, MGDirectionalLight, MGNameで再実装されています。


このクラス詳解は次のファイルから抽出されました: