MeshLib C++ Docs
Loading...
Searching...
No Matches
MRPointCloudPart.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4
5namespace MR
6{
9
10
13{
15 const VertBitSet* region = nullptr;
16
17 PointCloudPart( const PointCloud& c, const VertBitSet* bs = nullptr ) noexcept : cloud( c ), region( bs ) {}
18
20 PointCloudPart( const PointCloudPart& other ) noexcept = default;
22 {
23 if ( this != &other )
24 {
26 this->~PointCloudPart();
27 ::new( ( void* )this ) PointCloudPart( other );
28 }
29 return *this;
30 }
31};
32
33}
PointCloudPart & operator=(const PointCloudPart &other) noexcept
Definition MRPointCloudPart.h:21
const PointCloud & cloud
Definition MRPointCloudPart.h:14
PointCloudPart(const PointCloudPart &other) noexcept=default
Make this assignable. A better idea would be to rewrite the class to not use references,...
PointCloudPart(const PointCloud &c, const VertBitSet *bs=nullptr) noexcept
nullptr here means all valid points of point cloud
Definition MRPointCloudPart.h:17
const VertBitSet * region
Definition MRPointCloudPart.h:15
@ other
Angle, normally float. Measure in radians.
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
represents full point cloud (if region is nullptr) or some portion of point cloud (if region pointer ...
Definition MRPointCloudPart.h:13
Definition MRPointCloud.h:17