Added bilateral filtering option. CloudViewer: lighting and edge visibility options.

This commit is contained in:
matlabbe
2016-11-03 17:04:31 -04:00
parent 70dbac10c7
commit a7971373a6
14 changed files with 593 additions and 28 deletions

View File

@@ -139,7 +139,7 @@ public:
const pcl::TextureMesh::Ptr & textureMesh,
const Transform & pose = Transform::getIdentity());
bool addOctomap(const OctoMap * octomap, unsigned int treeDepth = 0, bool showEdges = true, bool lightingOn = false);
bool addOctomap(const OctoMap * octomap, unsigned int treeDepth = 0);
void removeOctomap();
bool addTextureMesh (
@@ -241,6 +241,8 @@ public:
void setBackfaceCulling(bool enabled, bool frontfaceCulling);
void setRenderingRate(double rate);
void setLighting(bool on);
void setEdgeVisibility(bool visible);
double getRenderingRate() const;
void getCameraPosition(
@@ -312,6 +314,8 @@ private:
QAction * _aSetGridCellSize;
QAction * _aSetBackgroundColor;
QAction * _aSetRenderingRate;
QAction * _aSetLighting;
QAction * _aSetEdgeVisibility;
QMenu * _menu;
std::set<std::string> _graphes;
std::set<std::string> _coordinates;

View File

@@ -220,6 +220,9 @@ public:
bool isSourceDatabaseStampsUsed() const;
bool isSourceRGBDColorOnly() const;
QString getSourceDistortionModel() const;
bool isBilateralFiltering() const;
double getBilateralSigmaS() const;
double getBilateralSigmaR() const;
int getSourceImageDecimation() const;
bool isSourceStereoDepthGenerated() const;
bool isSourceScanFromDepth() const;