OpenCV  4.1.0
Open Source Computer Vision
Namespaces | Functions | Variables
vizcore.hpp File Reference
#include <opencv2/viz/types.hpp>
#include <opencv2/viz/widgets.hpp>
#include <opencv2/viz/viz3d.hpp>

Namespaces

namespace  cv
 "black box" representation of the file storage associated with a file on disk.
 
namespace  cv::viz
 

Functions

void cv::viz::computeNormals (const Mesh &mesh, OutputArray normals)
 
Viz3d cv::viz::getWindowByName (const String &window_name)
 Retrieves a window by its name.
 
Viz3d cv::viz::imshow (const String &window_name, InputArray image, const Size &window_size=Size(-1,-1))
 Displays image in specified window.
 
bool cv::viz::isNan (float x)
 Checks float/double value for nan.
 
bool cv::viz::isNan (double x)
 Checks float/double value for nan.
 
template<typename _Tp , int cn>
bool cv::viz::isNan (const Vec< _Tp, cn > &v)
 Checks float/double value for nan.
 
template<typename _Tp >
bool cv::viz::isNan (const Point3_< _Tp > &p)
 Checks float/double value for nan.
 
Affine3d cv::viz::makeCameraPose (const Vec3d &position, const Vec3d &focal_point, const Vec3d &y_dir)
 Constructs camera pose from position, focal_point and up_vector (see gluLookAt() for more information).
 
Affine3d cv::viz::makeTransformToGlobal (const Vec3d &axis_x, const Vec3d &axis_y, const Vec3d &axis_z, const Vec3d &origin=Vec3d::all(0))
 Takes coordinate frame data and builds transform to global coordinate frame.
 
Mat cv::viz::readCloud (const String &file, OutputArray colors=noArray(), OutputArray normals=noArray())
 
*Reads mesh Only ply format is
supported now and no texture
load support *Mesh 
cv::viz::readMesh (const String &file)
 
*Read write poses and
trajectories *bool 
cv::viz::readPose (const String &file, Affine3d &pose, const String &tag="pose")
 
void cv::viz::readTrajectory (OutputArray traj, const String &files_format="pose%05d.xml", int start=0, int end=INT_MAX, const String &tag="pose")
 
*Read write clouds Supported
obj and 
cv::viz::stl (readonly)*/void writeCloud(const String &file
 
void cv::viz::unregisterAllWindows ()
 Unregisters all Viz windows from internal database. After it 'getWindowByName()' will create new windows instead of getting existing from the database.
 
void cv::viz::writePose (const String &file, const Affine3d &pose, const String &tag="pose")
 
void cv::viz::writeTrajectory (InputArray traj, const String &files_format="pose%05d.xml", int start=0, const String &tag="pose")
 

Variables

*Read write clouds Supported
obj and InputArray InputArray
InputArray bool 
cv::viz::binary = false)
 
*Read write clouds Supported
obj and InputArray 
cv::viz::cloud
 
*Read write clouds Supported
obj and InputArray InputArray 
cv::viz::colors = noArray()
 
*Read write clouds Supported cv::viz::formats
 
*Read write clouds Supported
obj and InputArray InputArray
InputArray 
cv::viz::normals = noArray()
 
*Read write clouds Supported cv::viz::xyz