L4T Multimedia API Reference

31.1 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Argus::AcRegion Class Reference

Detailed Description

Defines an autocontrol region of interest (in pixel space).

This region consists of a rectangle (inherited from the Rectangle<uint32_t> Tuple) and a floating point weight value.

Definition at line 739 of file Types.h.

Inheritance diagram for Argus::AcRegion:
Collaboration diagram for Argus::AcRegion:

Public Member Functions

 AcRegion ()
 
 AcRegion (uint32_t _left, uint32_t _top, uint32_t _right, uint32_t _bottom, float _weight)
 
float & weight ()
 
const float & weight () const
 
uint32_t & left ()
 
const uint32_t & left () const
 
uint32_t & top ()
 
const uint32_t & top () const
 
uint32_t & right ()
 
const uint32_t & right () const
 
uint32_t & bottom ()
 
const uint32_t & bottom () const
 
uint32_t width () const
 Returns the width of the rectangle. More...
 
uint32_t height () const
 Returns the height of the rectangle. More...
 
uint32_t area () const
 Returns the area of the rectangle (width * height). More...
 
bool operator== (const Tuple< N, uint32_t > &rhs) const
 Returns true when every element in the two tuples are identical. More...
 
bool operator!= (const Tuple< N, uint32_t > &rhs) const
 Returns true if there are any differences between the two tuples. More...
 
Tuple< N, uint32_t > & operator+= (const Tuple< N, uint32_t > &rhs)
 Adds every element of another tuple to the elements of this tuple. More...
 
Tuple< N, uint32_t > & operator-= (const Tuple< N, uint32_t > &rhs)
 Subtracts every element of another tuple from the elements of this tuple. More...
 
Tuple< N, uint32_t > & operator*= (const uint32_t &rhs)
 Multiplies every element in the tuple by a single value. More...
 
Tuple< N, uint32_t > & operator/= (const uint32_t &rhs)
 Divides every element in the tuple by a single value. More...
 
const Tuple< N, uint32_t > operator+ (const Tuple< N, uint32_t > &rhs) const
 Returns the result of adding another tuple to this tuple. More...
 
const Tuple< N, uint32_t > operator- (const Tuple< N, uint32_t > &rhs) const
 Returns the result of subtracting another tuple from this tuple. More...
 
const Tuple< N, uint32_t > operator* (const uint32_t &rhs) const
 Returns the result of multiplying this tuple by a single value. More...
 
const Tuple< N, uint32_t > operator/ (const uint32_t &rhs) const
 Returns the result of dividing this tuple by a single value. More...
 
uint32_t & operator[] (unsigned int i)
 
const uint32_t & operator[] (unsigned int i) const
 

Static Public Member Functions

static unsigned int tupleSize ()
 Returns the number of elements in the tuple. More...
 

Protected Attributes

float m_weight
 
uint32_t m_data [N]
 

Constructor & Destructor Documentation

Argus::AcRegion::AcRegion ( )
inline

Definition at line 742 of file Types.h.

Argus::AcRegion::AcRegion ( uint32_t  _left,
uint32_t  _top,
uint32_t  _right,
uint32_t  _bottom,
float  _weight 
)
inline

Definition at line 747 of file Types.h.

Member Function Documentation

uint32_t Argus::Rectangle< uint32_t >::area ( ) const
inlineinherited

Returns the area of the rectangle (width * height).

Definition at line 702 of file Types.h.

References Argus::Rectangle< T >::height(), and Argus::Rectangle< T >::width().

uint32_t & Argus::Rectangle< uint32_t >::bottom ( )
inlineinherited

Definition at line 692 of file Types.h.

const uint32_t & Argus::Rectangle< uint32_t >::bottom ( ) const
inlineinherited

Definition at line 693 of file Types.h.

uint32_t Argus::Rectangle< uint32_t >::height ( ) const
inlineinherited

Returns the height of the rectangle.

Definition at line 699 of file Types.h.

References Argus::Rectangle< T >::bottom(), and Argus::Rectangle< T >::top().

uint32_t & Argus::Rectangle< uint32_t >::left ( )
inlineinherited

Definition at line 686 of file Types.h.

const uint32_t & Argus::Rectangle< uint32_t >::left ( ) const
inlineinherited

