Jetson Linux API Reference

32.7.1 Release
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 809 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

◆ AcRegion() [1/2]

Argus::AcRegion::AcRegion ( )
inline

Definition at line 812 of file Types.h.

◆ AcRegion() [2/2]

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

Definition at line 817 of file Types.h.

Member Function Documentation

◆ area()

uint32_t Argus::Rectangle< uint32_t >::area
inlineinherited

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

Definition at line 772 of file Types.h.

◆ bottom() [1/2]

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

Definition at line 762 of file Types.h.

◆ bottom() [2/2]

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

Definition at line 763 of file Types.h.

◆ height()

uint32_t Argus::Rectangle< uint32_t >::height
inlineinherited

Returns the height of the rectangle.

Definition at line 769 of file Types.h.

◆ left() [1/2]

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

Definition at line 756 of file Types.h.

◆ left() [2/2]

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

Definition at line 757 of file Types.h.

◆ operator!=()

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 500 of file Types.h.

◆ operator*()

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 550 of file Types.h.

◆ operator*=()

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 522 of file Types.h.

◆ operator+()

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 538 of file Types.h.

◆ operator+=()

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 506 of file Types.h.

◆ operator-()

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 544 of file Types.h.

◆ operator-=()

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 514 of file Types.h.

◆ operator/()

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 556 of file Types.h.

◆ operator/=()

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 530 of file Types.h.

◆ operator==()

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 494 of file Types.h.

◆ operator[]() [1/2]

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

Definition at line 561 of file Types.h.

◆ operator[]() [2/2]

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

Definition at line 562 of file Types.h.

◆ right() [1/2]

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

Definition at line 760 of file Types.h.

◆ right() [2/2]

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

Definition at line 761 of file Types.h.

◆ top() [1/2]

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

Definition at line 758 of file Types.h.

◆ top() [2/2]

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

Definition at line 759 of file Types.h.

◆ tupleSize()

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

Returns the number of elements in the tuple.

Definition at line 565 of file Types.h.

◆ weight() [1/2]

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

Definition at line 822 of file Types.h.

References m_weight.

◆ weight() [2/2]

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

Definition at line 823 of file Types.h.

References m_weight.

◆ width()

uint32_t Argus::Rectangle< uint32_t >::width
inlineinherited

Returns the width of the rectangle.

Definition at line 766 of file Types.h.

Field Documentation

◆ m_data

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

Definition at line 568 of file Types.h.

◆ m_weight

float Argus::AcRegion::m_weight
protected

Definition at line 826 of file Types.h.

Referenced by weight().


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