qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ccScalarField::Range Class Reference

Scalar field range structure. More...

#include <ccScalarField.h>

Public Member Functions

 Range ()
 Default constructor.
 
ScalarType min () const
 
ScalarType start () const
 
ScalarType stop () const
 
ScalarType max () const
 
ScalarType range () const
 
ScalarType maxRange () const
 
void setBounds (ScalarType minVal, ScalarType maxVal, bool resetStartStop=true)
 
void setStart (ScalarType value)
 
void setStop (ScalarType value)
 
ScalarType inbound (ScalarType val) const
 Returns the nearest inbound value.
 
bool isInbound (ScalarType val) const
 Returns whether a value is inbound or not.
 
bool isInRange (ScalarType val) const
 Returns whether a value is inside range or not.
 

Protected Member Functions

void updateRange ()
 Updates actual range.
 

Protected Attributes

ScalarType m_min
 
ScalarType m_start
 
ScalarType m_stop
 
ScalarType m_max
 
ScalarType m_range
 

Detailed Description

Scalar field range structure.

Member Data Documentation

◆ m_max

ScalarType ccScalarField::Range::m_max
protected

Minimum value

◆ m_min

ScalarType ccScalarField::Range::m_min
protected

Minimum value

◆ m_range

ScalarType ccScalarField::Range::m_range
protected

Actual range: start-stop (but can't be ZERO!)

◆ m_start

ScalarType ccScalarField::Range::m_start
protected

Current start value (in [min,max])

◆ m_stop

ScalarType ccScalarField::Range::m_stop
protected

Current stop value (in [min,max])


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