HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PRM_Range Class Reference

#include <PRM_Range.h>

Public Member Functions

 PRM_Range (PRM_RangeFlag theminflag=PRM_RANGE_UI, fpreal themin=0, PRM_RangeFlag themaxflag=PRM_RANGE_UI, fpreal themax=1)
 
bool hasParmMin () const
 
bool hasParmMax () const
 
fpreal getParmMin () const
 
fpreal getParmMax () const
 
bool hasUIMin () const
 
bool hasUIMax () const
 
fpreal getUIMin () const
 
fpreal getUIMax () const
 
void constrain (fpreal &v) const
 
void constrain (bool hasRangeMin, bool hasRangeMax, fpreal &v) const
 

Detailed Description

Constructor & Destructor Documentation

PRM_Range::PRM_Range ( PRM_RangeFlag  theminflag = PRM_RANGE_UI,
fpreal  themin = 0,
PRM_RangeFlag  themaxflag = PRM_RANGE_UI,
fpreal  themax = 1 
)
inline

Definition at line 33 of file PRM_Range.h.

Member Function Documentation

void PRM_Range::constrain ( fpreal v) const
inline

Definition at line 76 of file PRM_Range.h.

void PRM_Range::constrain ( bool  hasRangeMin,
bool  hasRangeMax,
fpreal v 
) const
inline

Definition at line 84 of file PRM_Range.h.

fpreal PRM_Range::getParmMax ( ) const
inline

Definition at line 57 of file PRM_Range.h.

fpreal PRM_Range::getParmMin ( ) const
inline

Definition at line 51 of file PRM_Range.h.

fpreal PRM_Range::getUIMax ( ) const
inline

Definition at line 74 of file PRM_Range.h.

fpreal PRM_Range::getUIMin ( ) const
inline

Definition at line 73 of file PRM_Range.h.

bool PRM_Range::hasParmMax ( ) const
inline

Definition at line 46 of file PRM_Range.h.

bool PRM_Range::hasParmMin ( ) const
inline

Definition at line 42 of file PRM_Range.h.

bool PRM_Range::hasUIMax ( ) const
inline

Definition at line 68 of file PRM_Range.h.

bool PRM_Range::hasUIMin ( ) const
inline

Definition at line 64 of file PRM_Range.h.


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