|
| MGCylinder (void) |
| Void constructor 初期化なしで柱面を生成する。 [詳解]
|
|
| MGCylinder (int dim, const MGCylinder &cyl, int start1=0, int start2=0) |
|
| MGCylinder (const MGPosition &bottom, const MGVector axis, double radius, bool outgoing=true) |
|
| MGCylinder (const MGEllipse &ellipse, const MGStraight &axis) |
|
MGCylinder & | operator= (const MGGel &gel2) |
|
MGCylinder & | operator= (const MGCylinder &gel2) |
|
MGCylinder | operator+ (const MGVector &) const |
| Translation of the Cylinder. [詳解]
|
|
MGCylinder | operator- (const MGVector &) const |
| Translation of the Cylinder. [詳解]
|
|
MGCylinder | operator* (double) const |
|
MGCylinder | operator* (const MGMatrix &) const |
| Transformation of the Cylinder by a matrix. [詳解]
|
|
MGCylinder | operator* (const MGTransf &) const |
| Transformation of the Cylinder by a MGTransf. [詳解]
|
|
MGCylinder & | operator+= (const MGVector &v) |
| Object transformation. [詳解]
|
|
MGCylinder & | operator-= (const MGVector &v) |
|
MGCylinder & | operator*= (double scale) |
|
MGCylinder & | operator*= (const MGMatrix &mat) |
|
MGCylinder & | operator*= (const MGTransf &tr) |
|
bool | operator== (const MGCylinder &gel2) const |
| Comparison of two curves. [詳解]
|
|
bool | operator== (const MGGel &gel2) const |
| comparison [詳解]
|
|
bool | operator< (const MGCylinder &gel2) const |
|
bool | operator< (const MGGel &gel2) const |
|
bool | operator!= (const MGGel &gel2) const |
|
bool | operator!= (const MGCylinder &gel2) const |
|
int | out_to_IGES (MGIgesOfstream &igesfile, int SubordinateEntitySwitch=0) const |
| Output to IGES stream file. [詳解]
|
|
std::ostream & | out (std::ostream &) const |
|
MGBox | box_limitted (const MGBox &uvrange) const |
|
MGPosition | center () const |
| Obtain ceter coordinate of the geometry. [詳解]
|
|
MGCylinder & | change_dimension (int sdim, int start1=0, int start2=0) |
| Changing this object's space dimension. [詳解]
|
|
MGCylinder & | change_range (int is_u, double t1, double t2) |
|
MGPosition | closest (const MGPosition &point) const |
|
MGCylinder * | clone () const |
|
MGCylinder * | copy_change_dimension (int sdim, int start1=0, int start2=0) const |
|
double | distance (const MGPosition &point) const |
|
MGVector | eval (double u, double v, int ndu=0, int ndv=0) const |
| Evaluate surface data. [詳解]
|
|
MGVector | eval (const MGPosition &uv, int ndu=0, int ndv=0) const |
| Evaluate surface data. [詳解]
|
|
void | eval_all (double u, double v, MGPosition &f, MGVector &fu, MGVector &fv, MGVector &fuv, MGVector &fuu, MGVector &fvv) const |
|
void | eval_all (const MGPosition &uv, MGPosition &f, MGVector &fu, MGVector &fv, MGVector &fuv, MGVector &fuu, MGVector &fvv) const |
|
MGSurface & | exchange_uv () |
| Exchange parameter u and v. [詳解]
|
|
MGCylinder & | extend (int perimeter, double param, double length, double dk=0.) |
|
long | identify_type () const |
| Return This object's typeID. [詳解]
|
|
bool | in_range (double u, double v) const |
| Test if the parameter(u,v) is in this surface's parameter range. [詳解]
|
|
bool | in_range (const MGPosition &uv) const |
|
int | intersect_dnum_u () const |
|
int | intersect_dnum_v () const |
|
MGCSisect_list | isect (const MGCurve &curve) const |
|
MGCSisect_list | isect (const MGStraight &line) const |
|
MGCSisect_list | isect (const MGRLBRep &curve) const |
|
MGCSisect_list | isect (const MGEllipse &curve) const |
|
MGCSisect_list | isect (const MGLBRep &curve) const |
|
MGCSisect_list | isect (const MGSurfCurve &curve) const |
|
MGCSisect_list | isect (const MGBSumCurve &curve) const |
|
MGSSisect_list | isect (const MGSurface &srf2) const |
|
MGSSisect_list | isect (const MGPlane &srf2) const |
|
MGSSisect_list | isect (const MGSphere &srf2) const |
|
MGSSisect_list | isect (const MGCylinder &srf2) const |
|
MGSSisect_list | isect (const MGSBRep &srf2) const |
|
MGSSisect_list | isect (const MGRSBRep &srf2) const |
|
MGSSisect_list | isect (const MGBSumSurf &srf2) const |
|
double | knot_u (int i) const |
| Return knot value of (infinite-minus, infinite-plus) [詳解]
|
|
double | knot_v (int j) const |
| Access to i-th element of v knot. [詳解]
|
|
const MGKnotVector & | knot_vector_u () const |
| Returns the u knot vector. [詳解]
|
|
MGKnotVector & | knot_vector_u () |
|
const MGKnotVector & | knot_vector_v () const |
| Returns the v knot vector. [詳解]
|
|
MGKnotVector & | knot_vector_v () |
|
void | negate (int is_u) |
|
MGPosition | negate_param (const MGPosition &uv, int is_u=1) const |
|
const MGEllipse & | ellipse () const |
| Return the ellipse rep of the cylinder. [詳解]
|
|
const MGStraight & | axis () const |
| Return the normal of the Cylinder. [詳解]
|
|
std::auto_ptr< MGSurface > | offset_c1 (double ofs_value, int &error) const |
|
bool | on (const MGPosition &point, MGPosition &puv) const |
|
bool | on_a_perimeter (double &u, double &v, int &perim_num) const |
|
double | param_error () const |
| Obtain parameter space error. [詳解]
|
|
double | param_e_u () const |
| Return ending parameter value. [詳解]
|
|
double | param_e_v () const |
|
MGBox | param_range () const |
|
double | param_s_u () const |
| Return starting parameter value. [詳解]
|
|
double | param_s_v () const |
|
MGCurve * | parameter_curve (int is_u, double x) const |
|
MGCylinder * | part (const MGBox &bx, int multiple=0) const |
|
MGCurve * | perimeter_curve (int i) const |
|
int | perimeter_num () const |
| Return how many perimeters this surface has. [詳解]
|
|
int | perp_point (const MGPosition &P, MGPosition &uv, const MGPosition *uvguess=NULL) const |
|
MGPosition_list | perps (const MGPosition &P) const |
| Return all(actually one) foots of perpendicular straight lines from P. [詳解]
|
|
MGPosition | range (const MGPosition &uv) const |
|
int | sdim () const |
| Return the space dimension. [詳解]
|
|
MGSURFACE_TYPE | type () const |
|
| MGSurface (void) |
| Void Constructor. 初期化なしでオブジェクトを作成する。 [詳解]
|
|
| MGSurface (const MGSurface &srf) |
| Copy Constructor. [詳解]
|
|
virtual | ~MGSurface () |
|
virtual MGSurface & | operator= (const MGSurface &gel2) |
|
std::auto_ptr< MGSBRep > | approximate_as_SBRep (int parameter_normalization=2, double tol=-1., int *order=0) const |
| Approximate this surface as an MGSBRep. [詳解]
|
|
double | average_chord_length (int is_u, const double para[3], const MGNDDArray &tau) const |
|
void | arrow (double u, double v, MGPosition data[10]) const |
| Generate arrow data of the tangent along u and v and the normal. [詳解]
|
|
void | arrow (const MGPosition &uv, MGPosition data[10]) const |
|
void | arrow (const MGBox &box, double u, double v, MGPosition data[10]) const |
| Generate arrow data, given box. The length of the arrows are defined from box.len(). [詳解]
|
|
virtual int | bdim_u () const |
| Returns B-Rep Dimension of u. [詳解]
|
|
virtual int | bdim_v () const |
| Returns B-Rep Dimension of v. [詳解]
|
|
MGBox | box_param () const |
| Return box of the parameter space of the surface. [詳解]
|
|
const MGBox | box_param2 () const |
| Return box of the parameter space of the FSurface after trimmed one. [詳解]
|
|
virtual MGPosition | center_param () const |
| Obtain ceter parameter value of the geometry. [詳解]
|
|
virtual int | coef_sdim () const |
| Obtain coefficient's space dimension. [詳解]
|
|
virtual MGFSurface * | clone_fsurface () const |
| Get the clone of this MGFSurface. [詳解]
|
|
MGFace * | clone_as_face () const |
| Get the clone of this as a MGFace. [詳解]
|
|
virtual MGPosition | closest_on_perimeter (const MGPosition &point) const |
| Compute the closest point on all the perimeters of the surface. [詳解]
|
|
virtual MGPosition | closest_on_perimeter (const MGStraight &sl) const |
|
virtual MGPosition | closest_on_boundary (const MGStraight &sl) const |
| Compute closest point from a line to the boundary of the MGFSurface. [詳解]
|
|
void | compute_sample_point (double u0, double u1, double v0, double v1, MGPosition Pn[9], MGPosition ¢er, MGUnit_vector &normal, MGVector *Nn_in=0) const |
| compute sample point of the surface to get the approximate plane. [詳解]
|
|
void | curvatures (const MGPosition &uv, double value[4], MGUnit_vector &N) const |
| Compute surface curvatures. [詳解]
|
|
void | curvatures (double u, double v, double value[4], MGUnit_vector &N) const |
|
MGUnit_vector | direction (const MGPosition ¶m) const |
| Compute direction unit vector of the geometry. [詳解]
|
|
virtual void | drawWire (mgVBO &vbo, double span_length, int line_density=1) const |
| Draw 3D curve in world coordinates. [詳解]
|
|
virtual MGSurface * | copy_surface () const |
| Construct new curve object by copying to newed area. [詳解]
|
|
virtual void | display_arrows (mgSysGL &sgl) const |
|
virtual int | divide_multi_knot (MGPvector< MGSurface > &srfl) const |
|
int | equal_direction (const MGCurve ¶m_curve, const MGCurve &world_curve) const |
| Compute if MGSurfCurve scurve(*this, param_curve) has the same direction to world_curve. [詳解]
|
|
MGVector | eval (const MGPosition &uv, int ndu=0, int ndv=0) const |
|
virtual void | eval_spoint (const MGNDDArray &utau, const MGNDDArray &vtau, MGSPointSeq &spoint) const |
| Evaluate all the points (ui, vj) into spoint(i,j,.). [詳解]
|
|
double | eval_gap (const MGCurve &curve, int iperi, MGPosition &uv) const |
| evaluate gap between this surface's perimeter iperi and the given curve curve. [詳解]
|
|
double | eval_gap (const MGCurve *curve[4], MGPosition &uv) const |
| evaluate gap between this surface's perimeters and the given curve curve. [詳解]
|
|
MGVector | evaluate (const MGPosition &t, const int *nderiv) const |
| Evaluate n'th derivative data. n=0 means positional data evaluation. [詳解]
|
|
const MGFSurface * | fsurface () const |
| Get the MGFSurface pointer if this is MGSurface or MGFace. [詳解]
|
|
MGFSurface * | fsurface () |
|
void | fundamentals (const MGPosition &uv, double Q[6], MGUnit_vector &UN) const |
| Compute 1st and 2nd fundamental quantities of the surface. [詳解]
|
|
void | fundamentals (double u, double v, double Q[6], MGUnit_vector &N) const |
|
void | get_approximate_plane (double u0, double u1, double v0, double v1, MGPlane &plane, double *width=0, double *height=0) const |
| Compute the approximate plane in the parameter range from (u0, v0) to (u1,v1). [詳解]
|
|
MGFace * | get_face_pointer () |
| get face pointer if this is MGFace, else null will be returned. [詳解]
|
|
const MGFace * | get_face_pointer () const |
|
int | getPerimeterCommon (const MGCurve &crv, std::vector< double > pspan[2], int peri_num[2]) const |
| Compute common curve part of this surface's perimeter and the crv. [詳解]
|
|
MGSurface * | get_surface_pointer () |
| get surface pointer. Null will never be returned if this is valid MGFSurface. [詳解]
|
|
const MGSurface * | get_surface_pointer () const |
|
virtual int | get_number_of_boundaries () const |
| Get number of inner boundaries as the output of the function. [詳解]
|
|
MGCurve * | get_parameterCurve (const MGCurve &wcrv) const |
| Given world curve wcrv on this face, get the parameter space representation pcrv. [詳解]
|
|
void | get_new_surface_knots (int parameter_normalization, MGKnotVector &uknots, MGKnotVector &vknots, double *Oldparameter=0) const |
| Given MGSBRep or MGRSBRep as srf, compute normalize MGKnotVector along u and v. [詳解]
|
|
bool | on_a_perimeter2 (int is_u, double &x, int &perim_num) const |
| Test if input x is parameter value on a perimeter of the surface. [詳解]
|
|
virtual bool | has_commonFS (const MGObject &obj2) const |
| Test if this and 2nd object has common area about their box(),taking error into account. [詳解]
|
|
virtual void | shade (mgVBO &vbo, const MGDrawParam ¶, mgVBO::ELEMENT_TARGET target=mgVBO::SHADING) const |
| Shade the object in world coordinates. [詳解]
|
|
virtual void | triangulate (const MGDrawParam ¶, MGCL::TL_DATA_KIND dkind, std::vector< mgTL2Triangles > &trisVec) const |
| Triangulate this object(MGShell, MGFace, or MGSurface is the target). [詳解]
|
|
bool | test_and_get_approximate_plane (double u0, double u1, double v0, double v1, double surface_tol, double angle, MGPlane &plane, double &width, double &height) const |
| Compute the approximate plane in the parameter range from (u0, v0) to (u1,v1). [詳解]
|
|
bool | in_range (const MGPosition &uv) const |
|
int | in_range_with_on (const MGPosition &uv) const |
| Test if (u,v) is inside the face. [詳解]
|
|
bool | is_flat_and_small (const MGBox &bx, double surftol, double melen2, bool &direction) const |
| Test if surface limitted by the parameter range bx is flat and small. [詳解]
|
|
virtual MGPvector< MGCurve > | inner_boundary (int i) const |
| Obtain i-th inner_boundary curves(world coordinates representation) of the FSurface. [詳解]
|
|
virtual MGPvector< MGCurve > | inner_boundary_param (int i) const |
| Obtain i-th inner_boundary curves. [詳解]
|
|
MGCSisect_list | intersect (const MGCurve &curve) const |
| Default surface-curve intersection function. [詳解]
|
|
MGCSisect_list | intersect (const MGEllipse &el) const |
| Default surface-curve intersection function. [詳解]
|
|
MGisects | intersection (const MGObject &obj2) const |
| Compute the intersections of two objects. [詳解]
|
|
MGisects | intersection (const MGCurve &obj2) const |
|
MGisects | intersection (const MGFSurface &obj2) const |
|
MGisects | intersection (const MGSurface &obj2) const |
|
MGisects | intersection (const MGFace &obj2) const |
|
MGisects | intersection (const MGShell &obj2) const |
|
MGSSisect_list | isect (const MGFace &f) const |
|
MGSSisect_list | isect (const MGFSurface &fsurf) const |
|
MGHHisect_vector | isect (const MGShell &shl) const |
| Intersection. [詳解]
|
|
virtual bool | less_than (int i, const MGPosition &uv1, const MGPosition &uv2) const |
| Compare two parameter values. If uv1 is less than uv2, return true. [詳解]
|
|
int | manifold_dimension () const |
| Get manifold dimension. [詳解]
|
|
virtual void | negate () |
| Negate direction of surface. [詳解]
|
|
virtual void | negateFS () |
| Negate the FSurface. [詳解]
|
|
void | negate_transform (MGGeometry &boundary) const |
| Transform the coordinates of boundary of this geometry. [詳解]
|
|
virtual MGVector | normal (double u, double v) const |
| Compute normal vector(not unit) at uv. [詳解]
|
|
virtual MGVector | normal (const MGPosition &uv) const |
| Compute normal vector(not unit) at uv. [詳解]
|
|
virtual const MGObject * | object_pointer () const |
| Get the object point of this MGFSurface. [詳解]
|
|
virtual MGObject * | object_pointer () |
|
virtual MGPvector< MGSurface > | offset (double ofs_value, int &error) const |
| Surface offset. [詳解]
|
|
int | offset_fs (double distance, MGPvector< MGFSurface > &vecOfsFSurface) const |
| Offset. [詳解]
|
|
virtual bool | on_the_perimeter (int perim_num, double u, double v) const |
| Test if input (u,v) is on the perimeter perim_num. [詳解]
|
|
virtual bool | on_perimeter (const MGCurve &uvcurve, int &perim_num) const |
| Test the uvcurve is on a perimeter. [詳解]
|
|
virtual int | order_u () const |
| Returns the order of u. [詳解]
|
|
virtual int | order_v () const |
| Returns the order of v. [詳解]
|
|
std::ostream & | outFS (std::ostream &ostrm) const |
| Output virtual function. [詳解]
|
|
virtual MGPvector< MGCurve > | outer_boundary () const |
| Obtain outer_boundary curves(world coordinates representation) of the FSurface. [詳解]
|
|
virtual MGPvector< MGCurve > | outer_boundary_param () const |
| Obtain boundary curves(parameter space representation) of the FSurface. [詳解]
|
|
virtual MGPosition | param (const MGPosition &) const |
| Return surface parameter value of a point on the surface. [詳解]
|
|
double | param_of_pcurve (double tw, const MGCurve &wcurve, const MGCurve &pcurve, const double *guess=0) const |
| Obtain the parameter of pcurve that represent the same point as wcurve.eval(tw). [詳解]
|
|
MGPosition | parameter (const MGPosition &P) const |
| Compute parameter value of given point. [詳解]
|
|
MGPvector< MGCurve > | parameter_curves (int is_u, double x) const |
| Obtain parameter curves. [詳解]
|
|
virtual double | param_error_u () const |
|
virtual double | param_error_v () const |
|
MGPosition | param_mid () const |
| Return parameter value of the middle point of the surface. [詳解]
|
|
MGBox | parameter_range () const |
| Return parameter range of the geometry(パラメータ範囲を返す). [詳解]
|
|
virtual double | param_span () const |
| Compute square of parameter span length from (u.min, v.min) to (u.max, v.max). [詳解]
|
|
virtual MGPosition | perimeter_uv (int i, double t) const |
| Construct perimeter i's (u,v) parameter position. [詳解]
|
|
virtual int | perp_guess (const MGPosition &uv0, const MGPosition &uv1, const MGPosition &P, const MGPosition &uvguess, MGPosition &uv) const |
| Compute a perpendicular point from a point P, given guess parameter value uvguess. [詳解]
|
|
bool | perp_guess (const MGPosition &P, const MGPosition &uvguess, MGPosition &uv) const |
| Return the foot of the perpendicular straight line from P. [詳解]
|
|
virtual int | perp_guess (const MGPosition &uv0, const MGPosition &uv1, const MGCurve &curve, double t0, double t1, const MGPosition &tuvg, MGPosition &tuv) const |
| Compute perpendicular points of a curve and a surface. [詳解]
|
|
virtual int | perp_guess (const MGPosition &uv0, const MGPosition &uv1, const MGCompositeCurve &crv, double t0, double t1, const MGPosition &tuvg, MGPosition &tuv) const |
| Compute perpendicular points of a curve and a surface. [詳解]
|
|
virtual bool | perp_guess (const MGCurve &curve, const MGPosition &uvguess, double tguess, MGPosition &uv, double &t) const |
| Compute perpendicular points of a curve and a surface. [詳解]
|
|
MGPosition | pick_closest (const MGStraight &sl) const |
| Compute the parameter value of the closest point from the straight to this object. [詳解]
|
|
virtual void | remove_knot () |
| removal redundant knots within the tolerance line_zero(). [詳解]
|
|
virtual MGSurface & | rotate_self (const MGVector &vec, double angle, const MGPosition &origin=mgORIGIN) |
| Rotate the surface around the straight line. [詳解]
|
|
virtual void | shrink_to_knot (const MGBox &uvbx, int multiple=0) |
| Shrink this surface to the part limitted by the parameter range of uvbx. [詳解]
|
|
virtual void | split (double param, bool is_u, MGPvector< MGFSurface > &surfaces) const |
| split this fsurface at the parameter param. [詳解]
|
|
const MGSurface * | surf () const |
| Return MGSurface pointer. [詳解]
|
|
MGSurface * | surf () |
| Return MGSurface pointer if this MGGel is an MGSurface, else return null. [詳解]
|
|
MGUnit_vector | unit_normal (const MGPosition &uv) const |
| Compute unit normal vector at uv. [詳解]
|
|
MGUnit_vector | unit_normal (double u, double v) const |
| Compute unit normal vector at uv. [詳解]
|
|
| MGGeometry () |
| Void constructor(初期化なしでオブジェクトを作成する。) [詳解]
|
|
| MGGeometry (const MGGeometry &geo2) |
| Copy constructor. [詳解]
|
|
virtual | ~MGGeometry () |
| Virtual Destructor. [詳解]
|
|
virtual MGGeometry & | operator= (const MGGeometry &gel2) |
|
virtual MGGeometry * | geometry () |
| Return MGGeometry pointer if this MGGel is an MGGeometry, else return null. [詳解]
|
|
virtual const MGGeometry * | geometry () const |
|
const MGBox & | box () const |
| Return minimum box that includes whole of the geometry. [詳解]
|
|
virtual void | draw3DVertex (mgVBO &vbo) const |
|
bool | is_null () const |
| Test if this is null. [詳解]
|
|
double | parameter_error () const |
| Error allowed in the parameter space of the geometry. [詳解]
|
|
| 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 |
|
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 |
|
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 |
|
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 bool | operator> (const MGGel &gel2) 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 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 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 |
|
std::string | string_content () const |
|
bool | type_is (const MGAbstractGels &types) 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 |
|
| MGFSurface () |
| Null FSurface. [詳解]
|
|
| MGFSurface (const MGFSurface &fsurf) |
| Copy constructor. [詳解]
|
|
virtual | ~MGFSurface () |
|
bool | operator< (const MGFSurface &f2) const |
| Comparison operator. [詳解]
|
|
bool | operator> (const MGFSurface &f2) const |
|
const MGBox & | get_box () const |
| Get the box of the object. [詳解]
|
|
void | display_arrowsFS (mgSysGL &sgl, int udiv=4, int vdiv=4) const |
| Display arrows on the surface. [詳解]
|
|
void | drawWireFS (mgVBO &vbo, double span_length, int line_density=1) const |
|
void | drawWireFS_to_highlight (mgVBO &vbo, double span_length, int line_density) const |
|
void | eval_discrete_deviation (const MGFSurface &face2, std::vector< MGPosition > &uvuvs, int npoint=20, double tolerance=0.1) const |
|
MGPvector< MGCurve > | get_all_boundaries (void) const |
| Obtain all the boundaries(i.e., outer boundary and all the inner boundaries) [詳解]
|
|
bool | hasInnerBoundaryLoop () const |
|
virtual bool | hasLoop (const MGBox &uvbox) const |
|
int | in_range_with_on (double u, double v) const |
|
void | intersect12Boundary (const MGFSurface &face2, MGPosition_list &uvuv_list) const |
|
virtual int | isect_boundary (const MGFSurface &face2, MGPosition_list &uvuvs, int id1=0) const =0 |
|
virtual int | isect_incurves (const MGFSurface &face2, int iid, MGPosition_list &uvuv_list, int id1) const =0 |
|
virtual int | isect_outcurves (const MGFSurface &face2, MGPosition_list &uvuv_list, int id1) const =0 |
|
virtual int | isect_guess (const MGCurve &crv, const MGPosition &uvi, double ti, MGPosition &uv, double &t) const |
|
virtual int | isect_guess (const MGStraight &sl, const MGPosition &uvi, double ti, MGPosition &uv, double &t) const |
|
virtual int | isect_guess (const MGCompositeCurve &crv, const MGPosition &uvi, double ti, MGPosition &uv, double &t) const |
|
virtual int | isect_guess_composite (const MGCompositeCurve &crv, const MGPosition &uvi, double ti, MGPosition &uv, double &t) const |
|
virtual int | isect_guess_straight (const MGStraight &sl, double ti, const MGPosition &uvi, double &t, MGPosition &uv) const |
|
virtual MGFace * | make_face ()=0 |
|
virtual int | number_of_inner_boundaries () const |
| Get number of inner boundaries as the output of the function. [詳解]
|
|
double | param_error () const |
| Obtain parameter space error. [詳解]
|
|
double | param_error_u () const |
|
double | param_error_v () const |
|
virtual int | perp_one (const MGPosition &P, MGPosition &uv) const |
|
virtual int | project (const MGCurve &crv, MGPvector< MGCurve > &vec_crv_uv, MGPvector< MGCurve > &vec_crv, const MGVector &vec=mgNULL_VEC) const |
|
virtual int | project (const MGCurve &crv, MGPvector< MGCurve > &vec_crv, const MGVector &vec=mgNULL_VEC) const |
|
MGPvector< MGCurve > | inner_skeleton (int density) const |
|
virtual MGPvector< MGCurve > | skeleton (int density=1) const |
|
virtual MGPvector< MGCurve > | skeleton_at_knots () const |
| Obtain all the parameter curves at knots of u and v knot vector. [詳解]
|
|
void | split (const std::vector< const MGCurve * > &splitters, const MGVector &dir, MGPvector< MGFace > &faces) const |
|
void | split (const MGPvector< MGCurve > &splitters, MGPvector< MGFace > &faces) const |
| split this fsurface with splitters. splitters are 2D (u,v) surfaces's parameter curves. [詳解]
|
|
void | extract (const std::vector< const MGCurve * > &trimmers, const MGVector &dir, const MGPosition &uv, std::auto_ptr< MGFace > &eface) const |
|
void | shadeFS (mgVBO &vbo, const MGDrawParam ¶, mgVBO::ELEMENT_TARGET target=mgVBO::SHADING) const |
| Shade the object in world coordinates. [詳解]
|
|
void | trim (const std::vector< const MGCurve * > &trimmers, const MGVector &dir, const MGPosition &uv, MGPvector< MGFace > &faces) const |
|