rendering properties in Widget and Viz3d
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
#include <opencv2/core.hpp>
|
||||
#include <opencv2/viz/types.hpp>
|
||||
#include <opencv2/viz/widgets.hpp>
|
||||
#include <boost/concept_check.hpp>
|
||||
|
||||
namespace cv
|
||||
{
|
||||
@@ -55,6 +54,9 @@ namespace cv
|
||||
|
||||
void registerKeyboardCallback(KeyboardCallback callback, void* cookie = 0);
|
||||
void registerMouseCallback(MouseCallback callback, void* cookie = 0);
|
||||
|
||||
void setRenderingProperty(int property, double value, const String &id);
|
||||
double getRenderingProperty(int property, const String &id);
|
||||
private:
|
||||
|
||||
struct VizImpl;
|
||||
|
@@ -16,10 +16,12 @@ namespace cv
|
||||
Widget();
|
||||
Widget(const Widget &other);
|
||||
Widget& operator =(const Widget &other);
|
||||
~Widget();
|
||||
|
||||
static Widget fromPlyFile(const String &file_name);
|
||||
|
||||
~Widget();
|
||||
|
||||
void setRenderingProperty(int property, double value);
|
||||
double getRenderingProperty(int property) const;
|
||||
|
||||
template<typename _W> _W cast();
|
||||
private:
|
||||
@@ -43,7 +45,6 @@ namespace cv
|
||||
Affine3f getPose() const;
|
||||
|
||||
void setColor(const Color &color);
|
||||
|
||||
private:
|
||||
struct MatrixConverter;
|
||||
|
||||
|
Reference in New Issue
Block a user