ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::visualization::DrawObject Struct Reference

#include <Draw.h>

Collaboration diagram for cloudViewer::visualization::DrawObject:

Public Member Functions

 DrawObject (const std::string &n, std::shared_ptr< ccHObject > g, bool vis=true)
 
 DrawObject (const std::string &n, std::shared_ptr< t::geometry::Geometry > tg, bool vis=true)
 
 DrawObject (const std::string &n, std::shared_ptr< rendering::TriangleMeshModel > m, bool vis=true)
 

Public Attributes

std::string name
 
std::shared_ptr< ccHObjectgeometry
 
std::shared_ptr< t::geometry::Geometrytgeometry
 
std::shared_ptr< rendering::TriangleMeshModelmodel
 
bool is_visible
 

Detailed Description

Definition at line 20 of file Draw.h.

Constructor & Destructor Documentation

◆ DrawObject() [1/3]

cloudViewer::visualization::DrawObject::DrawObject ( const std::string &  n,
std::shared_ptr< ccHObject g,
bool  vis = true 
)

Definition at line 20 of file Draw.cpp.

References geometry, is_visible, and name.

◆ DrawObject() [2/3]

cloudViewer::visualization::DrawObject::DrawObject ( const std::string &  n,
std::shared_ptr< t::geometry::Geometry tg,
bool  vis = true 
)

Definition at line 28 of file Draw.cpp.

References is_visible, name, and tgeometry.

◆ DrawObject() [3/3]

cloudViewer::visualization::DrawObject::DrawObject ( const std::string &  n,
std::shared_ptr< rendering::TriangleMeshModel m,
bool  vis = true 
)

Definition at line 36 of file Draw.cpp.

References is_visible, model, and name.

Member Data Documentation

◆ geometry

std::shared_ptr<ccHObject> cloudViewer::visualization::DrawObject::geometry

Definition at line 22 of file Draw.h.

Referenced by DrawObject().

◆ is_visible

bool cloudViewer::visualization::DrawObject::is_visible

Definition at line 25 of file Draw.h.

Referenced by DrawObject().

◆ model

std::shared_ptr<rendering::TriangleMeshModel> cloudViewer::visualization::DrawObject::model

Definition at line 24 of file Draw.h.

Referenced by DrawObject().

◆ name

std::string cloudViewer::visualization::DrawObject::name

Definition at line 21 of file Draw.h.

Referenced by DrawObject().

◆ tgeometry

std::shared_ptr<t::geometry::Geometry> cloudViewer::visualization::DrawObject::tgeometry

Definition at line 23 of file Draw.h.

Referenced by DrawObject().


The documentation for this struct was generated from the following files: