3D Forest
Software for analysis of Lidar data from forest environment.
Range< T > Class Template Reference

#include <Range.hpp>

Inherits std::array< T, 4 >.

Public Member Functions

 Range ()
 
 Range (T min, T max)
 
 Range (T min, T minValue, T maxValue, T max)
 
 ~Range ()
 
void setEnabled (bool enabled)
 
bool isEnabled () const
 
bool empty () const
 
bool full () const
 
void setMinimum (T v)
 
void setMaximum (T v)
 
minimum () const
 
maximum () const
 
void setMinimumValue (T v)
 
void setMaximumValue (T v)
 
minimumValue () const
 
maximumValue () const
 
void clear ()
 
void set (T min, T max)
 
void set (T min, T minValue, T maxValue, T max)
 
bool contains (T v) const
 
void read (const Json &in)
 
Jsonwrite (Json &out) const
 

Private Attributes

bool enabled_
 

Constructor & Destructor Documentation

◆ Range() [1/3]

template<class T >
Range< T >::Range
inline

◆ Range() [2/3]

template<class T >
Range< T >::Range ( min,
max 
)
inline

◆ Range() [3/3]

template<class T >
Range< T >::Range ( min,
minValue,
maxValue,
max 
)
inline

◆ ~Range()

template<class T >
Range< T >::~Range
inline

Member Function Documentation

◆ clear()

template<class T >
void Range< T >::clear
inline

Referenced by Editor::close().

◆ contains()

template<class T >
bool Range< T >::contains ( v) const
inline

◆ empty()

template<class T >
bool Range< T >::empty
inline

◆ full()

template<class T >
bool Range< T >::full
inline

◆ isEnabled()

◆ maximum()

◆ maximumValue()

◆ minimum()

◆ minimumValue()

◆ read()

template<class T >
void Range< T >::read ( const Json in)
inline

Referenced by Editor::openProject().

◆ set() [1/2]

template<class T >
void Range< T >::set ( min,
max 
)
inline

◆ set() [2/2]

template<class T >
void Range< T >::set ( min,
minValue,
maxValue,
max 
)
inline

◆ setEnabled()

template<class T >
void Range< T >::setEnabled ( bool  enabled)
inline

◆ setMaximum()

template<class T >
void Range< T >::setMaximum ( v)
inline

◆ setMaximumValue()

◆ setMinimum()

template<class T >
void Range< T >::setMinimum ( v)
inline

◆ setMinimumValue()

◆ write()

template<class T >
Json & Range< T >::write ( Json out) const
inline

Referenced by Editor::saveProject().

Member Data Documentation

◆ enabled_

template<class T >
bool Range< T >::enabled_
private

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