 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
const CCVector3 & getCenter() const
Returns the model center.
Definition: LocalModel.h:37
CV_LOCAL_MODEL_TYPES
Definition: CVConst.h:121
Local modelization (generic interface)
Definition: LocalModel.h:17
PointCoordinateType m_squaredRadius
Max radius (squared)
Definition: LocalModel.h:62
PointCoordinateType getSquareSize() const
Returns the model max radius (squared)
Definition: LocalModel.h:40
LocalModel(const CCVector3 ¢er, PointCoordinateType squaredRadius)
Constructor.
Definition: LocalModel.cpp:161
Definition: Neighbourhood.h:25
virtual ScalarType computeDistanceFromModelToPoint(const CCVector3 *P, CCVector3 *nearestPoint=nullptr) const =0
Compute the (unsigned) distance between a 3D point and this model.
virtual CV_LOCAL_MODEL_TYPES getType() const =0
Returns the model type.
CCVector3 m_modelCenter
Center.
Definition: LocalModel.h:59
virtual ~LocalModel()=default
Destructor.
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
char type
Definition: FileIOFactory.cpp:131
static LocalModel * New(CV_LOCAL_MODEL_TYPES type, Neighbourhood &subset, const CCVector3 ¢er, PointCoordinateType squaredRadius)
Factory.
Definition: LocalModel.cpp:165