Mask.h File Reference

declaration of classes to work with mask More...

#include <hugin_shared.h>
#include "hugin_utils/utils.h"
#include "hugin_math/hugin_math.h"

Include dependency graph for Mask.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  HuginBase
namespace  HuginBase::PTools
namespace  vigra_ext

Classes

class  HuginBase::MaskPolygon
 base class, which stores one mask polygon More...

Typedefs

typedef std::vector< FDiff2DVectorPolygon
 vector, which stores coordinates of one polygon
typedef std::vector< MaskPolygon > MaskPolygonVector

Functions

template<class SrcImageIterator, class SrcAccessor>
void applyMask (vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor > img, HuginBase::MaskPolygonVector masks)

Variables

const int maskOffset = 100
 polygon can exceed the image maximal maskOffset pixels in each direction bigger polygons will be clipped after loading


Detailed Description

declaration of classes to work with mask

Author:
Thomas Modes

Definition in file Mask.h.


Typedef Documentation

typedef std::vector<MaskPolygon> HuginBase::MaskPolygonVector
 

Definition at line 149 of file Mask.h.

Referenced by main(), HuginBase::SrcPanoImage::readEXIF(), and HuginBase::SrcPanoImage::resize().

typedef std::vector<FDiff2D> HuginBase::VectorPolygon
 

vector, which stores coordinates of one polygon

Definition at line 41 of file Mask.h.

Referenced by HuginBase::clip_onPlane(), HuginBase::MaskPolygon::clipPolygon(), HuginBase::MaskPolygon::getMaskPolygon(), HuginBase::MaskPolygon::subSample(), and HuginBase::MaskPolygon::transformPolygon().


Function Documentation

template<class SrcImageIterator, class SrcAccessor>
void applyMask vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor >  img,
HuginBase::MaskPolygonVector  masks
 

Definition at line 162 of file Mask.h.

References hugin_utils::FDiff2D.

Referenced by TextureManager::TextureInfo::DefineMaskTexture(), and HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::remapImage().


Variable Documentation

const int HuginBase::maskOffset = 100
 

polygon can exceed the image maximal maskOffset pixels in each direction bigger polygons will be clipped after loading

Definition at line 46 of file Mask.h.


Generated on Thu Apr 17 01:25:45 2014 for Hugintrunk by  doxygen 1.3.9.1