| OpenCV 3.4.1 Open Source Computer Vision

Public Types | Public Member Functions | Static Public Member Functions | List of all members
cv::Formatter Class Referenceabstract
Core functionality » Basic structures

`#include "core.hpp"`

## Public Types
enum | { FMT_DEFAULT = 0, FMT_MATLAB = 1, FMT_CSV = 2, FMT_PYTHON = 3, FMT_NUMPY = 4, FMT_C = 5 }

## Public Member Functions
virtual | ~Formatter ()
virtual Ptr< Formatted > | format (const Mat &mtx) const =0
virtual void | set32fPrecision (int p=8)=0
virtual void | set64fPrecision (int p=16)=0
virtual void | setMultiline (bool ml=true)=0

## Static Public Member Functions
static Ptr< Formatter > | get (int fmt=FMT_DEFAULT)

## Detailed Description

Todo:
  document

## Member Enumeration Documentation

## § anonymous enum

anonymous enum

Enumerator
FMT_DEFAULT |
FMT_MATLAB |
FMT_CSV |
FMT_PYTHON |
FMT_NUMPY |
FMT_C |

## Constructor & Destructor Documentation

## § ~Formatter()

virtual cv::Formatter::~Formatter | ( |  | ) |
| virtual

## Member Function Documentation

## § format()

virtual Ptr<Formatted> cv::Formatter::format | ( | const Mat & | mtx | ) | const
| pure virtual

## § get()

static Ptr<Formatter> cv::Formatter::get | ( | int | fmt = `FMT_DEFAULT` | ) |
| static

## § set32fPrecision()

virtual void cv::Formatter::set32fPrecision | ( | int | p = `8` | ) |
| pure virtual

## § set64fPrecision()

virtual void cv::Formatter::set64fPrecision | ( | int | p = `16` | ) |
| pure virtual

## § setMultiline()

virtual void cv::Formatter::setMultiline | ( | bool | ml = `true` | ) |
| pure virtual

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

- core/include/opencv2/core.hpp