Point Cloud Library (PCL)
1.14.1-dev
|
#include <pcl/surface/3rdparty/opennurbs/opennurbs_surface.h>
Public Types | |
enum | ISO { not_iso = 0 , x_iso = 1 , y_iso = 2 , W_iso = 3 , S_iso = 4 , E_iso = 5 , N_iso = 6 , iso_count = 7 } |
Public Member Functions | |
void | DestroyRuntimeCache (bool bDelete=true) |
ON_Surface () | |
ON_Surface (const ON_Surface &) | |
ON_Surface & | operator= (const ON_Surface &) |
virtual | ~ON_Surface () |
unsigned int | SizeOf () const |
bool | EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const |
virtual ON_Surface * | DuplicateSurface () const |
ON::object_type | ObjectType () const |
ON_BOOL32 | HasBrepForm () const |
ON_Brep * | BrepForm (ON_Brep *brep=NULL) const |
ON_BOOL32 | GetDomain (int dir, double *t0, double *t1) const |
bool | SetDomain (int dir, ON_Interval domain) |
virtual ON_BOOL32 | SetDomain (int dir, double t0, double t1) |
virtual ON_Interval | Domain (int dir) const =0 |
virtual ON_BOOL32 | GetSurfaceSize (double *width, double *height) const |
virtual int | SpanCount (int dir) const =0 |
virtual ON_BOOL32 | GetSpanVector (int dir, double *span_vector) const =0 |
virtual ON_BOOL32 | GetSpanVectorIndex (int dir, double t, int side, int *span_vector_index, ON_Interval *span_interval) const |
virtual int | Degree (int dir) const =0 |
virtual ON_BOOL32 | GetParameterTolerance (int dir, double t, double *tminus, double *tplus) const |
virtual ISO | IsIsoparametric (const ON_Curve &curve, const ON_Interval *curve_domain=NULL) const |
virtual ISO | IsIsoparametric (const ON_BoundingBox &bbox) const |
virtual ON_BOOL32 | IsPlanar (ON_Plane *plane=NULL, double tolerance=ON_ZERO_TOLERANCE) const |
bool | IsSphere (ON_Sphere *sphere=NULL, double tolerance=ON_ZERO_TOLERANCE) const |
bool | IsCylinder (ON_Cylinder *cylinder=NULL, double tolerance=ON_ZERO_TOLERANCE) const |
bool | IsCone (ON_Cone *cone=NULL, double tolerance=ON_ZERO_TOLERANCE) const |
bool | IsTorus (ON_Torus *torus=NULL, double tolerance=ON_ZERO_TOLERANCE) const |
virtual ON_BOOL32 | IsClosed (int) const |
virtual ON_BOOL32 | IsPeriodic (int) const |
virtual ON_BOOL32 | IsSingular (int) const |
bool | IsSolid () const |
bool | IsAtSingularity (double s, double t, bool bExact=true) const |
int | IsAtSeam (double s, double t) const |
virtual bool | GetNextDiscontinuity (int dir, ON::continuity c, double t0, double t1, double *t, int *hint=NULL, int *dtype=NULL, double cos_angle_tolerance=ON_DEFAULT_ANGLE_TOLERANCE_COSINE, double curvature_tolerance=ON_SQRT_EPSILON) const |
virtual bool | IsContinuous (ON::continuity c, double s, double t, int *hint=NULL, double point_tolerance=ON_ZERO_TOLERANCE, double d1_tolerance=ON_ZERO_TOLERANCE, double d2_tolerance=ON_ZERO_TOLERANCE, double cos_angle_tolerance=ON_DEFAULT_ANGLE_TOLERANCE_COSINE, double curvature_tolerance=ON_SQRT_EPSILON) const |
virtual ON_BOOL32 | Reverse (int)=0 |
virtual ON_BOOL32 | Transpose ()=0 |
ON_3dPoint | PointAt (double, double) const |
ON_3dVector | NormalAt (double, double) const |
ON_BOOL32 | FrameAt (double u, double v, ON_Plane &frame) const |
ON_BOOL32 | EvPoint (double u, double v, ON_3dPoint &point, int quadrant=0, int *hint=0) const |
ON_BOOL32 | Ev1Der (double u, double v, ON_3dPoint &point, ON_3dVector &du, ON_3dVector &dv, int quadrant=0, int *hint=0) const |
ON_BOOL32 | Ev2Der (double u, double v, ON_3dPoint &point, ON_3dVector &du, ON_3dVector &dv, ON_3dVector &duu, ON_3dVector &duv, ON_3dVector &dvv, int quadrant=0, int *hint=0) const |
ON_BOOL32 | EvNormal (double u, double v, ON_3dPoint &point, ON_3dVector &normal, int quadrant=0, int *hint=0) const |
ON_BOOL32 | EvNormal (double u, double v, ON_3dVector &normal, int quadrant=0, int *hint=0) const |
ON_BOOL32 | EvNormal (double u, double v, ON_3dPoint &point, ON_3dVector &du, ON_3dVector &dv, ON_3dVector &normal, int=0, int *=0) const |
virtual ON_BOOL32 | Evaluate (double u, double v, int num_der, int array_stride, double *der_array, int quadrant=0, int *hint=0) const =0 |
virtual ON_Curve * | IsoCurve (int dir, double c) const |
virtual ON_BOOL32 | Trim (int dir, const ON_Interval &domain) |
virtual bool | Extend (int dir, const ON_Interval &domain) |
virtual ON_BOOL32 | Split (int dir, double c, ON_Surface *&west_or_south_side, ON_Surface *&east_or_north_side) const |
virtual int | GetNurbForm (ON_NurbsSurface &nurbs_surface, double tolerance=0.0) const |
virtual int | HasNurbForm () const |
ON_NurbsSurface * | NurbsSurface (ON_NurbsSurface *pNurbsSurface=NULL, double tolerance=0.0, const ON_Interval *s_subdomain=NULL, const ON_Interval *t_subdomain=NULL) const |
virtual bool | GetSurfaceParameterFromNurbFormParameter (double nurbs_s, double nurbs_t, double *surface_s, double *surface_t) const |
virtual bool | GetNurbFormParameterFromSurfaceParameter (double surface_s, double surface_t, double *nurbs_s, double *nurbs_t) const |
void | DestroySurfaceTree () |
Public Member Functions inherited from ON_Geometry | |
ON_Geometry () | |
ON_Geometry (const ON_Geometry &) | |
ON_Geometry & | operator= (const ON_Geometry &) |
virtual | ~ON_Geometry () |
ON_BoundingBox | BoundingBox () const |
ON_BOOL32 | GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const |
ON_BOOL32 | GetBoundingBox (ON_3dPoint &bbox_min, ON_3dPoint &bbox_max, int bGrowBox=false) const |
ON_BOOL32 | Rotate (double sin_angle, double cos_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center) |
ON_BOOL32 | Rotate (double rotation_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center) |
ON_BOOL32 | Translate (const ON_3dVector &translation_vector) |
ON_BOOL32 | Scale (double scale_factor) |
virtual int | Dimension () const =0 |
virtual ON_BOOL32 | GetBBox (double *boxmin, double *boxmax, int bGrowBox=false) const =0 |
virtual bool | GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const |
virtual void | ClearBoundingBox () |
virtual ON_BOOL32 | Transform (const ON_Xform &xform) |
virtual bool | IsDeformable () const |
virtual bool | MakeDeformable () |
virtual ON_BOOL32 | SwapCoordinates (int i, int j) |
virtual ON_COMPONENT_INDEX | ComponentIndex () const |
Public Member Functions inherited from ON_Object | |
bool | CopyFrom (const ON_Object *src) |
ON_Object () | |
ON_Object (const ON_Object &) | |
ON_Object & | operator= (const ON_Object &) |
virtual | ~ON_Object () |
void | EmergencyDestroy () |
virtual void | MemoryRelocate () |
ON_BOOL32 | IsKindOf (const ON_ClassId *pClassId) const |
virtual ON_BOOL32 | IsValid (ON_TextLog *text_log=NULL) const =0 |
virtual void | Dump (ON_TextLog &) const |
virtual ON__UINT32 | DataCRC (ON__UINT32 current_remainder) const |
virtual ON_BOOL32 | Write (ON_BinaryArchive &binary_archive) const |
virtual ON_BOOL32 | Read (ON_BinaryArchive &binary_archive) |
virtual ON_UUID | ModelObjectId () const |
bool | SetUserString (const wchar_t *key, const wchar_t *string_value) |
int | SetUserStrings (int count, const ON_UserString *user_strings, bool bReplace) |
bool | GetUserString (const wchar_t *key, ON_wString &string_value) const |
int | GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const |
int | GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const |
int | UserStringCount () const |
ON_BOOL32 | AttachUserData (ON_UserData *pUserData) |
ON_BOOL32 | DetachUserData (ON_UserData *pUserData) |
ON_UserData * | GetUserData (const ON_UUID &userdata_uuid) const |
void | PurgeUserData () |
ON_UserData * | FirstUserData () const |
void | TransformUserData (const ON_Xform &xform) |
void | CopyUserData (const ON_Object &source_object) |
void | MoveUserData (ON_Object &source_object) |
Definition at line 44 of file opennurbs_surface.h.
enum ON_Surface::ISO |
Enumerator | |
---|---|
not_iso | |
x_iso | |
y_iso | |
W_iso | |
S_iso | |
E_iso | |
N_iso | |
iso_count |
Definition at line 59 of file opennurbs_surface.h.
ON_Surface::ON_Surface | ( | ) |
ON_Surface::ON_Surface | ( | const ON_Surface & | ) |
|
virtual |
Reimplemented from ON_Geometry.
|
pure virtual |
Implemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
|
virtual |
Reimplemented from ON_Object.
Reimplemented in ON_SurfaceProxy.
void ON_Surface::DestroySurfaceTree | ( | ) |
|
pure virtual |
Implemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
|
virtual |
Reimplemented in ON_SurfaceProxy.
ON_BOOL32 ON_Surface::Ev1Der | ( | double | u, |
double | v, | ||
ON_3dPoint & | point, | ||
ON_3dVector & | du, | ||
ON_3dVector & | dv, | ||
int | quadrant = 0 , |
||
int * | hint = 0 |
||
) | const |
ON_BOOL32 ON_Surface::Ev2Der | ( | double | u, |
double | v, | ||
ON_3dPoint & | point, | ||
ON_3dVector & | du, | ||
ON_3dVector & | dv, | ||
ON_3dVector & | duu, | ||
ON_3dVector & | duv, | ||
ON_3dVector & | dvv, | ||
int | quadrant = 0 , |
||
int * | hint = 0 |
||
) | const |
|
pure virtual |
Implemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_OffsetSurface, ON_NurbsSurface, and ON_Extrusion.
|
virtual |
Reimplemented from ON_Geometry.
ON_BOOL32 ON_Surface::EvNormal | ( | double | u, |
double | v, | ||
ON_3dPoint & | point, | ||
ON_3dVector & | du, | ||
ON_3dVector & | dv, | ||
ON_3dVector & | normal, | ||
int | = 0 , |
||
int * | = 0 |
||
) | const |
ON_BOOL32 ON_Surface::EvNormal | ( | double | u, |
double | v, | ||
ON_3dPoint & | point, | ||
ON_3dVector & | normal, | ||
int | quadrant = 0 , |
||
int * | hint = 0 |
||
) | const |
ON_BOOL32 ON_Surface::EvNormal | ( | double | u, |
double | v, | ||
ON_3dVector & | normal, | ||
int | quadrant = 0 , |
||
int * | hint = 0 |
||
) | const |
ON_BOOL32 ON_Surface::EvPoint | ( | double | u, |
double | v, | ||
ON_3dPoint & | point, | ||
int | quadrant = 0 , |
||
int * | hint = 0 |
||
) | const |
|
virtual |
Reimplemented in ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
ON_BOOL32 ON_Surface::FrameAt | ( | double | u, |
double | v, | ||
ON_Plane & | frame | ||
) | const |
ON_BOOL32 ON_Surface::GetDomain | ( | int | dir, |
double * | t0, | ||
double * | t1 | ||
) | const |
|
virtual |
Reimplemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
|
virtual |
Reimplemented in ON_Extrusion, ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, and ON_NurbsSurface.
|
virtual |
Reimplemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, and ON_Extrusion.
|
virtual |
Reimplemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
|
pure virtual |
Implemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
|
virtual |
Reimplemented in ON_Extrusion.
|
virtual |
Reimplemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, and ON_Extrusion.
|
virtual |
Reimplemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
|
virtual |
Reimplemented from ON_Geometry.
|
virtual |
Reimplemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, and ON_Extrusion.
int ON_Surface::IsAtSeam | ( | double | s, |
double | t | ||
) | const |
bool ON_Surface::IsAtSingularity | ( | double | s, |
double | t, | ||
bool | bExact = true |
||
) | const |
|
virtual |
Reimplemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
bool ON_Surface::IsCone | ( | ON_Cone * | cone = NULL , |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const |
|
virtual |
Reimplemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
bool ON_Surface::IsCylinder | ( | ON_Cylinder * | cylinder = NULL , |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const |
|
virtual |
Reimplemented in ON_SurfaceProxy, and ON_Extrusion.
|
virtual |
Reimplemented in ON_SurfaceProxy, and ON_Extrusion.
|
virtual |
Reimplemented in ON_SumSurface, ON_SurfaceProxy, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
|
virtual |
Reimplemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
|
virtual |
Reimplemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
|
virtual |
Reimplemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, and ON_NurbsSurface.
bool ON_Surface::IsSolid | ( | ) | const |
bool ON_Surface::IsSphere | ( | ON_Sphere * | sphere = NULL , |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const |
bool ON_Surface::IsTorus | ( | ON_Torus * | torus = NULL , |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const |
ON_3dVector ON_Surface::NormalAt | ( | double | , |
double | |||
) | const |
ON_NurbsSurface* ON_Surface::NurbsSurface | ( | ON_NurbsSurface * | pNurbsSurface = NULL , |
double | tolerance = 0.0 , |
||
const ON_Interval * | s_subdomain = NULL , |
||
const ON_Interval * | t_subdomain = NULL |
||
) | const |
|
virtual |
Reimplemented from ON_Object.
ON_Surface& ON_Surface::operator= | ( | const ON_Surface & | ) |
ON_3dPoint ON_Surface::PointAt | ( | double | , |
double | |||
) | const |
|
pure virtual |
Implemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, ON_BrepFace, and ON_Extrusion.
|
virtual |
Reimplemented in ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, ON_BrepFace, and ON_Extrusion.
bool ON_Surface::SetDomain | ( | int | dir, |
ON_Interval | domain | ||
) |
|
virtual |
Reimplemented from ON_Object.
Reimplemented in ON_SurfaceProxy.
|
pure virtual |
Implemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
|
virtual |
Reimplemented in ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.
|
pure virtual |
Implemented in ON_SurfaceProxy, ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, ON_BrepFace, and ON_Extrusion.
|
virtual |
Reimplemented in ON_SumSurface, ON_RevSurface, ON_PlaneSurface, ON_NurbsSurface, and ON_Extrusion.