eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::Easy3D::ERectangularCropper Class Reference

Manages a point cloud cropper in the shape of a rectangular parallelepiped. More...

#include <eVision/Easy3D/ERectangularCropper.h>

Collaboration diagram for eVision::Easy3D::ERectangularCropper:

Public Member Functions

 ERectangularCropper (const eVision::Easy3D::E3DPoint &center, float xSize, float ySize, float zSize, float roll, float pitch, float yaw)
 Creates an ERectangularCropper object.
 ERectangularCropper (const eVision::Easy3D::ERectangularCropper &other)
 Creates an ERectangularCropper object.
 ERectangularCropper (const eVision::Easy3D::E3DBox &box)
 Creates an ERectangularCropper object.
virtual ~ERectangularCropper () throw ()
eVision::Easy3D::ERectangularCropper & operator= (const eVision::Easy3D::ERectangularCropper &other)
 Assignment operator.
bool operator== (const eVision::Easy3D::ERectangularCropper &other) const
 Equality operator.
void Crop (const eVision::Easy3D::EPointCloud &cloudIn, eVision::Easy3D::EPointCloud &cloudOut, bool keepInside) const
 Crops a EPointCloud.
void Crop (const eVision::Easy3D::EPointCloud &cloudIn, eVision::Easy3D::EPointCloud &cloudOut) const
 Crops a EPointCloud.
 ERectangularCropper (CppWrapperInternal::InternalConstructor)

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Manages a point cloud cropper in the shape of a rectangular parallelepiped.

License(s): Easy3D

Constructor & Destructor Documentation

◆ ERectangularCropper() [1/4]

eVision::Easy3D::ERectangularCropper::ERectangularCropper ( const eVision::Easy3D::E3DPoint & center,
float xSize,
float ySize,
float zSize,
float roll,
float pitch,
float yaw )

Creates an ERectangularCropper object.

Parameters
centerCenter of the rectangular parallelepiped.
xSizeSize along the X axis before rotation of the rectangular parallelepiped.
ySizeSize along the Y axis before rotation of the rectangular parallelepiped.
zSizeSize along the Z axis before rotation of the rectangular parallelepiped.
rollRoll (rotation along the X axis) of the rectangular parallelepiped.
pitchPitch (rotation along the Y axis) of the rectangular parallelepiped.
yawYaw (rotation along the Z axis) of the rectangular parallelepiped.

◆ ERectangularCropper() [2/4]

eVision::Easy3D::ERectangularCropper::ERectangularCropper ( const eVision::Easy3D::ERectangularCropper & other)

Creates an ERectangularCropper object.

Parameters
otherReference ERectangularCropper used for the initialization.

◆ ERectangularCropper() [3/4]

eVision::Easy3D::ERectangularCropper::ERectangularCropper ( const eVision::Easy3D::E3DBox & box)

Creates an ERectangularCropper object.

Parameters
boxE3DBox used to delimit the zone the cropper will crop or keep.

◆ ~ERectangularCropper()

eVision::Easy3D::ERectangularCropper::~ERectangularCropper ( )
throw ( )
virtual

◆ ERectangularCropper() [4/4]

eVision::Easy3D::ERectangularCropper::ERectangularCropper ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Crop() [1/2]

void eVision::Easy3D::ERectangularCropper::Crop ( const eVision::Easy3D::EPointCloud & cloudIn,
eVision::Easy3D::EPointCloud & cloudOut ) const

Crops a EPointCloud.

Parameters
cloudInCloud to be cropped.
cloudOutCropped cloud.

The input point cloud 'cloudIn' should be different from the output point cloud 'cloudOut'. If not a exception will be thrown.

◆ Crop() [2/2]

void eVision::Easy3D::ERectangularCropper::Crop ( const eVision::Easy3D::EPointCloud & cloudIn,
eVision::Easy3D::EPointCloud & cloudOut,
bool keepInside ) const

Crops a EPointCloud.

Parameters
cloudInCloud to be cropped.
cloudOutCropped cloud.
keepInsideIndicates if the points kept must be the points inside or outside the rectangular parallelepiped.

The input point cloud 'cloudIn' should be different from the output point cloud 'cloudOut'. If not a exception will be thrown.

◆ operator=()

eVision::Easy3D::ERectangularCropper & eVision::Easy3D::ERectangularCropper::operator= ( const eVision::Easy3D::ERectangularCropper & other)

Assignment operator.

Parameters
otherAn other ERectangularCropper.

◆ operator==()

bool eVision::Easy3D::ERectangularCropper::operator== ( const eVision::Easy3D::ERectangularCropper & other) const

Equality operator.

Parameters
otherAn other ERectangularCropper.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::Easy3D::ERectangularCropper::wrappedClass_