![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Scalar field range structure. More...
#include <ecvScalarField.h>
Public Member Functions | |
| Range () | |
| Default constructor. More... | |
| 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. More... | |
| bool | isInbound (ScalarType val) const |
| Returns whether a value is inbound or not. More... | |
| bool | isInRange (ScalarType val) const |
| Returns whether a value is inside range or not. More... | |
Protected Member Functions | |
| void | updateRange () |
| Updates actual range. More... | |
Protected Attributes | |
| ScalarType | m_min |
| ScalarType | m_start |
| ScalarType | m_stop |
| ScalarType | m_max |
| ScalarType | m_range |
Scalar field range structure.
Definition at line 36 of file ecvScalarField.h.
|
inline |
Default constructor.
Definition at line 39 of file ecvScalarField.h.
|
inline |
Returns the nearest inbound value.
Definition at line 78 of file ecvScalarField.h.
Referenced by define_ccScalarField(), and cloudViewer::utility::pybind_scalarfield().
|
inline |
Returns whether a value is inbound or not.
Definition at line 82 of file ecvScalarField.h.
Referenced by define_ccScalarField(), and cloudViewer::utility::pybind_scalarfield().
|
inline |
Returns whether a value is inside range or not.
Definition at line 86 of file ecvScalarField.h.
Referenced by define_ccScalarField(), ccSNECloud::drawMeOnly(), and cloudViewer::utility::pybind_scalarfield().
|
inline |
Definition at line 45 of file ecvScalarField.h.
Referenced by ccRasterizeTool::activeLayerChanged(), define_ccScalarField(), sfEditDlg::fillDialogWith(), cloudViewer::utility::pybind_scalarfield(), ccHistogramWindow::refresh(), and ccColorFromScalarDlg::~ccColorFromScalarDlg().
|
inline |
Definition at line 47 of file ecvScalarField.h.
Referenced by define_ccScalarField(), sfEditDlg::fillDialogWith(), and cloudViewer::utility::pybind_scalarfield().
|
inline |
Definition at line 42 of file ecvScalarField.h.
Referenced by ccRasterizeTool::activeLayerChanged(), define_ccScalarField(), sfEditDlg::fillDialogWith(), cloudViewer::utility::pybind_scalarfield(), ccHistogramWindow::refresh(), and ccColorFromScalarDlg::~ccColorFromScalarDlg().
|
inline |
Definition at line 46 of file ecvScalarField.h.
Referenced by ccRasterizeTool::activeLayerChanged(), define_ccScalarField(), and cloudViewer::utility::pybind_scalarfield().
|
inline |
Definition at line 50 of file ecvScalarField.h.
Referenced by define_ccScalarField(), and cloudViewer::utility::pybind_scalarfield().
|
inline |
Definition at line 66 of file ecvScalarField.h.
Referenced by define_ccScalarField(), and cloudViewer::utility::pybind_scalarfield().
|
inline |
Definition at line 71 of file ecvScalarField.h.
Referenced by define_ccScalarField(), and cloudViewer::utility::pybind_scalarfield().
|
inline |
Definition at line 43 of file ecvScalarField.h.
Referenced by define_ccScalarField(), sfEditDlg::fillDialogWith(), ccHistogramWindow::fromSF(), cloudViewer::utility::pybind_scalarfield(), ccHistogramWindow::refresh(), and ecvFilterByLabelDlg::setInputEntity().
|
inline |
Definition at line 44 of file ecvScalarField.h.
Referenced by define_ccScalarField(), sfEditDlg::fillDialogWith(), ccHistogramWindow::fromSF(), cloudViewer::utility::pybind_scalarfield(), ccHistogramWindow::refresh(), and ecvFilterByLabelDlg::setInputEntity().
|
inlineprotected |
Updates actual range.
Definition at line 92 of file ecvScalarField.h.
References max(), and ZERO_TOLERANCE_SCALAR.
|
protected |
Minimum value
Definition at line 99 of file ecvScalarField.h.
|
protected |
Minimum value
Definition at line 96 of file ecvScalarField.h.
|
protected |
Actual range: start-stop (but can't be ZERO!)
Definition at line 101 of file ecvScalarField.h.
|
protected |
Current start value (in [min,max])
Definition at line 97 of file ecvScalarField.h.
|
protected |
Current stop value (in [min,max])
Definition at line 98 of file ecvScalarField.h.