|
Grok 15.1.0
|
#include <geometry.h>
Public Member Functions | |
| grk_rect (T origin_x0, T origin_y0, T x0, T y0, T x1, T y1) | |
| grk_rect (T x0, T y0, T x1, T y1) | |
| grk_rect (const grk_rect &rhs) | |
| grk_rect (const grk_rect *rhs) | |
| grk_rect (void) | |
| virtual | ~grk_rect ()=default |
| grk_rect< T > & | setOrigin (T origx, T origy, bool absolute) |
| grk_rect< T > & | setOrigin (grk_rect< T > &rhs, bool absolute) |
| grk_rect< T > & | setOrigin (grk_rect< T > *rhs, bool absolute) |
| grk_rect< T > & | toRelative (void) |
| grk_rect< T > & | toAbsolute (void) |
| virtual void | print (void) const |
| std::string | boundsString () const |
| bool | valid (void) const |
| bool | empty (void) const |
| bool | contains (grk_pt< T > pt) |
| bool | contains (T x, T y) |
| grk_rect< T > & | operator= (const grk_rect< T > &rhs) |
| grk_rect< T > & | operator= (const grk_rect< T > *rhs) |
| bool | operator== (const grk_rect< T > &rhs) const |
| void | setRect (grk_rect< T > *rhs) |
| void | setRect (grk_rect< T > rhs) |
| grk_rect< T > | scaleDownCeil (uint32_t den) const |
| grk_rect< T > | scale (uint32_t scalex, uint32_t scaley) const |
| grk_rect< T > | scaleDown (uint64_t denx, uint64_t deny) const |
| grk_rect< T > | scaleDownPow2 (uint32_t powx, uint32_t powy) const |
| grk_rect< T > | scaleDownPow2 (grk_pt< T > pow) const |
| grk_rect< T > | scaleDownCeil (uint64_t denx, uint64_t deny) const |
| grk_rect< T > | scaleDownCeilPow2 (uint32_t power) const |
| grk_rect< T > | scaleDownCeilPow2 (uint32_t powx, uint32_t powy) const |
| grk_rect< T > | intersection (const grk_rect< T > rhs) const |
| bool | isContainedIn (const grk_rect< T > rhs) const |
| grk_rect< T > | clip (const grk_rect< T > *rhs) const |
| grk_rect< T > | clip (const grk_rect< T > &rhs) const |
| grk_rect< T > & | clip_IN_PLACE (const grk_rect< T > &rhs) |
| grk_rect< T > | intersection (const grk_rect< T > *rhs) const |
| bool | nonEmptyIntersection (const grk_rect< T > *rhs) const |
| grk_rect< T > | rectUnion (const grk_rect< T > *rhs) const |
| grk_rect< T > | rectUnion (const grk_rect< T > &rhs) const |
| uint64_t | area (void) const |
| T | width () const |
| T | height () const |
| grk_line< T > | dimX () const |
| grk_line< T > | dimY () const |
| grk_rect< T > | pan (int64_t x, int64_t y) const |
| grk_rect< T > & | pan_IN_PLACE (int64_t x, int64_t y) |
| grk_rect< T > & | grow_IN_PLACE (T boundary) |
| grk_rect< T > & | grow_IN_PLACE (T boundaryx, T boundaryy) |
| grk_rect< T > & | grow_IN_PLACE (T boundary, T maxX, T maxY) |
| grk_rect< T > & | grow_IN_PLACE (T boundaryx, T boundaryy, T maxX, T maxY) |
| grk_rect< T > & | grow_IN_PLACE (T boundary, grk_rect< T > bounds) |
| grk_rect< T > & | grow_IN_PLACE (T boundaryx, T boundaryy, grk_rect< T > bounds) |
| T | parityX (void) const |
| T | parityY (void) const |
Public Attributes | |
| bool | absoluteCoordinates |
| T | origin_x0 |
| T | origin_y0 |
| T | x0 |
| T | y0 |
| T | x1 |
| T | y1 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by grk::grk_rect< uint32_t >::clip(), grk::grk_rect< uint32_t >::clip_IN_PLACE(), grk::grk_rect< uint32_t >::intersection(), grk::grk_rect< uint32_t >::rectUnion(), grk::grk_rect< uint32_t >::scale(), grk::grk_rect< uint32_t >::scaleDown(), grk::grk_rect< uint32_t >::scaleDownCeil(), grk::grk_rect< uint32_t >::scaleDownCeil(), grk::grk_rect< uint32_t >::scaleDownCeilPow2(), grk::grk_rect< uint32_t >::scaleDownCeilPow2(), and grk::grk_rect< uint32_t >::scaleDownPow2().
|
virtualdefault |
|
inline |
Referenced by grk::compress_synch_with_plugin().
|
inline |
|
inline |
|
inline |
Referenced by grk::grk_rect< uint32_t >::clip().
|
inline |
Referenced by grk::ResWindow< T >::getPaddedBandWindow(), and grk::ResPrecinctInfo::init().
|
inline |
Referenced by grk::grk_rect< uint32_t >::contains().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by grk::TileSet::init(), and grk::TileSet::schedule().
|
inline |
Referenced by grk::TileComponent::allocRegionWindow(), grk::ResWindow< T >::getPaddedBandWindow(), grk::grk_rect< uint32_t >::grow_IN_PLACE(), grk::grk_rect< uint32_t >::grow_IN_PLACE(), grk::grk_rect< uint32_t >::grow_IN_PLACE(), grk::grk_rect< uint32_t >::grow_IN_PLACE(), grk::grk_rect< uint32_t >::grow_IN_PLACE(), and grk::ResPrecinctInfo::init().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by grk::grk_rect< uint32_t >::operator=().
|
inline |
|
inline |
|
inline |
Referenced by grk::GrkImage::generateCompositeBounds().
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in grk::Resolution, and grk::Subband.
|
inline |
|
inline |
Referenced by grk::TileComponent::allocRegionWindow(), and grk::grk_rect< uint32_t >::rectUnion().
|
inline |
|
inline |
|
inline |
Referenced by grk::PacketManager::getParams(), and grk::ResPrecinctInfo::init().
|
inline |
|
inline |
Referenced by grk::TileComponentWindowBase< T >::TileComponentWindowBase().
|
inline |
|
inline |
|
inline |
Referenced by grk::grk_rect< uint32_t >::scaleDownPow2().
|
inline |
|
inline |
|
inline |
Referenced by grk::ResWindow< T >::getPaddedBandWindow(), and grk::grk_rect< uint32_t >::setOrigin().
|
inline |
Referenced by grk::grk_rect< uint32_t >::setRect().
|
inline |
|
inline |
Referenced by grk::ResWindow< T >::genSplitWindowBuffers().
|
inline |
Referenced by grk::ResWindow< T >::genSplitWindowBuffers().
|
inline |
Referenced by grk::SparseCanvas< LBW, LBH >::readWrite().
|
inline |
| bool grk::grk_rect< T >::absoluteCoordinates |
Referenced by grk::grk_rect< uint32_t >::clip(), grk::grk_rect< uint32_t >::clip_IN_PLACE(), grk::grk_rect< uint32_t >::grk_rect(), grk::grk_rect< uint32_t >::intersection(), grk::grk_rect< uint32_t >::intersection(), grk::grk_rect< uint32_t >::nonEmptyIntersection(), grk::grk_rect< uint32_t >::operator=(), grk::grk_rect< uint32_t >::operator==(), and grk::grk_rect< uint32_t >::rectUnion().
| T grk::grk_rect< T >::origin_x0 |
| T grk::grk_rect< T >::origin_y0 |
| T grk::grk_rect< T >::x0 |
Referenced by grk::SparseCanvas< LBW, LBH >::alloc(), grk::TileComponent::canCreateWindow(), grk::grk_rect< uint32_t >::clip(), grk::grk_rect< uint32_t >::clip_IN_PLACE(), grk::GrkImage::compositeInterleaved(), grk::GrkImage::compositeInterleaved(), grk::GrkImage::compositePlanar(), grk::compress_synch_with_plugin(), grk::grk_buf2d< T, AllocatorAligned >::copyFrom(), grk::GrkImage::duplicate(), grk::TileProcessor::encodeT2(), grk::ResWindow< T >::genSplitWindowBuffers(), grk::ResSimple::getBandWindow(), grk::CodingParams::getTileBounds(), grk::grk_rect< uint32_t >::grk_rect(), grk::grk_rect< uint32_t >::grow_IN_PLACE(), grk::PacketIter::init(), grk::TileComponent::init(), grk::grk_rect< uint32_t >::intersection(), grk::grk_buf2d< T, AllocatorAligned >::isWindowValid(), grk::SparseCanvas< LBW, LBH >::isWindowValid(), grk::grk_rect< uint32_t >::nonEmptyIntersection(), grk::grk_rect< uint32_t >::operator=(), grk::grk_rect< uint32_t >::operator==(), grk::PrecinctImpl::PrecinctImpl(), grk::SparseCanvas< LBW, LBH >::readWrite(), grk::grk_rect< uint32_t >::rectUnion(), grk::TileSet::schedule(), grk::CodeStreamDecompress::setDecompressRegion(), and grk::PacketManager::updateCompressTcpProgressions().
| T grk::grk_rect< T >::x1 |
Referenced by grk::SparseCanvas< LBW, LBH >::alloc(), grk::TileComponent::canCreateWindow(), grk::grk_rect< uint32_t >::clip(), grk::grk_rect< uint32_t >::clip_IN_PLACE(), grk::compress_synch_with_plugin(), grk::GrkImage::duplicate(), grk::ResWindow< T >::genSplitWindowBuffers(), grk::ResSimple::getBandWindow(), grk::CodingParams::getTileBounds(), grk::grk_rect< uint32_t >::grk_rect(), grk::grk_rect< uint32_t >::grow_IN_PLACE(), grk::PacketIter::init(), grk::TileComponent::init(), grk::grk_rect< uint32_t >::intersection(), grk::grk_buf2d< T, AllocatorAligned >::isWindowValid(), grk::SparseCanvas< LBW, LBH >::isWindowValid(), grk::grk_rect< uint32_t >::nonEmptyIntersection(), grk::grk_rect< uint32_t >::operator=(), grk::grk_rect< uint32_t >::operator==(), grk::PrecinctImpl::PrecinctImpl(), grk::SparseCanvas< LBW, LBH >::readWrite(), grk::grk_rect< uint32_t >::rectUnion(), grk::TileSet::schedule(), grk::CodeStreamDecompress::setDecompressRegion(), and grk::PacketManager::updateCompressTcpProgressions().
| T grk::grk_rect< T >::y0 |
Referenced by grk::SparseCanvas< LBW, LBH >::alloc(), grk::TileComponent::canCreateWindow(), grk::grk_rect< uint32_t >::clip(), grk::grk_rect< uint32_t >::clip_IN_PLACE(), grk::GrkImage::compositeInterleaved(), grk::GrkImage::compositeInterleaved(), grk::GrkImage::compositePlanar(), grk::compress_synch_with_plugin(), grk::grk_buf2d< T, AllocatorAligned >::copyFrom(), grk::GrkImage::duplicate(), grk::ResWindow< T >::genSplitWindowBuffers(), grk::ResSimple::getBandWindow(), grk::CodingParams::getTileBounds(), grk::grk_rect< uint32_t >::grk_rect(), grk::grk_rect< uint32_t >::grow_IN_PLACE(), grk::PacketIter::init(), grk::TileComponent::init(), grk::grk_rect< uint32_t >::intersection(), grk::grk_buf2d< T, AllocatorAligned >::isWindowValid(), grk::SparseCanvas< LBW, LBH >::isWindowValid(), grk::grk_rect< uint32_t >::nonEmptyIntersection(), grk::grk_rect< uint32_t >::operator=(), grk::grk_rect< uint32_t >::operator==(), grk::PrecinctImpl::PrecinctImpl(), grk::SparseCanvas< LBW, LBH >::readWrite(), grk::grk_rect< uint32_t >::rectUnion(), grk::ResWindow< T >::ResWindow(), grk::TileSet::schedule(), grk::CodeStreamDecompress::setDecompressRegion(), and grk::PacketManager::updateCompressTcpProgressions().
| T grk::grk_rect< T >::y1 |
Referenced by grk::SparseCanvas< LBW, LBH >::alloc(), grk::TileComponent::canCreateWindow(), grk::grk_rect< uint32_t >::clip(), grk::grk_rect< uint32_t >::clip_IN_PLACE(), grk::compress_synch_with_plugin(), grk::GrkImage::duplicate(), grk::ResWindow< T >::genSplitWindowBuffers(), grk::ResSimple::getBandWindow(), grk::CodingParams::getTileBounds(), grk::grk_rect< uint32_t >::grk_rect(), grk::grk_rect< uint32_t >::grow_IN_PLACE(), grk::PacketIter::init(), grk::TileComponent::init(), grk::grk_rect< uint32_t >::intersection(), grk::grk_buf2d< T, AllocatorAligned >::isWindowValid(), grk::SparseCanvas< LBW, LBH >::isWindowValid(), grk::grk_rect< uint32_t >::nonEmptyIntersection(), grk::grk_rect< uint32_t >::operator=(), grk::grk_rect< uint32_t >::operator==(), grk::PrecinctImpl::PrecinctImpl(), grk::SparseCanvas< LBW, LBH >::readWrite(), grk::grk_rect< uint32_t >::rectUnion(), grk::ResWindow< T >::ResWindow(), grk::TileSet::schedule(), grk::CodeStreamDecompress::setDecompressRegion(), and grk::PacketManager::updateCompressTcpProgressions().