47 void Clear()
override;
53 LineSet &
Scale(
const double scale,
bool center =
true)
override;
80 for (
size_t i = 0; i <
lines_.size(); i++) {
97 const std::vector<std::pair<int, int>> &correspondences);
std::vector< Eigen::Vector2i > lines_
Definition: LineSet.h:87
Definition: Geometry.h:32
std::shared_ptr< LineSet > CreateLineSetFromTriangleMesh(const TriangleMesh &mesh)
Definition: LineSetFactory.cpp:58
Definition: PointCloud.h:49
std::shared_ptr< LineSet > CreateLineSetFromPointCloudCorrespondences(const PointCloud &cloud0, const PointCloud &cloud1, const std::vector< std::pair< int, int >> &correspondences)
Definition: LineSetFactory.cpp:36
bool HasColors() const
Definition: LineSet.h:67
RotationType
Definition: Geometry3D.h:40
std::vector< Eigen::Vector3d > points_
Definition: LineSet.h:86
~LineSet() override
Definition: LineSet.h:44
std::vector< Eigen::Vector3d > colors_
Definition: LineSet.h:88
std::pair< Eigen::Vector3d, Eigen::Vector3d > GetLineCoordinate(size_t line_index) const
Definition: LineSet.h:71
Definition: Geometry3D.h:38
void Clear() override
Definition: LineSet.cpp:34
void PaintUniformColor(const Eigen::Vector3d &color)
Assigns each line in the LineSet the same color.
Definition: LineSet.h:78
LineSet & operator+=(const LineSet &lineset)
Definition: LineSet.cpp:132
Eigen::Vector3d GetMaxBound() const override
Definition: LineSet.cpp:64
char type
Definition: FilePCD.cpp:56
LineSet & Scale(const double scale, bool center=true) override
Definition: LineSet.cpp:103
Definition: PinholeCameraIntrinsic.cpp:34
GeometryType
Definition: Geometry.h:34
bool HasPoints() const
Definition: LineSet.h:63
bool IsEmpty() const override
Definition: LineSet.cpp:40
LineSet()
Definition: LineSet.h:43
LineSet & Rotate(const Eigen::Vector3d &rotation, bool center=true, RotationType type=RotationType::XYZ) override
Definition: LineSet.cpp:116
bool HasLines() const
Definition: LineSet.h:65
Definition: TriangleMesh.h:43
Eigen::Vector3d GetMinBound() const override
Definition: LineSet.cpp:42
LineSet operator+(const LineSet &lineset) const
Definition: LineSet.cpp:162
LineSet & Translate(const Eigen::Vector3d &translation) override
Definition: LineSet.cpp:96
long line_index
Definition: FilePLY.cpp:205
LineSet & Transform(const Eigen::Matrix4d &transformation) override
Definition: LineSet.cpp:86