BRL-CAD
on_fit Namespace Reference

Data Structures

class  FittingSurface
 Fitting a B-Spline surface to 3D point-clouds using point-distance-minimization Based on paper: TODO. More...
 
struct  NurbsDataSurface
 Data structure for NURBS surface fitting (FittingSurface, FittingSurfaceTDM, FittingCylinder, GlobalOptimization, GlobalOptimizationTDM) More...
 
class  NurbsSolve
 Solving the linear system of equations using Eigen or UmfPack. (can be defined in on_nurbs.cmake) More...
 
class  NurbsTools
 Some useful tools for initialization, point search, ... More...
 

Typedefs

typedef std::vector< ON_2dVector > vector_vec2d
 
typedef std::vector< ON_3dVector > vector_vec3d
 

Enumerations

enum  {
  NORTH = 1, NORTHEAST = 2, EAST = 3, SOUTHEAST = 4,
  SOUTH = 5, SOUTHWEST = 6, WEST = 7, NORTHWEST = 8
}
 

Detailed Description

opennurbs_fit.h

Extensions to the openNURBS library, based off of Thomas Mörwald's surface fitting code in the Point Cloud Library (pcl). His code is BSD licensed:

Copyright (c) 2011, Thomas Mörwald, Jonathan Balzer, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of Thomas Mörwald or Jonathan Balzer nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Typedef Documentation

typedef std::vector<ON_2dVector > vector_vec2d

Definition at line 91 of file opennurbs_fit.h.

typedef std::vector<ON_3dVector > vector_vec3d

Definition at line 92 of file opennurbs_fit.h.

Enumeration Type Documentation

anonymous enum
Enumerator
NORTH 
NORTHEAST 
EAST 
SOUTHEAST 
SOUTH 
SOUTHWEST 
WEST 
NORTHWEST 

Definition at line 162 of file opennurbs_fit.h.