Open3D (C++ API)
Public Member Functions | Data Fields
open3d::geometry::LineSet Class Reference

#include <LineSet.h>

Inheritance diagram for open3d::geometry::LineSet:
open3d::geometry::Geometry3D open3d::geometry::Geometry

Public Member Functions

 LineSet ()
 
 ~LineSet () override
 
void Clear () override
 
bool IsEmpty () const override
 
Eigen::Vector3d GetMinBound () const override
 
Eigen::Vector3d GetMaxBound () const override
 
LineSetTransform (const Eigen::Matrix4d &transformation) override
 
LineSetTranslate (const Eigen::Vector3d &translation) override
 
LineSetScale (const double scale, bool center=true) override
 
LineSetRotate (const Eigen::Vector3d &rotation, bool center=true, RotationType type=RotationType::XYZ) override
 
LineSetoperator+= (const LineSet &lineset)
 
LineSet operator+ (const LineSet &lineset) const
 
bool HasPoints () const
 
bool HasLines () const
 
bool HasColors () const
 
std::pair< Eigen::Vector3d, Eigen::Vector3d > GetLineCoordinate (size_t line_index) const
 
void PaintUniformColor (const Eigen::Vector3d &color)
 Assigns each line in the LineSet the same color. More...
 
- Public Member Functions inherited from open3d::geometry::Geometry3D
 ~Geometry3D () override
 
- Public Member Functions inherited from open3d::geometry::Geometry
virtual ~Geometry ()
 
GeometryType GetGeometryType () const
 
int Dimension () const
 

Data Fields

std::vector< Eigen::Vector3d > points_
 
std::vector< Eigen::Vector2i > lines_
 
std::vector< Eigen::Vector3d > colors_
 

Additional Inherited Members

- Public Types inherited from open3d::geometry::Geometry3D
enum  RotationType {
  RotationType::XYZ, RotationType::YZX, RotationType::ZXY, RotationType::XZY,
  RotationType::ZYX, RotationType::YXZ, RotationType::AxisAngle
}
 
- Public Types inherited from open3d::geometry::Geometry
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
}
 
- Protected Member Functions inherited from open3d::geometry::Geometry3D
 Geometry3D (GeometryType type)
 
Eigen::Matrix3d GetRotationMatrix (const Eigen::Vector3d &rotation, RotationType type=RotationType::XYZ) const
 
- Protected Member Functions inherited from open3d::geometry::Geometry
 Geometry (GeometryType type, int dimension)
 

Constructor & Destructor Documentation

◆ LineSet()

open3d::geometry::LineSet::LineSet ( )
inline

◆ ~LineSet()

open3d::geometry::LineSet::~LineSet ( )
inlineoverride

Member Function Documentation

◆ Clear()

void open3d::geometry::LineSet::Clear ( )
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

◆ 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()

void open3d::geometry::LineSet::PaintUniformColor ( const Eigen::Vector3d &  color)
inline

Assigns each line in the LineSet the same color.

Parameters
color.

◆ Rotate()

LineSet & open3d::geometry::LineSet::Rotate ( const Eigen::Vector3d &  rotation,
bool  center = true,
RotationType  type = RotationType::XYZ 
)
overridevirtual

◆ 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)
overridevirtual

Field Documentation

◆ 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: