/external/opencv3/modules/viz/test/ |
test_viz3d.cpp | 48 cv::Mat cloud = cv::viz::readCloud(get_dragon_ply_file_path()); 50 cv::viz::Viz3d viz("abc"); 51 viz.setBackgroundMeshLab(); 52 viz.showWidget("coo", cv::viz::WCoordinateSystem(1)); 53 viz.showWidget("cloud", cv::viz::WPaintedCloud(cloud)); 57 //cv::viz::readTrajectory(gt, "d:/Datasets/trajs/gt%05d.xml"); 58 //cv::viz::readTrajectory(es, "d:/Datasets/trajs/es%05d.xml") [all...] |
tests_simple.cpp | 46 using namespace cv::viz; 48 TEST(Viz, show_cloud_bluberry) 54 Viz3d viz("show_cloud_bluberry"); 55 viz.setBackgroundColor(Color::black()); 56 viz.showWidget("coosys", WCoordinateSystem()); 57 viz.showWidget("dragon", WCloud(dragon_cloud, Color::bluberry()), pose); 59 viz.showWidget("text2d", WText("Bluberry cloud", Point(20, 20), 20, Color::green())); 60 viz.spin(); 63 TEST(Viz, show_cloud_random_color) 72 Viz3d viz("show_cloud_random_color") [all...] |
test_tutorial2.cpp | 9 viz::Viz3d myWindow("Coordinate Frame"); 12 myWindow.showWidget("Coordinate Widget", viz::WCoordinateSystem()); 15 viz::WLine axis(Point3f(-1.0, -1.0, -1.0), Point3d(1.0, 1.0, 1.0)); 16 axis.setRenderingProperty(viz::LINE_WIDTH, 4.0); 20 viz::WCube cube_widget(Point3d(0.5, 0.5, 0.0), Point3d(0.0, 0.0, -0.5), true, viz::Color::blue()); 21 cube_widget.setRenderingProperty(viz::LINE_WIDTH, 4.0); 51 TEST(Viz, DISABLED_tutorial2_pose_of_widget)
|
test_tutorial3.cpp | 12 viz::Viz3d myWindow("Coordinate Frame"); 15 myWindow.showWidget("Coordinate Widget", viz::WCoordinateSystem()); 21 Affine3d camera_pose = viz::makeCameraPose(cam_origin, cam_focal_point, cam_y_dir); 25 Affine3d transform = viz::makeTransformToGlobal(Vec3d(0.0, -1.0, 0.0), Vec3d(-1.0, 0.0, 0.0), Vec3d(0.0, 0.0, -1.0), cam_origin); 28 Mat dragon_cloud = viz::readCloud(get_dragon_ply_file_path()); 29 viz::WCloud cloud_widget(dragon_cloud, viz::Color::green()); 37 myWindow.showWidget("CPW_FRUSTUM", viz::WCameraPosition(Vec2f(0.889484f, 0.523599f)), camera_pose); 39 myWindow.showWidget("CPW", viz::WCameraPosition(0.5), camera_pose); 52 TEST(Viz, tutorial3_global_view [all...] |
/external/opencv3/modules/viz/include/opencv2/ |
viz.hpp | 49 #include <opencv2/viz/types.hpp> 50 #include <opencv2/viz/widgets.hpp> 51 #include <opencv2/viz/viz3d.hpp> 52 #include <opencv2/viz/vizcore.hpp> 55 @defgroup viz 3D Visualizer 74 viz::WCloud cw(cloud, viz::Color::red()); 78 cw.setColor(viz::Color::yellow());
|
/external/opencv3/modules/viz/include/opencv2/viz/ |
types.hpp | 55 namespace viz namespace in namespace:cv 58 //! @addtogroup viz 258 //! @} viz 260 } /* namespace viz */ 266 /// cv::viz::Color 268 inline cv::viz::Color::Color() : Scalar(0, 0, 0) {} 269 inline cv::viz::Color::Color(double _gray) : Scalar(_gray, _gray, _gray) {} 270 inline cv::viz::Color::Color(double _blue, double _green, double _red) : Scalar(_blue, _green, _red) {} 271 inline cv::viz::Color::Color(const Scalar& color) : Scalar(color) {} 273 inline cv::viz::Color::operator cv::Vec3b() const { return cv::Vec3d(val); [all...] |
widget_accessor.hpp | 55 namespace viz namespace in namespace:cv 73 vtkActor * actor = vtkActor::SafeDownCast(viz::WidgetAccessor::getProp(widget));
|
viz3d.hpp | 50 //#error "Viz is in beta state now. Please define macro above to use it" 54 #include <opencv2/viz/types.hpp> 55 #include <opencv2/viz/widgets.hpp> 59 namespace viz namespace in namespace:cv 62 //! @addtogroup viz 70 typedef cv::viz::Color Color; 324 } /* namespace viz */
|
/external/opencv3/samples/cpp/tutorial_code/viz/ |
launching_viz.cpp | 7 #include <opencv2/viz.hpp> 35 viz::Viz3d myWindow("Viz Demo"); 44 viz::Viz3d sameWindow = viz::get("Viz Demo");
|
widget_pose.cpp | 7 #include <opencv2/viz.hpp> 37 viz::Viz3d myWindow("Coordinate Frame"); 40 myWindow.showWidget("Coordinate Widget", viz::WCoordinateSystem()); 43 viz::WLine axis(Point3f(-1.0f,-1.0f,-1.0f), Point3f(1.0f,1.0f,1.0f)); 44 axis.setRenderingProperty(viz::LINE_WIDTH, 4.0); 48 viz::WCube cube_widget(Point3f(0.5,0.5,0.0), Point3f(0.0,0.0,-0.5), true, viz::Color::blue()); 49 cube_widget.setRenderingProperty(viz::LINE_WIDTH, 4.0);
|
transformations.cpp | 7 #include <opencv2/viz.hpp> 68 viz::Viz3d myWindow("Coordinate Frame"); 71 myWindow.showWidget("Coordinate Widget", viz::WCoordinateSystem()); 77 Affine3f cam_pose = viz::makeCameraPose(cam_pos, cam_focal_point, cam_y_dir); 81 Affine3f transform = viz::makeTransformToGlobal(Vec3f(0.0f,-1.0f,0.0f), Vec3f(-1.0f,0.0f,0.0f), Vec3f(0.0f,0.0f,-1.0f), cam_pos); 85 viz::WCloud cloud_widget(bunny_cloud, viz::Color::green()); 95 viz::WCameraPosition cpw(0.5); // Coordinate axes 96 viz::WCameraPosition cpw_frustum(Vec2f(0.889484, 0.523599)); // Camera frustum
|
creating_widgets.cpp | 7 #include <opencv2/viz.hpp> 8 #include <opencv2/viz/widget_accessor.hpp> 42 class WTriangle : public viz::Widget3D 45 WTriangle(const Point3f &pt1, const Point3f &pt2, const Point3f &pt3, const viz::Color & color = viz::Color::white()); 52 WTriangle::WTriangle(const Point3f &pt1, const Point3f &pt2, const Point3f &pt3, const viz::Color & color) 87 viz::WidgetAccessor::setProp(*this, actor); 101 viz::Viz3d myWindow("Creating Widgets"); 104 WTriangle tw(Point3f(0.0,0.0,0.0), Point3f(1.0,1.0,1.0), Point3f(0.0,1.0,0.0), viz::Color::red());
|
/external/opencv3/modules/viz/src/ |
viz3d.cpp | 48 cv::viz::Viz3d::Viz3d(const String& window_name) : impl_(0) { create(window_name); } 50 cv::viz::Viz3d::Viz3d(const Viz3d& other) : impl_(other.impl_) 56 cv::viz::Viz3d& cv::viz::Viz3d::operator=(const Viz3d& other) 68 cv::viz::Viz3d::~Viz3d() { release(); } 70 void cv::viz::Viz3d::create(const String &window_name) 87 void cv::viz::Viz3d::release() 101 void cv::viz::Viz3d::spin() { impl_->spin(); } 102 void cv::viz::Viz3d::spinOnce(int time, bool force_redraw) { impl_->spinOnce(time, force_redraw); } 103 bool cv::viz::Viz3d::wasStopped() const { return impl_->wasStopped(); [all...] |
vizcore.cpp | 48 cv::Affine3d cv::viz::makeTransformToGlobal(const Vec3d& axis_x, const Vec3d& axis_y, const Vec3d& axis_z, const Vec3d& origin) 57 cv::Affine3d cv::viz::makeCameraPose(const Vec3d& position, const Vec3d& focal_point, const Vec3d& y_dir) 96 cv::viz::VizStorage cv::viz::VizStorage::init; 97 cv::viz::VizMap cv::viz::VizStorage::storage; 99 void cv::viz::VizMap::replace_clear() { type().swap(m); } 100 cv::viz::VizMap::~VizMap() { replace_clear(); } 102 cv::viz::VizStorage::VizStorage() 106 void cv::viz::VizStorage::unregisterAll() { storage.replace_clear(); 162 Viz3d viz = getWindowByName(window_name); local [all...] |
widget.cpp | 51 class cv::viz::Widget::Impl 58 cv::viz::Widget::Widget() : impl_( new Impl() ) { } 60 cv::viz::Widget::Widget(const Widget& other) : impl_( new Impl() ) 66 cv::viz::Widget& cv::viz::Widget::operator=(const Widget& other) 76 cv::viz::Widget::~Widget() 85 cv::viz::Widget cv::viz::Widget::fromPlyFile(const String &file_name) 106 void cv::viz::Widget::setRenderingProperty(int property, double value) 174 double cv::viz::Widget::getRenderingProperty(int property) cons [all...] |
vizimpl.cpp | 50 cv::viz::Viz3d::VizImpl::VizImpl(const String &name) : spin_once_state_(false), 69 exit_callback_->viz = this; 74 cv::viz::Viz3d::VizImpl::~VizImpl() { close(); } 77 void cv::viz::Viz3d::VizImpl::TimerCallback::Execute(vtkObject* caller, unsigned long event_id, void* cookie) 86 void cv::viz::Viz3d::VizImpl::ExitCallback::Execute(vtkObject*, unsigned long event_id, void*) 88 if (event_id == vtkCommand::ExitEvent && viz->interactor_) 90 viz->interactor_->TerminateApp(); 91 viz->interactor_ = 0; 97 bool cv::viz::Viz3d::VizImpl::wasStopped() const 104 void cv::viz::Viz3d::VizImpl::close( [all...] |
shapes.cpp | 50 cv::viz::WLine::WLine(const Point3d &pt1, const Point3d &pt2, const Color &color) 69 template<> cv::viz::WLine cv::viz::Widget::cast<cv::viz::WLine>() 78 cv::viz::WSphere::WSphere(const Point3d ¢er, double radius, int sphere_resolution, const Color &color) 100 template<> cv::viz::WSphere cv::viz::Widget::cast<cv::viz::WSphere>() 109 cv::viz::WPlane::WPlane(const Size2d& size, const Color &color) 130 cv::viz::WPlane::WPlane(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis, const Size2d& (…) 740 namespace cv { namespace viz { namespace namespace in namespace:cv [all...] |
types.cpp | 51 cv::viz::KeyboardEvent::KeyboardEvent(Action _action, const String& _symbol, unsigned char _code, int _modifiers) 54 cv::viz::MouseEvent::MouseEvent(const Type& _type, const MouseButton& _button, const Point& _pointer, int _modifiers) 58 /// cv::viz::Mesh3d 60 cv::viz::Mesh cv::viz::Mesh::load(const String& file) 95 cv::viz::Camera::Camera(double fx, double fy, double cx, double cy, const Size &window_size) 100 cv::viz::Camera::Camera(const Vec2d &fov, const Size &window_size) 111 cv::viz::Camera::Camera(const cv::Matx33d & K, const Size &window_size) 120 cv::viz::Camera::Camera(const Matx44d &proj, const Size &window_size) 146 void cv::viz::Camera::init(double fx, double fy, double cx, double cy, const Size &window_size [all...] |
/external/opencv3/modules/viz/src/vtk/ |
vtkXYZWriter.cpp | 47 namespace cv { namespace viz namespace in namespace:cv 52 cv::viz::vtkXYZWriter::vtkXYZWriter() 58 void cv::viz::vtkXYZWriter::WriteData() 102 int cv::viz::vtkXYZWriter::FillInputPortInformation(int, vtkInformation *info) 108 void cv::viz::vtkXYZWriter::PrintSelf(ostream& os, vtkIndent indent) 114 vtkPolyData* cv::viz::vtkXYZWriter::GetInput() 119 vtkPolyData* cv::viz::vtkXYZWriter::GetInput(int port)
|
vtkXYZReader.cpp | 47 namespace cv { namespace viz namespace in namespace:cv 53 cv::viz::vtkXYZReader::vtkXYZReader() 59 cv::viz::vtkXYZReader::~vtkXYZReader() 64 void cv::viz::vtkXYZReader::PrintSelf(ostream& os, vtkIndent indent) 70 int cv::viz::vtkXYZReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector)
|
vtkXYZReader.h | 52 namespace viz namespace in namespace:cv
|
vtkTrajectorySource.cpp | 47 namespace cv { namespace viz namespace in namespace:cv 52 cv::viz::vtkTrajectorySource::vtkTrajectorySource() { SetNumberOfInputPorts(0); } 53 cv::viz::vtkTrajectorySource::~vtkTrajectorySource() {} 55 void cv::viz::vtkTrajectorySource::SetTrajectory(InputArray _traj) 83 cv::Mat cv::viz::vtkTrajectorySource::ExtractPoints(InputArray _traj) 103 int cv::viz::vtkTrajectorySource::RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector)
|
vtkImageMatSource.cpp | 47 namespace cv { namespace viz namespace in namespace:cv 52 cv::viz::vtkImageMatSource::vtkImageMatSource() 58 int cv::viz::vtkImageMatSource::RequestInformation(vtkInformation *, vtkInformationVector**, vtkInformationVector *outputVector) 70 int cv::viz::vtkImageMatSource::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector *outputVector) 79 void cv::viz::vtkImageMatSource::SetImage(InputArray _image) 103 void cv::viz::vtkImageMatSource::copyGrayImage(const Mat &source, vtkSmartPointer<vtkImageData> output) 117 void cv::viz::vtkImageMatSource::copyRGBImage(const Mat &source, vtkSmartPointer<vtkImageData> output) 131 void cv::viz::vtkImageMatSource::copyRGBAImage(const Mat &source, vtkSmartPointer<vtkImageData> output)
|
vtkXYZWriter.h | 52 namespace viz namespace in namespace:cv
|
vtkCocoaInteractorFix.mm | 165 namespace cv { namespace viz 212 vtkCocoaServerFix * cv::viz::vtkCocoaRenderWindowFix::GetCocoaServer () 217 void cv::viz::vtkCocoaRenderWindowFix::SetCocoaServer (void* server) 222 void cv::viz::vtkCocoaRenderWindowInteractorFix::Start () 238 void cv::viz::vtkCocoaRenderWindowInteractorFix::TerminateApp () 248 vtkSmartPointer<vtkRenderWindowInteractor> cv::viz::vtkCocoaRenderWindowInteractorNew() 254 namespace cv { namespace viz 279 void cv::viz::vtkCocoaRenderWindowInteractorFix::Start () 295 void cv::viz::vtkCocoaRenderWindowInteractorFix::TerminateApp () 305 vtkSmartPointer<vtkRenderWindowInteractor> cv::viz::vtkCocoaRenderWindowInteractorNew( [all...] |