|
| MGCell () |
| Void constructor. Constructor of pcell. [詳解]
|
|
| MGCell (const MGCell &cell) |
|
| MGCell (const MGGeometry &geo) |
|
| MGCell (MGGeometry *geo) |
|
| MGCell (MGGeometry *geo, std::vector< MGBoundary * > &boundaries, MGCell *binder) |
|
| MGCell (const MGGeometry &geo, const std::vector< MGBoundary * > &boundaries) |
|
| MGCell (MGGeometry *geo, const std::vector< MGBoundary * > &boundaries) |
|
virtual | ~MGCell () |
|
virtual MGCell & | operator= (const MGCell &gel2) |
|
virtual bool | operator< (const MGCell &gel2) const |
| comparison [詳解]
|
|
virtual int | append_boundary (MGBoundary *bound) |
|
MGBoundary * | boundary (int i) |
| Obtain i-th boundary pointer. [詳解]
|
|
const MGBoundary * | boundary (int i) const |
|
const std::vector< MGBoundary * > & | boundaries () const |
| Obtain boundaries of this cell. [詳解]
|
|
MGVector | boundary_direction (int i, int j) const |
|
const_boundaryItr | boundaryIterator (const MGBoundary *bnd) const |
| Obtain iterator of m_boundaries. [詳解]
|
|
boundaryItr | boundaryIterator (MGBoundary *bnd) |
|
const MGBox & | box () const |
| Obtain the box of the cell. [詳解]
|
|
MGPosition | center_param () const |
| Obtain the center parameter value of this cell. [詳解]
|
|
virtual MGCell * | clone () const =0 |
|
virtual MGCell * | clone_without_boundaries () const =0 |
|
virtual MGCell * | clone_binder (const MGCellBase &c) const =0 |
|
void | connect (int i1, int j1, MGCell *cell2, int i2, int j2) |
|
virtual void | draw3DVertex (mgVBO &vbo) const =0 |
|
void | erase_boundary (iterator i) |
|
void | erase_boundary (int i) |
|
void | erase_boundary (MGBoundary *bnd) |
| erase_boundary removes from this cell's bounary and destruct the boundary. [詳解]
|
|
virtual MGBoundary * | free_boundary (const MGBoundary *bound) |
|
void | free_neighbourhood (int i, int j=0) |
| Free neighbourhood relation at j-th boundary's i-th pcell of this cell. [詳解]
|
|
virtual long | identify_type () const =0 |
| Return Object's type ID (TID) [詳解]
|
|
virtual MGCellNB * | make_binder () const =0 |
|
virtual int | manifold_dimension () const =0 |
| Obtain manifold dimension. [詳解]
|
|
std::vector< const MGCellNB * > | neighbours () const |
|
std::vector< const MGCellNB * > | neighbours (int i, int j=0) const |
|
int | number_of_boundaries () const |
| Return number of boundaries. [詳解]
|
|
double | parameter_error () const |
| Return parameter space error of the cell. [詳解]
|
|
virtual int | prepend_boundary (MGBoundary *bound) |
|
virtual void | sort_boundaries () |
|
virtual std::ostream & | out (std::ostream &) const |
| Output virtual function. [詳解]
|
|
| MGCellNB () |
| Void constructor. Constructor of pcell. [詳解]
|
|
| MGCellNB (const MGCellNB &cell) |
|
| MGCellNB (const MGGeometry &geo) |
|
| MGCellNB (MGGeometry *geo) |
|
| MGCellNB (MGGeometry *geo, MGCellNB *binder) |
|
virtual | ~MGCellNB () |
|
virtual MGCellNB & | operator= (const MGCellNB &gel2) |
|
virtual MGCellNB & | operator+= (const MGVector &v) |
| Object transformation. [詳解]
|
|
virtual MGCellNB & | operator-= (const MGVector &v) |
|
virtual MGCellNB & | operator*= (double scale) |
|
virtual MGCellNB & | operator*= (const MGMatrix &mat) |
|
virtual MGCellNB & | operator*= (const MGTransf &tr) |
|
void | add_partner (const MGCellBase &partner) |
|
MGPosition | center () const |
| Obtain the center of this cell. [詳解]
|
|
virtual MGUnit_vector | direction () const |
| Obtain the direction of the cell. [詳解]
|
|
const MGGeometry * | extent () const |
| Get extent geometry, may be null if this does not have extent. [詳解]
|
|
MGGeometry * | extent () |
|
MGGeometry * | free_extent () |
|
MGComplex * | free_from_parent () |
|
void | free_partner (const MGCellBase *cellin) const |
| Free specified partner(cellin). [詳解]
|
|
bool | is_bcell () const |
| Ask if this is binder cell. [詳解]
|
|
const MGCellBase * | member_partner (int i) const |
| Obtain the i-th member partner. This must be a binder cell. [詳解]
|
|
const std::vector< const
MGCellBase * > & | member_partners () const |
| Obtain member partners. This must be a binder cell. [詳解]
|
|
std::vector< const MGCellBase * > & | member_partners () |
|
virtual void | negate () |
| Negate the direction of the cell. [詳解]
|
|
int | number_of_partner_members () const |
| Return nummber of partners stored in m_partners. [詳解]
|
|
const MGComplex * | parent_complex () const |
| Obtain parent complex. [詳解]
|
|
MGComplex * | parent_complex () |
|
virtual void | set_extent (MGGeometry *extent=0) |
| Set extent of this cell. [詳解]
|
|
const MGCellNB * | star () const |
| Obtain star cells. [詳解]
|
|
MGCellNB * | star () |
|
| MGCellBase () |
| Void constructor. Constructor of pcell. [詳解]
|
|
| MGCellBase (const MGCellBase &cell) |
|
virtual | ~MGCellBase () |
|
virtual MGCellBase & | operator= (const MGCellBase &gel2) |
|
MGCellNB * | binder () const |
| Obtain binder. [詳解]
|
|
virtual void | connect (MGCellBase &cell2) |
|
virtual void | drawWire_in_star (mgVBO &vbo, double span_length, int line_density=1) const |
|
virtual void | draw3DVertex_in_star (mgVBO &vbo) const |
|
void | free_partnership () |
|
bool | is_pcell () const |
| Ask if this is parameter cell. [詳解]
|
|
const MGCellNB * | make_binder_with_extent () const |
|
int | number_of_partners () const |
|
std::vector< const MGCellBase * > | partners () const |
|
void | set_binder (MGCellNB &binder) const |
|
| MGTopology () |
| Void constructor(初期化なしでオブジェクトを作成する。) [詳解]
|
|
| MGTopology (const MGTopology &topo) |
| Copy constructor. [詳解]
|
|
virtual | ~MGTopology () |
|
virtual MGTopology & | operator= (const MGTopology &gel2) |
|
virtual MGisects | intersection (const MGObject &obj2) const |
|
virtual MGisects | intersection (const MGCurve &obj2) const |
|
virtual MGisects | intersection (const MGFSurface &obj2) const |
|
virtual MGisects | intersection (const MGSurface &obj2) const |
|
virtual MGisects | intersection (const MGFace &obj2) const |
|
virtual MGisects | intersection (const MGShell &obj2) const |
|
MGTopology * | topology () |
| Return MGTopology pointer if this MGGel is an MGTopology, else return null. [詳解]
|
|
const MGTopology * | topology () const |
|
| MGObject () |
| Void constructor(初期化なしでオブジェクトを作成する。) [詳解]
|
|
| MGObject (const MGObject &obj2) |
| Copy constructor. [詳解]
|
|
virtual | ~MGObject () |
| Virtual Destructor. [詳解]
|
|
virtual MGObject & | operator= (const MGObject &obj2) |
|
MGAppearance * | appearance () |
|
const MGAppearance * | appearance () const |
|
virtual void | drawWire (mgVBO &vbo, double span_length, int line_density=1) const =0 |
|
virtual void | shade (mgVBO &vbo, const MGDrawParam ¶, mgVBO::ELEMENT_TARGET target=mgVBO::SHADING) const |
| Shade the object in world coordinates. [詳解]
|
|
MGAppearance * | ensure_appearance () |
|
virtual void | make_display_list (MGCL::VIEWMODE vmode=MGCL::DONTCARE) const |
| Make a display list of this gel. [詳解]
|
|
bool | has_common (const MGObject &obj2) const |
|
const MGObject * | includes_object () const |
| Test if this gel includes an object. [詳解]
|
|
MGObject * | includes_object () |
| Test if this gel includes an object. [詳解]
|
|
virtual MGisects | intersection (const MGPoint &obj2) const |
|
virtual MGPosition | pick_closest (const MGStraight &sl) const |
|
void | remove_appearance () |
| Remove the MGAppearance of this MGAttribedGel. [詳解]
|
|
virtual MGObject * | object () |
| Return MGObject pointer if this MGGel is an MGObject, else return null. [詳解]
|
|
virtual const MGObject * | object () const |
|
virtual const MGFSurface * | fsurface () const |
| Get the MGFSurface pointer if this is MGSurface or MGFace. [詳解]
|
|
virtual MGFSurface * | fsurface () |
|
void | set_appearance (const MGAppearance &appr2) |
|
virtual void | transform (const MGVector &v) |
| Transform the gel by the argument. [詳解]
|
|
virtual void | transform (double scale) |
| translation [詳解]
|
|
virtual void | transform (const MGMatrix &mat) |
| scaling. [詳解]
|
|
virtual void | transform (const MGTransf &tr) |
| matrix transformation. [詳解]
|
|
| MGAttribedGel () |
| void constructor. [詳解]
|
|
| MGAttribedGel (const MGAttribedGel &gel2) |
| copy constructor. [詳解]
|
|
virtual MGAttribedGel & | operator= (const MGAttribedGel &gel2) |
|
virtual | ~MGAttribedGel () |
|
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 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 |
|
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 |
|
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 int | out_to_IGES (MGIgesOfstream &igesfile, int SubordinateEntitySwitch=0) 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 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 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 |
|
std::string | string_content () const |
|
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 |
|
MGCell is a general cell that has bound.
MGCell's additional data to CellNB are Boundary, box, and perror. There are two types of cells. One is parameter cell(pcell) and the other is binder cell(bcell). They are exclusive, that is, if a cell is a parameter cell, the cell cannot be binder cell and vice versa. Parameter cell is a constituent of a complex. Binder cell is a binder of parameter cells. Plural cells are connected through a binder. MGCell is an abstrct class.