Node class to define a filter of cells. More...
#include <MeshViz/nodes/PoIntervalCellFilter.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
PoIntervalCellFilter () | |
SbBool | acceptCell (int cell_index, float cell_value) const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFFloat | min |
SoSFFloat | max |
SoSFBool | in |
This filter accepts only those cells whose value is either inside or outside a float interval.
PoIntervalCellFilter::PoIntervalCellFilter | ( | ) |
SbBool PoIntervalCellFilter::acceptCell | ( | int | cell_index, | |
float | cell_value | |||
) | const [virtual] |
See PoCellFilter::acceptCell().
cell_index | The cell index is ignored by this filter as it checks only the value of the cell. | |
cell_value | the value of this cell. |
Implements PoCellFilter.
static SoType PoIntervalCellFilter::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoCellFilter.
virtual SoType PoIntervalCellFilter::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoCellFilter.
Specifies if accepted cells are those whose value is inside or outside the interval ]min,max[.
in | If TRUE, the cell is accepted if min < v && v < max, where v is the value of cell to be checked. | |
in | If FALSE, the cell is accepted if v <= min || max <= v, where v is the value of cell to be checked. |
Specifies the max limit of the float interval.
Specifies the min limit of the float interval.