#include <LineSet.h>
|
std::vector< Eigen::Vector3d > | points_ |
|
std::vector< Eigen::Vector2i > | lines_ |
|
std::vector< Eigen::Vector3d > | colors_ |
|
|
enum | RotationType {
RotationType::XYZ,
RotationType::YZX,
RotationType::ZXY,
RotationType::XZY,
RotationType::ZYX,
RotationType::YXZ,
RotationType::AxisAngle
} |
|
enum | GeometryType {
GeometryType::Unspecified = 0,
GeometryType::PointCloud = 1,
GeometryType::VoxelGrid = 2,
GeometryType::Octree = 3,
GeometryType::LineSet = 4,
GeometryType::TriangleMesh = 5,
GeometryType::HalfEdgeTriangleMesh = 6,
GeometryType::Image = 7,
GeometryType::RGBDImage = 8,
GeometryType::TetraMesh = 9,
GeometryType::OrientedBoundingBox = 10,
GeometryType::AxisAlignedBoundingBox = 11
} |
|
| Geometry3D (GeometryType type) |
|
Eigen::Vector3d | ComputeMinBound (const std::vector< Eigen::Vector3d > &points) const |
|
Eigen::Vector3d | ComputeMaxBound (const std::vector< Eigen::Vector3d > &points) const |
|
Eigen::Vector3d | ComputeCenter (const std::vector< Eigen::Vector3d > &points) const |
|
void | ResizeAndPaintUniformColor (std::vector< Eigen::Vector3d > &colors, const size_t size, const Eigen::Vector3d &color) const |
|
void | TransformPoints (const Eigen::Matrix4d &transformation, std::vector< Eigen::Vector3d > &points) const |
|
void | TransformNormals (const Eigen::Matrix4d &transformation, std::vector< Eigen::Vector3d > &normals) const |
|
void | TranslatePoints (const Eigen::Vector3d &translation, std::vector< Eigen::Vector3d > &points, bool relative) const |
|
void | ScalePoints (const double scale, std::vector< Eigen::Vector3d > &points, bool center) const |
|
void | RotatePoints (const Eigen::Vector3d &rotation, std::vector< Eigen::Vector3d > &points, bool center, RotationType type) const |
|
void | RotateNormals (const Eigen::Vector3d &rotation, std::vector< Eigen::Vector3d > &normals, bool center, RotationType type) const |
|
Eigen::Matrix3d | GetRotationMatrix (const Eigen::Vector3d &rotation, RotationType type=RotationType::XYZ) const |
|
| Geometry (GeometryType type, int dimension) |
|
◆ LineSet()
open3d::geometry::LineSet::LineSet |
( |
| ) |
|
|
inline |
◆ ~LineSet()
open3d::geometry::LineSet::~LineSet |
( |
| ) |
|
|
inlineoverride |
◆ Clear()
LineSet & open3d::geometry::LineSet::Clear |
( |
| ) |
|
|
overridevirtual |
◆ CreateFromAxisAlignedBoundingBox()
◆ CreateFromOrientedBoundingBox()
◆ CreateFromPointCloudCorrespondences()
std::shared_ptr< LineSet > open3d::geometry::LineSet::CreateFromPointCloudCorrespondences |
( |
const PointCloud & |
cloud0, |
|
|
const PointCloud & |
cloud1, |
|
|
const std::vector< std::pair< int, int >> & |
correspondences |
|
) |
| |
|
static |
Factory function to create a LineSet from two PointClouds (
- Parameters
-
◆ CreateFromTetraMesh()
std::shared_ptr< LineSet > open3d::geometry::LineSet::CreateFromTetraMesh |
( |
const TetraMesh & |
mesh | ) |
|
|
static |
Factory function to create a LineSet from edges of a tetra mesh
- Parameters
-
◆ CreateFromTriangleMesh()
std::shared_ptr< LineSet > open3d::geometry::LineSet::CreateFromTriangleMesh |
( |
const TriangleMesh & |
mesh | ) |
|
|
static |
Factory function to create a LineSet from edges of a triangle mesh
- Parameters
-
◆ GetAxisAlignedBoundingBox()
◆ GetCenter()
Eigen::Vector3d open3d::geometry::LineSet::GetCenter |
( |
| ) |
const |
|
overridevirtual |
◆ GetLineCoordinate()
std::pair<Eigen::Vector3d, Eigen::Vector3d> open3d::geometry::LineSet::GetLineCoordinate |
( |
size_t |
line_index | ) |
const |
|
inline |
◆ GetMaxBound()
Eigen::Vector3d open3d::geometry::LineSet::GetMaxBound |
( |
| ) |
const |
|
overridevirtual |
◆ GetMinBound()
Eigen::Vector3d open3d::geometry::LineSet::GetMinBound |
( |
| ) |
const |
|
overridevirtual |
◆ GetOrientedBoundingBox()
◆ HasColors()
bool open3d::geometry::LineSet::HasColors |
( |
| ) |
const |
|
inline |
◆ HasLines()
bool open3d::geometry::LineSet::HasLines |
( |
| ) |
const |
|
inline |
◆ HasPoints()
bool open3d::geometry::LineSet::HasPoints |
( |
| ) |
const |
|
inline |
◆ IsEmpty()
bool open3d::geometry::LineSet::IsEmpty |
( |
| ) |
const |
|
overridevirtual |
◆ operator+()
LineSet open3d::geometry::LineSet::operator+ |
( |
const LineSet & |
lineset | ) |
const |
◆ operator+=()
LineSet & open3d::geometry::LineSet::operator+= |
( |
const LineSet & |
lineset | ) |
|
◆ PaintUniformColor()
LineSet& open3d::geometry::LineSet::PaintUniformColor |
( |
const Eigen::Vector3d & |
color | ) |
|
|
inline |
Assigns each line in the LineSet the same color.
- Parameters
-
◆ Rotate()
◆ Scale()
LineSet & open3d::geometry::LineSet::Scale |
( |
const double |
scale, |
|
|
bool |
center = true |
|
) |
| |
|
overridevirtual |
◆ Transform()
LineSet & open3d::geometry::LineSet::Transform |
( |
const Eigen::Matrix4d & |
transformation | ) |
|
|
overridevirtual |
◆ Translate()
LineSet & open3d::geometry::LineSet::Translate |
( |
const Eigen::Vector3d & |
translation, |
|
|
bool |
relative = true |
|
) |
| |
|
overridevirtual |
◆ colors_
std::vector<Eigen::Vector3d> open3d::geometry::LineSet::colors_ |
◆ lines_
std::vector<Eigen::Vector2i> open3d::geometry::LineSet::lines_ |
◆ points_
std::vector<Eigen::Vector3d> open3d::geometry::LineSet::points_ |
The documentation for this class was generated from the following files: