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

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

#include <TRange3.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Simplified class representing a 3D range.

The default constructor does not initialize member variables for performance.

Constructor & Destructor Documentation

◆ TRange3() [1/3]

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

Copy constructor.

Parameters
[in]trTRange3 object to copy.

◆ TRange3() [2/3]

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

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

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

◆ TRange3() [3/3]

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

Constructs a 3D 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]tUBXX coordinate of the upper bound.
[in]tUBYY coordinate of the upper bound.
[in]tUBZZ coordinate of the upper bound.

Member Function Documentation

◆ Set() [1/3]

template<typename T>
void FLImaging::Base::TRange3< T >::Set ( const TPoint3< T > & tpLB,
const TPoint3< 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::TRange3< T >::Set ( const TRange3< T > & tr)
inline

Sets the range from another TRange3 object.

Parameters
[in]trSource range.

◆ Set() [3/3]

template<typename T>
void FLImaging::Base::TRange3< T >::Set ( T tLBX,
T tLBY,
T tLBZ,
T tUBX,
T tUBY,
T tUBZ )
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]tUBXX coordinate of the upper bound.
[in]tUBYY coordinate of the upper bound.
[in]tUBZZ coordinate of the upper bound.