Ocean
Ocean::InvalidCameraT< T > Class Template Reference

This class implements invalid camera profiles, e.g. More...

Public Member Functions

 InvalidCameraT (const std::string &reason)
 Creates an invalid camera. More...
 
const std::string & reason () const
 Returns the reason of this invalid camera. More...
 

Protected Attributes

std::string reason_
 The reason why no valid camera is available. More...
 

Detailed Description

template<typename T>
class Ocean::InvalidCameraT< T >

This class implements invalid camera profiles, e.g.

when no intrinsic information is available.

Template Parameters
TThe data type of a 'Scalar', 'float' or 'double'

Constructor & Destructor Documentation

◆ InvalidCameraT()

template<typename T >
Ocean::InvalidCameraT< T >::InvalidCameraT ( const std::string &  reason)
explicit

Creates an invalid camera.

Parameters
reasonThe reason why no valid camera is available, must be valid

Member Function Documentation

◆ reason()

template<typename T >
const std::string & Ocean::InvalidCameraT< T >::reason

Returns the reason of this invalid camera.

Returns
The reason

Field Documentation

◆ reason_

template<typename T >
std::string Ocean::InvalidCameraT< T >::reason_
protected

The reason why no valid camera is available.


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