Point Cloud Library (PCL)  1.7.0
Public Member Functions | Static Public Member Functions | Public Attributes
ON_NurbsSurface Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_nurbssurface.h>

+ Inheritance diagram for ON_NurbsSurface:

List of all members.

Public Member Functions

 ON_NurbsSurface ()
 ON_NurbsSurface (const ON_NurbsSurface &nurbs_surface)
 ON_NurbsSurface (const ON_BezierSurface &bezier_surface)
 ON_NurbsSurface (int dimension, ON_BOOL32 bIsRational, int order0, int order1, int cv_count0, int cv_count1)
unsigned int SizeOf () const
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
bool IsDuplicate (const ON_NurbsSurface &other, bool bIgnoreParameterization, double tolerance=ON_ZERO_TOLERANCE) const
void Initialize (void)
ON_BOOL32 Create (int dim, ON_BOOL32 is_rat, int order0, int order1, int cv_count0, int cv_count1)
virtual int CreateRuledSurface (const ON_Curve &curveA, const ON_Curve &curveB, const ON_Interval *curveA_domain=NULL, const ON_Interval *curveB_domain=NULL)
int CreateConeSurface (ON_3dPoint apex_point, const ON_Curve &curve, const ON_Interval *curve_domain=NULL)
bool CollapseSide (int side, ON_3dPoint point=ON_unset_point)
void Destroy ()
virtual ~ON_NurbsSurface ()
void EmergencyDestroy ()
ON_NurbsSurfaceoperator= (const ON_NurbsSurface &)
ON_NurbsSurfaceoperator= (const ON_BezierSurface &bezier_surface)
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
void Dump (ON_TextLog &) const
ON_BOOL32 Write (ON_BinaryArchive &) const
ON_BOOL32 Read (ON_BinaryArchive &)
int Dimension () const
ON_BOOL32 GetBBox (double *, double *, ON_BOOL32=false) const
ON_BOOL32 Transform (const ON_Xform &)
bool IsDeformable () const
bool MakeDeformable ()
ON_BOOL32 SwapCoordinates (int, int)
ON_BOOL32 SetDomain (int dir, double t0, double t1)
ON_Interval Domain (int) const
ON_BOOL32 GetSurfaceSize (double *width, double *height) const
int SpanCount (int) const
ON_BOOL32 GetSpanVector (int, double *) const
int Degree (int) const
ON_BOOL32 GetParameterTolerance (int, double, double *, double *) const
ON_BOOL32 IsPlanar (ON_Plane *plane=NULL, double tolerance=ON_ZERO_TOLERANCE) const
ON_BOOL32 IsClosed (int) const
ON_BOOL32 IsPeriodic (int) const
ON_BOOL32 IsSingular (int) const
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
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_BOOL32 Reverse (int)
ON_BOOL32 Transpose ()
ON_BOOL32 Evaluate (double, double, int, int, double *, int=0, int *=0) const
ON_CurveIsoCurve (int dir, double c) const
ON_BOOL32 Trim (int dir, const ON_Interval &domain)
bool Extend (int dir, const ON_Interval &domain)
ON_BOOL32 Split (int dir, double c, ON_Surface *&west_or_south_side, ON_Surface *&east_or_north_side) const
ON_SurfaceOffset (double offset_distance, double tolerance, double *max_deviation=NULL) const
int GetNurbForm (ON_NurbsSurface &, double=0.0) const
double ControlPolygonLength (int dir) const
bool IsRational (void) const
int CVSize (void) const
int Order (int) const
int CVCount (int) const
int CVCount (void) const
int KnotCount (int dir) const
double * CV (int i, int j) const
ON::point_style CVStyle () const
double Weight (int i, int j) const
ON_BOOL32 SetWeight (int i, int j, double weight)
ON_BOOL32 SetCV (int i, int j, ON::point_style, const double *cv)
ON_BOOL32 SetCV (int i, int j, const ON_3dPoint &cv)
ON_BOOL32 SetCV (int i, int j, const ON_4dPoint &cv)
ON_BOOL32 SetCVRow (int row_index, const ON_3dPoint &cv)
ON_BOOL32 SetCVRow (int row_index, int v_stride, const double *v)
ON_BOOL32 SetCVColumn (int col_index, const ON_3dPoint &cv)
ON_BOOL32 SetCVColumn (int col_index, int v_stride, const double *v)
ON_BOOL32 GetCV (int i, int j, ON::point_style, double *cv) const
ON_BOOL32 GetCV (int i, int j, ON_3dPoint &cv) const
ON_BOOL32 GetCV (int i, int j, ON_4dPoint &cv) const
int SetKnot (int dir, int knot_index, double knot_value)
double Knot (int dir, int knot_index) const
int KnotMultiplicity (int dir, int knot_index) const
const double * Knot (int dir) const
bool MakeClampedUniformKnotVector (int dir, double delta=1.0)
bool MakePeriodicUniformKnotVector (int dir, double delta=1.0)
bool IsClamped (int dir, int end=2) const
double SuperfluousKnot (int dir, int end) const
double GrevilleAbcissa (int dir, int cv_index) const
bool GetGrevilleAbcissae (int dir, double *g) const
bool SetClampedGrevilleKnotVector (int dir, int g_stride, const double *g)
bool SetPeriodicGrevilleKnotVector (int dir, int g_stride, const double *g)
bool ZeroCVs ()
bool ClampEnd (int dir, int end)
bool InsertKnot (int dir, double knot_value, int knot_multiplicity=1)
bool MakeRational ()
bool MakeNonRational ()
bool IncreaseDegree (int dir, int desired_degree)
bool ChangeDimension (int desired_dimension)
ON_BOOL32 ChangeSurfaceSeam (int dir, double t)
ON_BOOL32 TensorProduct (const ON_NurbsCurve &, const ON_NurbsCurve &, ON_TensorProduct &)
ON_BOOL32 ReserveKnotCapacity (int dir, int knot_array_capacity)
ON_BOOL32 ReserveCVCapacity (int cv_array_capacity)
ON_BOOL32 ConvertSpanToBezier (int span_index0, int span_index1, ON_BezierSurface &bezier_surface) const

Static Public Member Functions

static ON_NurbsSurfaceNew ()
static ON_NurbsSurfaceNew (const ON_NurbsSurface &nurbs_surface)
static ON_NurbsSurfaceNew (const ON_BezierSurface &bezier_surface)
static ON_NurbsSurfaceNew (int dimension, ON_BOOL32 bIsRational, int order0, int order1, int cv_count0, int cv_count1)

Public Attributes

int m_dim
int m_is_rat
int m_order [2]
int m_cv_count [2]
int m_knot_capacity [2]
double * m_knot [2]
int m_cv_stride [2]
int m_cv_capacity
double * m_cv

Detailed Description

Definition at line 64 of file opennurbs_nurbssurface.h.


Constructor & Destructor Documentation

ON_NurbsSurface::ON_NurbsSurface ( int  dimension,
ON_BOOL32  bIsRational,
int  order0,
int  order1,
int  cv_count0,
int  cv_count1 
)
virtual ON_NurbsSurface::~ON_NurbsSurface ( ) [virtual]

Member Function Documentation

bool ON_NurbsSurface::ChangeDimension ( int  desired_dimension)
ON_BOOL32 ON_NurbsSurface::ChangeSurfaceSeam ( int  dir,
double  t 
)
bool ON_NurbsSurface::ClampEnd ( int  dir,
int  end 
)
bool ON_NurbsSurface::CollapseSide ( int  side,
ON_3dPoint  point = ON_unset_point 
)
double ON_NurbsSurface::ControlPolygonLength ( int  dir) const
ON_BOOL32 ON_NurbsSurface::ConvertSpanToBezier ( int  span_index0,
int  span_index1,
ON_BezierSurface bezier_surface 
) const
ON_BOOL32 ON_NurbsSurface::Create ( int  dim,
ON_BOOL32  is_rat,
int  order0,
int  order1,
int  cv_count0,
int  cv_count1 
)
int ON_NurbsSurface::CreateConeSurface ( ON_3dPoint  apex_point,
const ON_Curve curve,
const ON_Interval curve_domain = NULL 
)
virtual int ON_NurbsSurface::CreateRuledSurface ( const ON_Curve curveA,
const ON_Curve curveB,
const ON_Interval curveA_domain = NULL,
const ON_Interval curveB_domain = NULL 
) [virtual]
double* ON_NurbsSurface::CV ( int  i,
int  j 
) const
int ON_NurbsSurface::CVCount ( int  ) const
int ON_NurbsSurface::CVCount ( void  ) const
int ON_NurbsSurface::CVSize ( void  ) const
ON::point_style ON_NurbsSurface::CVStyle ( ) const
ON__UINT32 ON_NurbsSurface::DataCRC ( ON__UINT32  current_remainder) const [virtual]

Reimplemented from ON_Object.

int ON_NurbsSurface::Degree ( int  ) const [virtual]

Implements ON_Surface.

int ON_NurbsSurface::Dimension ( ) const [virtual]

Implements ON_Geometry.

ON_Interval ON_NurbsSurface::Domain ( int  ) const [virtual]

Implements ON_Surface.

void ON_NurbsSurface::Dump ( ON_TextLog ) const [virtual]

Reimplemented from ON_Object.

Reimplemented from ON_Object.

