Public Member Functions | Protected Member Functions | Protected Attributes
PointCloudVisualizationModel Class Reference

#include <PointCloudVisualizationModel.h>

Inheritance diagram for PointCloudVisualizationModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void draw (cv::Mat &img, const cv::Mat &cTo, const cv::Mat &A, const cv::Mat &K=cv::Mat()) const
 PointCloudVisualizationModel (const std::string &filename)
virtual ~PointCloudVisualizationModel ()

Protected Member Functions

void calculateDimensions ()
void convertPLY2Mat ()

Protected Attributes

float m_dimx
 Dimensions.
float m_dimy
float m_dimz
cv::Mat m_oP
std::vector
< DVision::PMVS::PLYFile::PLYPoint
m_plypoints
 Point cloud.

Detailed Description

Definition at line 43 of file PointCloudVisualizationModel.h.


Constructor & Destructor Documentation

Creates the visualization model

Parameters:
filenameply filename

Definition at line 49 of file PointCloudVisualizationModel.cpp.

Definition at line 53 of file PointCloudVisualizationModel.h.


Member Function Documentation

Calculates the dimensions of the object according to m_oP, and stores the result in m_dim#

Definition at line 80 of file PointCloudVisualizationModel.cpp.

Creates m_oP from m_plypoints

Definition at line 58 of file PointCloudVisualizationModel.cpp.

void PointCloudVisualizationModel::draw ( cv::Mat &  img,
const cv::Mat &  cTo,
const cv::Mat &  A,
const cv::Mat &  K = cv::Mat() 
) const [virtual]

Draws the model in the given image

Parameters:
imgtarget image
cTotransformation from (c)amera to (o)bject
Aintrinsic parameters of the camera that took image img
Kdistortion coefficient vector
See also:
VisualizationModel::draw

Implements VisualizationModel.

Definition at line 108 of file PointCloudVisualizationModel.cpp.


Member Data Documentation

Dimensions.

Definition at line 89 of file PointCloudVisualizationModel.h.

Definition at line 89 of file PointCloudVisualizationModel.h.

Definition at line 89 of file PointCloudVisualizationModel.h.

Point cloud in homogeneous coordinates: 4xN double matrix in the object reference

Definition at line 86 of file PointCloudVisualizationModel.h.

Point cloud.

Definition at line 82 of file PointCloudVisualizationModel.h.


The documentation for this class was generated from the following files:


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:17