64 const std::vector<int> &indices);
66 const std::vector<
const std::vector<int>*> &indices);
98 const std::vector<
const std::vector<int>*> &indices);
float cutCost
Definition: PointCloudSegment.h:50
std::vector< utils::SmartPtr< PointCloudSegment > > extractThisAndChildren() const
returns a vector containing this and all recursive children
void updateFeatures()
updates the instances features
bool isParent()
parent objects have children and a dimension of 0
Definition: PointCloudSegment.h:78
undocument this line if you encounter any issues!
Definition: Any.h:37
Definition: PointCloudSegment.h:52
ICLGeom_API int getChildCount() const
returns the number of children
Mat computeEigenVectorFrame() const
PointCloudSegment * copy() const
deep copy function
utils::SmartPtr< PointCloudSegment > flatten() const
creates a flattened deep copy of the segment
utils::SmartPtr< PointCloudSegment > getSubSegment(int i)
returns week pointer to the i-th child (already casted to PointCloudSegment type)
void init(PointCloudObject &obj, const std::vector< const std::vector< int > * > &indices)
math::Vec3 eigenvectors[3]
Definition: PointCloudSegment.h:47
bool featuresComputed
Definition: PointCloudSegment.h:44
Base implementation of the SceneObjectBase interface for compability with common icl::SceneObjects.
Definition: PointCloudObject.h:52
ICLGeom_API std::ostream & operator<<(std::ostream &os, const Camera &cam)
ostream operator (writes camera in XML core::format)
struct icl::geom::PointCloudSegment::AABB aabb
PointCloudSegment()
Definition: PointCloudSegment.h:57
int getNumSubSegments()
returns number of sub-segements (i.e. the number of children)
Definition: PointCloudSegment.h:81
utils::SmartPtr< PointCloudSegment > PointCloudSegmentPtr
Definition: PointCloudSegment.h:102
std::string str(const T &t)
convert a data type into a string using an std::ostringstream instance
Definition: StringUtils.h:136
math::Vec3 max
Definition: PointCloudSegment.h:53
FixedMatrix< T, ROWS, COLS > transp() const
returns matrix's transposed
Definition: FixedMatrix.h:728
math::Vec3 mean
Definition: PointCloudSegment.h:46
math::FixedMatrix< float, 3, 3 > covariance
Definition: PointCloudSegment.h:45
PointCloudSegment class used to describe data segments in the scene.
Definition: PointCloudSegment.h:43
size_t numPoints
Definition: PointCloudSegment.h:49
math::Vec3 eigenvalues
Definition: PointCloudSegment.h:48
Specialization of the SmartPtrBase class for Pointers.
Definition: SmartPtr.h:75
math::Vec3 min
Definition: PointCloudSegment.h:53