ON_BOOL32 ON_NurbsSurface::Evaluate ( double  ,
double  ,
int  ,
int  ,
double *  ,
int  = 0,
int *  = 0 
) const [virtual]

Implements ON_Surface.

bool ON_NurbsSurface::Extend ( int  dir,
const ON_Interval domain 
) [virtual]

Reimplemented from ON_Surface.

ON_BOOL32 ON_NurbsSurface::GetBBox ( double *  ,
double *  ,
ON_BOOL32  = false 
) const [virtual]

Implements ON_Geometry.

ON_BOOL32 ON_NurbsSurface::GetCV ( int  i,
int  j,
ON::point_style  ,
double *  cv 
) const
ON_BOOL32 ON_NurbsSurface::GetCV ( int  i,
int  j,
ON_3dPoint cv 
) const
ON_BOOL32 ON_NurbsSurface::GetCV ( int  i,
int  j,
ON_4dPoint cv 
) const
bool ON_NurbsSurface::GetGrevilleAbcissae ( int  dir,
double *  g 
) const
bool ON_NurbsSurface::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]

Reimplemented from ON_Surface.

int ON_NurbsSurface::GetNurbForm ( ON_NurbsSurface ,
double  = 0.0 
) const [virtual]

Reimplemented from ON_Surface.

ON_BOOL32 ON_NurbsSurface::GetParameterTolerance ( int  ,
double  ,
double *  ,
double *   
) const [virtual]

Reimplemented from ON_Surface.

ON_BOOL32 ON_NurbsSurface::GetSpanVector ( int  ,
double *   
) const [virtual]

Implements ON_Surface.

ON_BOOL32 ON_NurbsSurface::GetSurfaceSize ( double *  width,
double *  height 
) const [virtual]

Reimplemented from ON_Surface.

double ON_NurbsSurface::GrevilleAbcissa ( int  dir,
int  cv_index 
) const
bool ON_NurbsSurface::IncreaseDegree ( int  dir,
int  desired_degree 
)
void ON_NurbsSurface::Initialize ( void  )
bool ON_NurbsSurface::InsertKnot ( int  dir,
double  knot_value,
int  knot_multiplicity = 1 
)
bool ON_NurbsSurface::IsClamped ( int  dir,
int  end = 2 
) const
ON_BOOL32 ON_NurbsSurface::IsClosed ( int  ) const [virtual]

Reimplemented from ON_Surface.

bool ON_NurbsSurface::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]

Reimplemented from ON_Surface.

bool ON_NurbsSurface::IsDeformable ( ) const [virtual]

Reimplemented from ON_Geometry.

bool ON_NurbsSurface::IsDuplicate ( const ON_NurbsSurface other,
bool  bIgnoreParameterization,
double  tolerance = ON_ZERO_TOLERANCE 
) const
ON_Curve* ON_NurbsSurface::IsoCurve ( int  dir,
double  c 
) const [virtual]

Reimplemented from ON_Surface.

ON_BOOL32 ON_NurbsSurface::IsPeriodic ( int  ) const [virtual]

Reimplemented from ON_Surface.

ON_BOOL32 ON_NurbsSurface::IsPlanar ( ON_Plane plane = NULL,
double  tolerance = ON_ZERO_TOLERANCE 
) const [virtual]

Reimplemented from ON_Surface.

bool ON_NurbsSurface::IsRational ( void  ) const
ON_BOOL32 ON_NurbsSurface::IsSingular ( int  ) const [virtual]

Reimplemented from ON_Surface.

ON_BOOL32 ON_NurbsSurface::IsValid ( ON_TextLog text_log = NULL) const [virtual]

Implements ON_Object.

double ON_NurbsSurface::Knot ( int  dir,
int  knot_index 
) const
const double* ON_NurbsSurface::Knot ( int  dir) const
int ON_NurbsSurface::KnotCount ( int  dir) const
int ON_NurbsSurface::KnotMultiplicity ( int  dir,
int  knot_index 
) const
bool ON_NurbsSurface::MakeClampedUniformKnotVector ( int  dir,
double  delta = 1.0 
)
bool ON_NurbsSurface::MakeDeformable ( ) [virtual]

Reimplemented from ON_Geometry.

