#include <point_cloud_drawable.h>
|
const pcl::PointXYZ & | aabbMaxModel () const |
|
const pcl::PointXYZ & | aabbMaxWorld () const |
|
const pcl::PointXYZ & | aabbMinModel () const |
|
const pcl::PointXYZ & | aabbMinWorld () const |
|
float | getMinHeight () const |
|
rtabmap::Transform | getPose () const |
|
const glm::mat4 & | getPoseGl () const |
|
bool | hasMesh () const |
|
bool | hasTexture () const |
|
bool | isVisible () const |
|
| PointCloudDrawable (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &cloud, const pcl::IndicesPtr &indices, float gainR=1.0f, float gainG=1.0f, float gainB=1.0f) |
|
| PointCloudDrawable (const rtabmap::Mesh &mesh, bool createWireframe=false) |
|
void | Render (const glm::mat4 &projectionMatrix, const glm::mat4 &viewMatrix, bool meshRendering=true, float pointSize=3.0f, bool textureRendering=false, bool lighting=true, float distanceToCamSqr=0.0f, const GLuint &depthTexture=0, int screenWidth=0, int screenHeight=0, float nearClipPlane=0, float farClipPlane=0, bool packDepthToColorChannel=false, bool wireFrame=false) const |
|
void | setGains (float gainR, float gainG, float gainB) |
|
void | setPose (const rtabmap::Transform &pose) |
|
void | setVisible (bool visible) |
|
void | updateCloud (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &cloud, const pcl::IndicesPtr &indices) |
|
void | updateMesh (const rtabmap::Mesh &mesh, bool createWireframe=false) |
|
void | updatePolygons (const std::vector< pcl::Vertices > &polygons, const std::vector< pcl::Vertices > &polygonsLowRes=std::vector< pcl::Vertices >(), bool createWireframe=false) |
|
virtual | ~PointCloudDrawable () |
|
Definition at line 44 of file point_cloud_drawable.h.
◆ PointCloudDrawable() [1/2]
PointCloudDrawable::PointCloudDrawable |
( |
const pcl::PointCloud< pcl::PointXYZRGB >::Ptr & |
cloud, |
|
|
const pcl::IndicesPtr & |
indices, |
|
|
float |
gainR = 1.0f , |
|
|
float |
gainG = 1.0f , |
|
|
float |
gainB = 1.0f |
|
) |
| |
◆ PointCloudDrawable() [2/2]
PointCloudDrawable::PointCloudDrawable |
( |
const rtabmap::Mesh & |
mesh, |
|
|
bool |
createWireframe = false |
|
) |
| |
◆ ~PointCloudDrawable()
PointCloudDrawable::~PointCloudDrawable |
( |
| ) |
|
|
virtual |
◆ aabbMaxModel()
const pcl::PointXYZ& PointCloudDrawable::aabbMaxModel |
( |
| ) |
const |
|
inline |
◆ aabbMaxWorld()
const pcl::PointXYZ& PointCloudDrawable::aabbMaxWorld |
( |
| ) |
const |
|
inline |
◆ aabbMinModel()
const pcl::PointXYZ& PointCloudDrawable::aabbMinModel |
( |
| ) |
const |
|
inline |
◆ aabbMinWorld()
const pcl::PointXYZ& PointCloudDrawable::aabbMinWorld |
( |
| ) |
const |
|
inline |
◆ createShaderPrograms()
void PointCloudDrawable::createShaderPrograms |
( |
| ) |
|
|
static |
◆ getMinHeight()
float PointCloudDrawable::getMinHeight |
( |
| ) |
const |
|
inline |
◆ getPose()
◆ getPoseGl()
const glm::mat4& PointCloudDrawable::getPoseGl |
( |
| ) |
const |
|
inline |
◆ hasMesh()
bool PointCloudDrawable::hasMesh |
( |
| ) |
const |
|
inline |
◆ hasTexture()
bool PointCloudDrawable::hasTexture |
( |
| ) |
const |
|
inline |
◆ isVisible()
bool PointCloudDrawable::isVisible |
( |
| ) |
const |
|
inline |
◆ releaseShaderPrograms()
void PointCloudDrawable::releaseShaderPrograms |
( |
| ) |
|
|
static |
◆ Render()
void PointCloudDrawable::Render |
( |
const glm::mat4 & |
projectionMatrix, |
|
|
const glm::mat4 & |
viewMatrix, |
|
|
bool |
meshRendering = true , |
|
|
float |
pointSize = 3.0f , |
|
|
bool |
textureRendering = false , |
|
|
bool |
lighting = true , |
|
|
float |
distanceToCamSqr = 0.0f , |
|
|
const GLuint & |
depthTexture = 0 , |
|
|
int |
screenWidth = 0 , |
|
|
int |
screenHeight = 0 , |
|
|
float |
nearClipPlane = 0 , |
|
|
float |
farClipPlane = 0 , |
|
|
bool |
packDepthToColorChannel = false , |
|
|
bool |
wireFrame = false |
|
) |
| const |
◆ setGains()
void PointCloudDrawable::setGains |
( |
float |
gainR, |
|
|
float |
gainG, |
|
|
float |
gainB |
|
) |
| |
|
inline |
◆ setPose()
◆ setVisible()
void PointCloudDrawable::setVisible |
( |
bool |
visible | ) |
|
|
inline |
◆ updateAABBMinMax()
template<class PointT >
void PointCloudDrawable::updateAABBMinMax |
( |
const PointT & |
pt, |
|
|
pcl::PointXYZ & |
min, |
|
|
pcl::PointXYZ & |
max |
|
) |
| |
|
inlineprivate |
◆ updateAABBWorld()
◆ updateCloud()
void PointCloudDrawable::updateCloud |
( |
const pcl::PointCloud< pcl::PointXYZRGB >::Ptr & |
cloud, |
|
|
const pcl::IndicesPtr & |
indices |
|
) |
| |
◆ updateMesh()
void PointCloudDrawable::updateMesh |
( |
const rtabmap::Mesh & |
mesh, |
|
|
bool |
createWireframe = false |
|
) |
| |
◆ updatePolygons()
void PointCloudDrawable::updatePolygons |
( |
const std::vector< pcl::Vertices > & |
polygons, |
|
|
const std::vector< pcl::Vertices > & |
polygonsLowRes = std::vector<pcl::Vertices>() , |
|
|
bool |
createWireframe = false |
|
) |
| |
◆ aabbMaxModel_
pcl::PointXYZ PointCloudDrawable::aabbMaxModel_ |
|
private |
◆ aabbMaxWorld_
pcl::PointXYZ PointCloudDrawable::aabbMaxWorld_ |
|
private |
◆ aabbMinModel_
pcl::PointXYZ PointCloudDrawable::aabbMinModel_ |
|
private |
◆ aabbMinWorld_
pcl::PointXYZ PointCloudDrawable::aabbMinWorld_ |
|
private |
◆ gainB_
float PointCloudDrawable::gainB_ |
|
private |
◆ gainG_
float PointCloudDrawable::gainG_ |
|
private |
◆ gainR_
float PointCloudDrawable::gainR_ |
|
private |
◆ hasNormals_
bool PointCloudDrawable::hasNormals_ |
|
private |
◆ index_buffers_
std::vector<GLuint> PointCloudDrawable::index_buffers_ |
|
private |
◆ index_buffers_count_
std::vector<int> PointCloudDrawable::index_buffers_count_ |
|
private |
◆ minHeight_
float PointCloudDrawable::minHeight_ |
|
private |
◆ nPoints_
int PointCloudDrawable::nPoints_ |
|
private |
◆ organizedToDenseIndices_
std::vector<unsigned int> PointCloudDrawable::organizedToDenseIndices_ |
|
private |
◆ pose_
◆ poseGl_
◆ shaderPrograms_
std::vector< GLuint > PointCloudDrawable::shaderPrograms_ |
|
staticprivate |
◆ texture_
GLuint PointCloudDrawable::texture_ |
|
private |
◆ vertex_buffer_
GLuint PointCloudDrawable::vertex_buffer_ |
|
private |
◆ visible_
bool PointCloudDrawable::visible_ |
|
private |
The documentation for this class was generated from the following files: