FLImaging 7.6.11.1
FLImaging::Base::TRange4< T > Class Template Reference

Simplified class representing a 4D range. More...

#include <TRange4.h>

Public Member Functions

 TRange4 ()
 Default constructor.
 TRange4 (const TRange4< T > &tr)
 Copy constructor.
 TRange4 (const TPoint4< T > &tpLB, const TPoint4< T > &tpUB)
 Constructs a 4D range using lower and upper bound points.
 TRange4 (T tLBX, T tLBY, T tLBZ, T tLBT, T tUBX, T tUBY, T tUBZ, T tUBT)
 Constructs a 4D range using lower and upper bound coordinates.
void Set (const TRange4< T > &tr)
 Sets the range from another TRange4 object.
void Set (const TPoint4< T > &tpLB, const TPoint4< T > &tpUB)
 Sets the range using lower and upper bound points.
void Set (T tLBX, T tLBY, T tLBZ, T tLBT, T tUBX, T tUBY, T tUBZ, T tUBT)
 Sets the range using lower and upper bound coordinates.

Public Attributes

TPoint4< T > tpPoints [2]
 Lower bound point and upper bound point of the range.

Detailed Description

template<typename T>
class FLImaging::Base::TRange4< T >

Simplified class representing a 4D range.

The default constructor does not initialize member variables for performance.

Constructor & Destructor Documentation

◆ TRange4() [1/3]

template<typename T>
FLImaging::Base::TRange4< T >::TRange4 ( const TRange4< T > & tr)
inline

Copy constructor.

Parameters
[in]trTRange4 object to copy.

◆ TRange4() [2/3]

template<typename T>
FLImaging::Base::TRange4< T >::TRange4 ( const TPoint4< T > & tpLB,
const TPoint4< T > & tpUB )
inline

Constructs a 4D range using lower and upper bound points.

Parameters
[in]tpLBLower bound point.
[in]tpUBUpper bound point.

◆ TRange4() [3/3]

template<typename T>
FLImaging::Base::TRange4< T >::TRange4 ( T tLBX,
T tLBY,
T tLBZ,
T tLBT,
T tUBX,
T tUBY,
T tUBZ,
T tUBT )
inline

Constructs a 4D range using lower and upper bound coordinates.

Parameters
[in]tLBXX coordinate of the lower bound.
[in]tLBYY coordinate of the lower bound.
[in]tLBZZ coordinate of the lower bound.
[in]tLBTT coordinate of the lower bound.
[in]tUBXX coordinate of the upper bound.
[in]tUBYY coordinate of the upper bound.
[in]tUBZZ coordinate of the upper bound.
[in]tUBTT coordinate of the upper bound.

Member Function Documentation

◆ Set() [1/3]

template<typename T>
void FLImaging::Base::TRange4< T >::Set ( const TPoint4< T > & tpLB,
const TPoint4< T > & tpUB )
inline

Sets the range using lower and upper bound points.

Parameters
[in]tpLBLower bound point.
[in]tpUBUpper bound point.

◆ Set() [2/3]

template<typename T>
void FLImaging::Base::TRange4< T >::Set ( const TRange4< T > & tr)
inline

Sets the range from another TRange4 object.

Parameters
[in]trSource range.

◆ Set() [3/3]

template<typename T>
void FLImaging::Base::TRange4< T >::Set ( T tLBX,
T tLBY,
T tLBZ,
T tLBT,
T tUBX,
T tUBY,
T tUBZ,
T tUBT )
inline

Sets the range using lower and upper bound coordinates.

Parameters
[in]tLBXX coordinate of the lower bound.
[in]tLBYY coordinate of the lower bound.
[in]tLBZZ coordinate of the lower bound.
[in]tLBTT coordinate of the lower bound.
[in]tUBXX coordinate of the upper bound.
[in]tUBYY coordinate of the upper bound.
[in]tUBZZ coordinate of the upper bound.
[in]tUBTT coordinate of the upper bound.