bool ON_NurbsSurface::MakePeriodicUniformKnotVector ( int  dir,
double  delta = 1.0 
)
static ON_NurbsSurface* ON_NurbsSurface::New ( ) [static]
static ON_NurbsSurface* ON_NurbsSurface::New ( const ON_NurbsSurface nurbs_surface) [static]
static ON_NurbsSurface* ON_NurbsSurface::New ( const ON_BezierSurface bezier_surface) [static]
static ON_NurbsSurface* ON_NurbsSurface::New ( int  dimension,
ON_BOOL32  bIsRational,
int  order0,
int  order1,
int  cv_count0,
int  cv_count1 
) [static]
ON_Surface* ON_NurbsSurface::Offset ( double  offset_distance,
double  tolerance,
double *  max_deviation = NULL 
) const
ON_NurbsSurface& ON_NurbsSurface::operator= ( const ON_NurbsSurface )
ON_NurbsSurface& ON_NurbsSurface::operator= ( const ON_BezierSurface bezier_surface)
int ON_NurbsSurface::Order ( int  ) const
ON_BOOL32 ON_NurbsSurface::Read ( ON_BinaryArchive ) [virtual]

Reimplemented from ON_Object.

ON_BOOL32 ON_NurbsSurface::ReserveCVCapacity ( int  cv_array_capacity)
ON_BOOL32 ON_NurbsSurface::ReserveKnotCapacity ( int  dir,
int  knot_array_capacity 
)
ON_BOOL32 ON_NurbsSurface::Reverse ( int  ) [virtual]

Implements ON_Surface.

bool ON_NurbsSurface::SetClampedGrevilleKnotVector ( int  dir,
int  g_stride,
const double *  g 
)
ON_BOOL32 ON_NurbsSurface::SetCV ( int  i,
int  j,
ON::point_style  ,
const double *  cv 
)
ON_BOOL32 ON_NurbsSurface::SetCV ( int  i,
int  j,
const ON_3dPoint cv 
)
ON_BOOL32 ON_NurbsSurface::SetCV ( int  i,
int  j,
const ON_4dPoint cv 
)
ON_BOOL32 ON_NurbsSurface::SetCVColumn ( int  col_index,
const ON_3dPoint cv 
)
ON_BOOL32 ON_NurbsSurface::SetCVColumn ( int  col_index,
int  v_stride,
const double *  v 
)
ON_BOOL32 ON_NurbsSurface::SetCVRow ( int  row_index,
const ON_3dPoint cv 
)
ON_BOOL32 ON_NurbsSurface::SetCVRow ( int  row_index,
int  v_stride,
const double *  v 
)
ON_BOOL32 ON_NurbsSurface::SetDomain ( int  dir,
double  t0,
double  t1 
) [virtual]

Reimplemented from ON_Surface.

int ON_NurbsSurface::SetKnot ( int  dir,
int  knot_index,
double  knot_value 
)
bool ON_NurbsSurface::SetPeriodicGrevilleKnotVector ( int  dir,
int  g_stride,
const double *  g 
)
ON_BOOL32 ON_NurbsSurface::SetWeight ( int  i,
int  j,
double  weight 
)
unsigned int ON_NurbsSurface::SizeOf ( ) const [virtual]

Reimplemented from ON_Surface.

int ON_NurbsSurface::SpanCount ( int  ) const [virtual]

Implements ON_Surface.

ON_BOOL32 ON_NurbsSurface::Split ( int  dir,
double  c,
ON_Surface *&  west_or_south_side,
ON_Surface *&  east_or_north_side 
) const [virtual]

Reimplemented from ON_Surface.

double ON_NurbsSurface::SuperfluousKnot ( int  dir,
int  end 
) const
ON_BOOL32 ON_NurbsSurface::SwapCoordinates ( int  ,
int   
) [virtual]

Reimplemented from ON_Geometry.

ON_BOOL32 ON_NurbsSurface::TensorProduct ( const ON_NurbsCurve ,
const ON_NurbsCurve ,
ON_TensorProduct  
)
ON_BOOL32 ON_NurbsSurface::Transform ( const ON_Xform ) [virtual]

Reimplemented from ON_Geometry.

ON_BOOL32 ON_NurbsSurface::Transpose ( ) [virtual]

Implements ON_Surface.

ON_BOOL32 ON_NurbsSurface::Trim ( int  dir,
const ON_Interval domain 
) [virtual]

Reimplemented from ON_Surface.

double ON_NurbsSurface::Weight ( int  i,
int  j 
) const
ON_BOOL32 ON_NurbsSurface::Write ( ON_BinaryArchive ) const [virtual]

Reimplemented from ON_Object.


Member Data Documentation

Definition at line 1015 of file opennurbs_nurbssurface.h.

Definition at line 1006 of file opennurbs_nurbssurface.h.

Definition at line 983 of file opennurbs_nurbssurface.h.

Definition at line 1003 of file opennurbs_nurbssurface.h.

Definition at line 974 of file opennurbs_nurbssurface.h.

Definition at line 976 of file opennurbs_nurbssurface.h.

Definition at line 998 of file opennurbs_nurbssurface.h.

Definition at line 987 of file opennurbs_nurbssurface.h.

Definition at line 981 of file opennurbs_nurbssurface.h.


The documentation for this class was generated from the following file: