Jetson Linux API Reference

32.7.5 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 826 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 829 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 834 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 789 of file Types.h.

◆ bottom() [1/2]

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

Definition at line 779 of file Types.h.

◆ bottom() [2/2]

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

Definition at line 780 of file Types.h.

◆ height()

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

Returns the height of the rectangle.

Definition at line 786 of file Types.h.

◆ left() [1/2]

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

Definition at line 773 of file Types.h.

◆ left() [2/2]

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

Definition at line 774 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 517 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 567 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 539 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 555 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 523 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 561 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 531 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 573 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 547 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 511 of file Types.h.

◆ operator[]() [1/2]

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

Definition at line 578 of file Types.h.

◆ operator[]() [2/2]

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

Definition at line 579 of file Types.h.

◆ right() [1/2]

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

Definition at line 777 of file Types.h.

◆ right() [2/2]

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

Definition at line 778 of file Types.h.

◆ top() [1/2]

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

Definition at line 775 of file Types.h.

◆ top() [2/2]

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

Definition at line 776 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 582 of file Types.h.

◆ weight() [1/2]

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

Definition at line 839 of file Types.h.

References m_weight.

◆ weight() [2/2]

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

Definition at line 840 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 783 of file Types.h.

Field Documentation

◆ m_data

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

Definition at line 585 of file Types.h.

◆ m_weight

float Argus::AcRegion::m_weight
protected

Definition at line 843 of file Types.h.

Referenced by weight().


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