Point Cloud Library (PCL)
1.10.0
|
23 #if !defined(OPENNURBS_NURBSSURFACE_INC_)
24 #define OPENNURBS_NURBSSURFACE_INC_
26 #include <pcl/pcl_exports.h>
43 int DimensionA()
const = 0;
46 int DimensionB()
const = 0;
49 int DimensionC()
const = 0;
52 bool Evaluate(
double,
86 ON_BOOL32 bIsRational,
98 ON_BOOL32 bIsRational,
106 unsigned int SizeOf()
const;
109 ON__UINT32
DataCRC(ON__UINT32 current_remainder)
const;
125 bool bIgnoreParameterization,
126 double tolerance = ON_ZERO_TOLERANCE
129 void Initialize(
void);
167 int CreateRuledSurface(
198 int CreateConeSurface(
370 double tolerance = ON_ZERO_TOLERANCE
447 double cos_angle_tolerance=ON_DEFAULT_ANGLE_TOLERANCE_COSINE,
448 double curvature_tolerance=ON_SQRT_EPSILON
483 double point_tolerance=ON_ZERO_TOLERANCE,
484 double d1_tolerance=ON_ZERO_TOLERANCE,
485 double d2_tolerance=ON_ZERO_TOLERANCE,
486 double cos_angle_tolerance=ON_DEFAULT_ANGLE_TOLERANCE_COSINE,
487 double curvature_tolerance=ON_SQRT_EPSILON
624 double offset_distance,
626 double* max_deviation = NULL
658 double ControlPolygonLength(
int dir )
const;
720 ON::point_style CVStyle()
const;
762 ON_BOOL32 SetCVColumn(
769 ON_BOOL32 SetCVColumn(
802 int KnotMultiplicity(
824 bool MakeClampedUniformKnotVector(
842 bool MakePeriodicUniformKnotVector(
853 double SuperfluousKnot(
858 double GrevilleAbcissa(
863 bool GetGrevilleAbcissae(
868 bool SetClampedGrevilleKnotVector(
874 bool SetPeriodicGrevilleKnotVector(
890 int knot_multiplicity=1
895 bool MakeNonRational();
902 bool ChangeDimension(
903 int desired_dimension
917 ON_BOOL32 ChangeSurfaceSeam(
924 ON_BOOL32 TensorProduct(
932 ON_BOOL32 ReserveKnotCapacity(
935 int knot_array_capacity
937 ON_BOOL32 ReserveCVCapacity(
939 int cv_array_capacity
957 ON_BOOL32 ConvertSpanToBezier(
987 int m_knot_capacity[2];
1109 unsigned int SizeOf()
const;
1112 ON__UINT32
DataCRC(ON__UINT32 current_remainder)
const;
1207 int bGrowBox =
false
1227 int bGrowBox =
false,
1268 bool IsParallelogram(
double tolerance)
const;
1368 int knot_multiplicity=1
1371 ON_BOOL32 IncreaseDegree(
1376 ON_BOOL32 ChangeDimension(
1377 int desired_dimension
1501 bool IsRational()
const;
1571 ON::point_style CVStyle()
const;
1667 bool MakeRational();
1669 bool MakeNonRational();
1685 double GrevilleAbcissa(
1697 bool ReserveCVCapacity(
1701 bool ReserveKnotCapacity(
1722 int m_knot_capacity[3];
1730 bool ON_GetCageXform(
1760 unsigned int SizeOf()
const;
1784 int bGrowBox =
false
1789 int bGrowBox =
false,
1808 bool IsRational()
const;
1814 bool MakeRational();
1820 bool MakeNonRational();
1826 int CVCount()
const;
1828 int CVCount(
int dir)
const;
1829 int Order(
int dir)
const;
1830 const double* Knot(
int dir)
const;
1832 const double* CV(
ON_3dex)
const;
1857 bool AddControlLocalizer(
1858 double support_distance,
1859 double falloff_distance
1862 bool AddSphereLocalizer(
1864 double support_distance,
1865 double falloff_distance
1868 bool AddCylinderLocalizer(
1870 double support_distance,
1871 double falloff_distance
1874 bool AddBoxLocalizer(
1876 double support_distance,
1877 double falloff_distance
1880 bool AddPlaneLocalizer(
1882 double support_distance,
1883 double falloff_distance
1886 bool AddConvexPolygonLocalizer(
1888 double support_distance,
1889 double falloff_distance
1897 bool GetCageMorph(
class ON_CageMorph& cage_morph )
const;
1964 #if defined(ON_DLL_TEMPLATE)
1968 #pragma warning( push )
1969 #pragma warning( disable : 4231 )
1979 #pragma warning( pop )
virtual ON_BOOL32 Trim(int dir, const ON_Interval &domain)
virtual ON_BOOL32 IsClosed(int) const
virtual int GetNurbForm(ON_NurbsSurface &nurbs_surface, double tolerance=0.0) const
ON_Surface & operator=(const ON_Surface &)
bool SetDomain(int dir, ON_Interval domain)
virtual void DestroyRuntimeCache(bool bDelete=true)
virtual ON_BOOL32 Transform(const ON_Xform &xform)
virtual ON::object_type ObjectType() const
ON_NurbsSurface m_nurbs_surface
ON_NurbsSurface m_nurbs_surface0
virtual ON_BOOL32 GetParameterTolerance(int dir, double t, double *tminus, double *tplus) const
virtual unsigned int SizeOf() const
virtual ON__UINT32 DataCRC(ON__UINT32 current_remainder) 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 ON_BOOL32 GetSurfaceSize(double *width, double *height) const
virtual int Dimension() const =0
virtual bool MakeDeformable()
virtual ON_BOOL32 Read(ON_BinaryArchive &binary_archive)
virtual ON_BOOL32 Write(ON_BinaryArchive &binary_archive) const
virtual void ClearBoundingBox()
virtual int Degree(int dir) const =0
virtual bool IsDeformable() const
virtual ON_BOOL32 Reverse(int)=0
bool m_sporh_bQuickPreview
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_BOOL32 IsPlanar(ON_Plane *plane=NULL, double tolerance=ON_ZERO_TOLERANCE) const
virtual int SpanCount(int dir) const =0
virtual ON_Interval Domain(int dir) const =0
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
ON_Interval m_nurbs_curve_domain
ON_Geometry & operator=(const ON_Geometry &)
virtual ON_Brep * BrepForm(ON_Brep *brep=NULL) const
unsigned int SizeOf() const
virtual ON_Curve * IsoCurve(int dir, double c) const
virtual bool Extend(int dir, const ON_Interval &domain)
virtual ON_BOOL32 GetSpanVector(int dir, double *span_vector) const =0
virtual bool GetTightBoundingBox(ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
virtual ON_BOOL32 Transpose()=0
virtual ON_BOOL32 IsPeriodic(int) const
const ON_MorphControl * m_control
virtual bool IsIdentity(const ON_BoundingBox &bbox) const
virtual ON_BOOL32 SwapCoordinates(int i, int j)
virtual ON_BOOL32 IsSingular(int) const
ON_ClassArray< ON_Localizer > m_localizers
virtual ON_BOOL32 Split(int dir, double c, ON_Surface *&west_or_south_side, ON_Surface *&east_or_north_side) const
virtual void Dump(ON_TextLog &) const
ON_NurbsCurve m_nurbs_curve
bool m_sporh_bPreserveStructure
virtual ON_BOOL32 GetBBox(double *boxmin, double *boxmax, int bGrowBox=false) const =0
virtual ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const =0
ON_NurbsCurve m_nurbs_curve0
ON_NurbsCage m_nurbs_cage
virtual void MemoryRelocate()
virtual ON_BOOL32 HasBrepForm() const