Definition at line 687 of file Types.h.

bool Argus::Tuple< N, uint32_t >::operator!= ( const Tuple< N, uint32_t > &  rhs) const
inlineinherited

Returns true if there are any differences between the two tuples.

Definition at line 463 of file Types.h.

const Tuple<N, uint32_t > Argus::Tuple< N, uint32_t >::operator* ( const uint32_t &  rhs) const
inlineinherited

Returns the result of multiplying this tuple by a single value.

Definition at line 513 of file Types.h.

Tuple<N, uint32_t >& Argus::Tuple< N, uint32_t >::operator*= ( const uint32_t &  rhs)
inlineinherited

Multiplies every element in the tuple by a single value.

Definition at line 485 of file Types.h.

const Tuple<N, uint32_t > Argus::Tuple< N, uint32_t >::operator+ ( const Tuple< N, uint32_t > &  rhs) const
inlineinherited

Returns the result of adding another tuple to this tuple.

Definition at line 501 of file Types.h.

Tuple<N, uint32_t >& Argus::Tuple< N, uint32_t >::operator+= ( const Tuple< N, uint32_t > &  rhs)
inlineinherited

Adds every element of another tuple to the elements of this tuple.

Definition at line 469 of file Types.h.

const Tuple<N, uint32_t > Argus::Tuple< N, uint32_t >::operator- ( const Tuple< N, uint32_t > &  rhs) const
inlineinherited

Returns the result of subtracting another tuple from this tuple.

Definition at line 507 of file Types.h.

Tuple<N, uint32_t >& Argus::Tuple< N, uint32_t >::operator-= ( const Tuple< N, uint32_t > &  rhs)
inlineinherited

Subtracts every element of another tuple from the elements of this tuple.

Definition at line 477 of file Types.h.

const Tuple<N, uint32_t > Argus::Tuple< N, uint32_t >::operator/ ( const uint32_t &  rhs) const
inlineinherited

Returns the result of dividing this tuple by a single value.

Definition at line 519 of file Types.h.

Tuple<N, uint32_t >& Argus::Tuple< N, uint32_t >::operator/= ( const uint32_t &  rhs)
inlineinherited

Divides every element in the tuple by a single value.

Definition at line 493 of file Types.h.

bool Argus::Tuple< N, uint32_t >::operator== ( const Tuple< N, uint32_t > &  rhs) const
inlineinherited

Returns true when every element in the two tuples are identical.

Definition at line 457 of file Types.h.

uint32_t & Argus::Tuple< N, uint32_t >::operator[] ( unsigned int  i)
inlineinherited

Definition at line 524 of file Types.h.

const uint32_t & Argus::Tuple< N, uint32_t >::operator[] ( unsigned int  i) const
inlineinherited

Definition at line 525 of file Types.h.

uint32_t & Argus::Rectangle< uint32_t >::right ( )
inlineinherited

Definition at line 690 of file Types.h.

const uint32_t & Argus::Rectangle< uint32_t >::right ( ) const
inlineinherited

Definition at line 691 of file Types.h.

uint32_t & Argus::Rectangle< uint32_t >::top ( )
inlineinherited

Definition at line 688 of file Types.h.

const uint32_t & Argus::Rectangle< uint32_t >::top ( ) const
inlineinherited

Definition at line 689 of file Types.h.

static unsigned int Argus::Tuple< N, uint32_t >::tupleSize ( )
inlinestaticinherited

Returns the number of elements in the tuple.

Definition at line 528 of file Types.h.

float& Argus::AcRegion::weight ( )
inline

Definition at line 752 of file Types.h.

References m_weight.

const float& Argus::AcRegion::weight ( ) const
inline

Definition at line 753 of file Types.h.

References m_weight.

uint32_t Argus::Rectangle< uint32_t >::width ( ) const
inlineinherited

Returns the width of the rectangle.

Definition at line 696 of file Types.h.

References Argus::Rectangle< T >::left(), and Argus::Rectangle< T >::right().

Field Documentation

uint32_t Argus::Tuple< N, uint32_t >::m_data[N]
protectedinherited

Definition at line 531 of file Types.h.

float Argus::AcRegion::m_weight
protected

Definition at line 756 of file Types.h.

Referenced by weight().


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