16 namespace visualization {
31 return Eigen::Vector3d(0.0, 0.0, 0.0);
39 return Eigen::Vector3d(0.0, 0.0, 0.0);
47 return Eigen::Vector3d(0.0, 0.0, 0.0);
70 const Eigen::Matrix4d& ) {
76 const Eigen::Vector3d& translation,
bool relative) {
82 const Eigen::Vector3d& center) {
88 const Eigen::Vector3d& center) {
static ccBBox CreateFromPoints(const std::vector< CCVector3 > &points)
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
A utility class to store picked points of a pointcloud.
virtual PointCloudPicker & Translate(const Eigen::Vector3d &translation, bool relative=true) override
Apply translation to the geometry coordinates.
PointCloudPicker & Clear()
virtual PointCloudPicker & Rotate(const Eigen::Matrix3d &R, const Eigen::Vector3d ¢er) override
Apply rotation to the geometry coordinates and normals. Given a rotation matrix , and center ,...
virtual Eigen::Vector3d GetMinBound() const override
Returns min bounds for geometry coordinates.
virtual ecvOrientedBBox GetOrientedBoundingBox() const override
std::vector< size_t > picked_indices_
bool SetPointCloud(std::shared_ptr< const ccHObject > ptr)
virtual ccBBox GetAxisAlignedBoundingBox() const override
Returns an axis-aligned bounding box of the geometry.
std::shared_ptr< const ccHObject > pointcloud_ptr_
virtual PointCloudPicker & Transform(const Eigen::Matrix4d &transformation) override
Apply transformation (4x4 matrix) to the geometry coordinates.
virtual Eigen::Vector3d GetMaxBound() const override
Returns max bounds for geometry coordinates.
virtual PointCloudPicker & Scale(const double s, const Eigen::Vector3d ¢er) override
Apply scaling to the geometry coordinates. Given a scaling factor , and center , a given point is tr...
virtual Eigen::Vector3d GetCenter() const override
Returns the center of the geometry coordinates.
static ecvOrientedBBox CreateFromPoints(const std::vector< Eigen::Vector3d > &points)
Generic file read and write utility for python interface.