emergent 8.2.2 MinMaxRange Class Reference
emergent 8.2.2   Home · Wiki Docs For: MinMaxRange · Emergent Help Browser 

MinMaxRange Class Reference

min-max values plus scale and range

See for more info: Wiki Docs For: MinMaxRange

 #include <MinMaxRange>

defined at: /mnt/ssd/grey/local/include/Emergent/MinMaxRange.h :28-53

Inherits From: MinMax, taOBase, taBase

Inherited By: MinMaxRange*, MinMaxRange&, const MinMaxRange

Index: SubTypes, Members, Methods, Static Members, Static Methods, Expert Members, Expert Methods

Sub Types


SubType Documentation


Regular (preferred) Member and Method Documentation

Members

Member Category: _NoCategory

Methods

Method Category: UserData

Method Category: _NoCategory


Member Documentation

Member Category: _NoCategory

MinMax::max : float

maximum value

MinMax::min : float

minimum value


Method Documentation

Method Category: UserData

void taOBase::RemoveAllUserData ( )

get rid of our user data list entirely -- this is done automatically when saving something that has no user data items, but you can also force it with this method -- deletes the whole list

Show Source Code

Method Category: _NoCategory

float MinMax::Clip ( float val )

clip given value within current range

Show Source Code

taBase* taOBase::GetOwner ( )

Show Source Code

TypeDef* MinMaxRange::GetTypeDef ( )

Show Source Code

void MinMax::Init ( float it )

initializes the max and min to this value

Show Source Code

void MinMax::MaxLT ( float it )

max less than (or equal)

Show Source Code

float MinMax::MidPoint ( )

returns the range between the min and the max

Show Source Code

void MinMax::MinGT ( float it )

min greater than (or equal)

Show Source Code

float MinMaxRange::Normalize ( float val )

normalize given value to 0-1 range given current in max

Show Source Code

float MinMaxRange::Project ( float val )

project a normalized value into the current min-max range

Show Source Code

float MinMax::Range ( )

Show Source Code

bool MinMax::RangeTest ( float val )

test whether value is within the range (but not equal to max or min)

Show Source Code

bool MinMax::RangeTestEq ( float val )

test whether value is within the range (or equal)

Show Source Code

float MinMax::Scale ( )

scale is the inverse of range

Show Source Code

void MinMax::Set ( float mn, float mx )

set values

Show Source Code

void MinMax::SetRange ( float_Matrix& mat )

set the range from a matrix

Show Source Code

void MinMax::SymRange ( )

symmetrize my range around zero, with max abs value of current min, max

Show Source Code

void MinMaxRange::UpdateRange ( )

update the saved range value from current min / max

Show Source Code

taSigLink** taOBase::addr_sig_link ( )

Show Source Code

Static Member and Method Documentation

Static Members

Static Methods


Static Method Documentation


Expert Member and Method Documentation

Expert Members

Expert Member Category: _NoCategory

Expert Member Category: taBase

Expert Methods

Expert Method Category: UserData


Expert Member Documentation

Expert Member Category: _NoCategory

MinMaxRange::range : float

distance between min and max

MinMaxRange::scale : float

scale (1.0 / range)

Expert Member Category: taBase

taOBase::owner : taBase*

pointer to owner

taOBase::user_data_ : UserDataItem_List*

storage for user data (created if needed) DO NOT ACCESS this list directly -- use the GetUserData / SetUserData etc interface!


Expert Method Documentation

Expert Method Category: UserData

UserDataItem_List* taOBase::GetUserDataList ( bool force = false )

gets the userdatalist for this class

Show Source Code


Copyright © 2017Regents of the University of Colorado, Carnegie Mellon University, Princeton University.
emergent 8.2.2