OTB  9.0.0
Orfeo Toolbox
Static Public Member Functions | List of all members
lp::ContourOperations Class Reference

#include <lpContour.h>

Static Public Member Functions

static CellIndex BBoxToGrid (const CellIndex bboxId, const BoundingBox &bbox, const std::vcl_size_t gridSizeX)
 
static void CreateNewContour (Contour &newContour, const CellIndex startCellId, CellLists &setCells, const std::vcl_size_t bboxWidth, const std::vcl_size_t bboxHeight)
 
static void EIGHTNeighborhood (long int *neighborhood, const CellIndex id, const std::vcl_size_t width, const std::vcl_size_t height)
 
static void GenerateBorderCells (CellLists &borderCells, const Contour &contour, const CellIndex startCellId, const std::vcl_size_t gridSizeX)
 
static void GenerateBorderCellsForContourFusion (CellLists &borderCells, const Contour &contour, const CellIndex startCellId, const std::vcl_size_t gridSizeX, const BoundingBox &mergedBBox)
 
static short GetMove10 (const Move &m)
 
static Move GetMove2 (ContourIndex idx, const Contour &contour)
 
static CellIndex GridToBBox (const CellIndex gridId, const BoundingBox &bbox, const std::vcl_size_t gridSizeX)
 
static BoundingBox MergeBoundingBoxes (const BoundingBox &bb1, const BoundingBox &bb2)
 
static void MergeContour (Contour &mergedContour, BoundingBox &mergedBoundingBox, Contour &contour1, Contour &contour2, BoundingBox &bbox1, BoundingBox &bbox2, const CellIndex cid1, const CellIndex cid2, const std::vcl_size_t gridSizeX)
 
static void Push0 (Contour &contour)
 
static void Push1 (Contour &contour)
 
static void Push2 (Contour &contour)
 
static void Push3 (Contour &contour)
 

Detailed Description

Definition at line 55 of file lpContour.h.

Member Function Documentation

◆ BBoxToGrid()

static CellIndex lp::ContourOperations::BBoxToGrid ( const CellIndex  bboxId,
const BoundingBox bbox,
const std::vcl_size_t  gridSizeX 
)
static

◆ CreateNewContour()

static void lp::ContourOperations::CreateNewContour ( Contour newContour,
const CellIndex  startCellId,
CellLists setCells,
const std::vcl_size_t  bboxWidth,
const std::vcl_size_t  bboxHeight 
)
static

◆ EIGHTNeighborhood()

static void lp::ContourOperations::EIGHTNeighborhood ( long int *  neighborhood,
const CellIndex  id,
const std::vcl_size_t  width,
const std::vcl_size_t  height 
)
static

◆ GenerateBorderCells()

static void lp::ContourOperations::GenerateBorderCells ( CellLists borderCells,
const Contour contour,
const CellIndex  startCellId,
const std::vcl_size_t  gridSizeX 
)
static

◆ GenerateBorderCellsForContourFusion()

static void lp::ContourOperations::GenerateBorderCellsForContourFusion ( CellLists borderCells,
const Contour contour,
const CellIndex  startCellId,
const std::vcl_size_t  gridSizeX,
const BoundingBox mergedBBox 
)
static

◆ GetMove10()

static short lp::ContourOperations::GetMove10 ( const Move m)
static

◆ GetMove2()

static Move lp::ContourOperations::GetMove2 ( ContourIndex  idx,
const Contour contour 
)
static

◆ GridToBBox()

static CellIndex lp::ContourOperations::GridToBBox ( const CellIndex  gridId,
const BoundingBox bbox,
const std::vcl_size_t  gridSizeX 
)
static

◆ MergeBoundingBoxes()

static BoundingBox lp::ContourOperations::MergeBoundingBoxes ( const BoundingBox bb1,
const BoundingBox bb2 
)
static

◆ MergeContour()

static void lp::ContourOperations::MergeContour ( Contour mergedContour,
BoundingBox mergedBoundingBox,
Contour contour1,
Contour contour2,
BoundingBox bbox1,
BoundingBox bbox2,
const CellIndex  cid1,
const CellIndex  cid2,
const std::vcl_size_t  gridSizeX 
)
static

◆ Push0()

static void lp::ContourOperations::Push0 ( Contour contour)
static

◆ Push1()

static void lp::ContourOperations::Push1 ( Contour contour)
static

◆ Push2()

static void lp::ContourOperations::Push2 ( Contour contour)
static

◆ Push3()

static void lp::ContourOperations::Push3 ( Contour contour)
static

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