OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
otb::NeatRegionLogger Struct Reference

#include <otbLogHelpers.h>

Public Types

using RegionType = itk::ImageRegion< 2u >
 

Public Member Functions

 NeatRegionLogger (RegionType const &region)
 

Public Attributes

RegionType const & m_region
 

Friends

std::ostream & operator<< (std::ostream &os, NeatRegionLogger const &r)
 

Detailed Description

Helper class to log region in a more human readable way: e.g.

x ∈ [0..42[, y ∈ [12..24[, size=42x12 @(0, 12)
Author
Luc Hermitte (CS Group)

Definition at line 39 of file otbLogHelpers.h.

Member Typedef Documentation

◆ RegionType

using otb::NeatRegionLogger::RegionType = itk::ImageRegion<2u>

Definition at line 41 of file otbLogHelpers.h.

Constructor & Destructor Documentation

◆ NeatRegionLogger()

otb::NeatRegionLogger::NeatRegionLogger ( RegionType const &  region)
inline

Definition at line 42 of file otbLogHelpers.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
NeatRegionLogger const &  r 
)
friend

Definition at line 44 of file otbLogHelpers.h.

Member Data Documentation

◆ m_region

RegionType const& otb::NeatRegionLogger::m_region

Definition at line 59 of file otbLogHelpers.h.


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