0.44.0
|
Namespaces | |
namespace | iaEasing |
Classes | |
class | iaBSpline |
Non uniform B-Spline. More... | |
class | iaCircle |
class | iaClock |
class | iaColor3 |
struct | iaColor4 |
class | iaConsole |
class | iaConvert |
class | iaDate |
class | iaDelegate |
class | iaDirectory |
class | iaEvent |
class | iaEventReturnHandler |
class | iaEventReturnHandler< void, Args... > |
class | iaFile |
File handle. More... | |
class | iaIDGenerator |
class | iaKeyFrameGraph |
class | iaMath |
class | iaMatrix |
class | iaMatrix2D |
class | iaMutex |
class | iaQuaternion |
class | iaRandom |
class | iaRandomNumberGenerator |
struct | iaRectangle |
class | iaRLE |
struct | iaRLEBlock |
class | iaSerializable |
class | iaSphere |
class | iaState |
class | iaStateMachine |
class | iaString |
class | iaTest |
class | iaThread |
class | iaTime |
class | iaTransform |
class | iaTransition |
Transition between two states. More... | |
class | iaUUID |
struct | iaVector2 |
struct | iaVector3 |
struct | iaVector4 |
Enumerations | |
enum class | iInterpolationMode { None , Linear } |
enum class | iaStringSplitMode { Normal , RetriveAllEmpties } |
enum class | iaAxis { X , Y , Z } |
enum class | iaForegroundColor { White , Gray , Blue , DarkBlue , Green , DarkGreen , Cyan , DarkCyan , Red , DarkRed , Magenta , DarkMagenta , Yellow , DarkYellow } |
enum class | iaLogLevel { Fatal , Error , Warning , Info , User , Debug , Trace } |
enum class | iaFileOpenMode { ReadBinary , WriteBinary , ReadWriteBinary } |
enum class | iaThreadState { Init , Running , Deinit , Done } |
Functions | |
template<class T > | |
std::wostream & | operator<< (std::wostream &ostr, const iaColor3< T > &color) |
template<class T > | |
std::wostream & | operator<< (std::wostream &ostr, const iaColor4< T > &color) |
std::wostream & | operator<< (std::wostream &stream, const iaString &text) |
std::wostream & | operator<< (std::wostream &stream, const std::vector< iaString > &texts) |
std::wostream & | operator<< (std::wostream &stream, const iaUUID &uuid) |
void | startup () |
void | shutdown () |
template<class T > | |
IAUX_API std::wostream & | operator<< (std::wostream &stream, const iaMatrix< T > &m) |
template<class T > | |
iaQuaternion< T > | slerp (iaQuaternion< T > a, iaQuaternion< T > b, T t) |
template<class T > | |
T | dotProduct (iaQuaternion< T > a, iaQuaternion< T > b) |
template<class T > | |
iaTransform< T > | lerp (const iaTransform< T > &a, const iaTransform< T > &b, T t) |
template<class T > | |
iaVector2< T > | lerp (const iaVector2< T > &a, const iaVector2< T > &b, T t) |
template<class T > | |
iaVector3< T > | lerp (const iaVector3< T > &a, const iaVector3< T > &b, T t) |
template<class T > | |
iaVector4< T > | lerp (const iaVector4< T > &a, const iaVector4< T > &b, T t) |
IGOR_EVENT_DEFINITION (iaEnterState, void, iaStateID) | |
IGOR_EVENT_DEFINITION (iaReEnterState, void, iaStateID) | |
IGOR_EVENT_DEFINITION (iaLeaveState, void, iaStateID) | |
IGOR_EVENT_DEFINITION (iaUpdateState, void, iaStateID) | |
std::wostream & | operator<< (std::wostream &stream, const iaLogLevel &logLevel) |
iaConsole & | printIgorThreadID (iaConsole &console) |
IGOR_FUNCTION_POINTER (superspecialfuncptrtype, iaConsole &,(iaConsole &)) | |
IGOR_INLINE iaConsole & | endl (iaConsole &console) |
IGOR_INLINE iaConsole & | endlTab (iaConsole &console) |
IGOR_INLINE iaConsole & | flush (iaConsole &console) |
IGOR_INLINE iaConsole & | incerr (iaConsole &console) |
IGOR_INLINE iaConsole & | incwarn (iaConsole &console) |
IGOR_INLINE iaConsole & | LOCK (iaConsole &console) |
IGOR_INLINE iaConsole & | UNLOCK (iaConsole &console) |
IGOR_INLINE iaConsole & | applicationTime (iaConsole &console) |
static bool | fileMatch (const std::filesystem::directory_entry &entry, const iaString &searchPattern) |
template<typename T > | |
std::wostream & | operator<< (std::wostream &stream, const iaDelegate< T > &delegate) |
static int64 | getFileSize (FILE *fileHandle) |
static const char * | getOpenFlags (const iaFileOpenMode &mode) |
static bool | isWriteable (const iaFileOpenMode &mode) |
std::wostream & | operator<< (std::wostream &stream, const iaFileOpenMode &mode) |
void | getCallStack (std::vector< iaString > &callStack) |
void * | threadFunc (void *data) |
IGOR_INLINE std::wostream & | operator<< (std::wostream &ostr, const iaTime &time) |
Variables | |
static const iaString | s_numbers = "0123456789abcdef" |
static iaRandomNumberGenerator | _randomNumberGenerator (1337) |
class IAUX_API | iaConsole |
IgorAux namespace that contains all basic functionality of the Igor game engine
This is a port from robertpenner.com/easing/
Disclaimer for Robert Penner's Easing Equations license: TERMS OF USE - EASING EQUATIONS Open source under the BSD License. Copyright � 2001 Robert Penner All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met : Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and /or other materials provided with the distribution. Neither the name of the author nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
typedef iaBSpline<float64> iaux::iaBSplined |
float64 BSpline
typedef iaBSpline<float32> iaux::iaBSplinef |
float32 BSpline
typedef iaCircle<float64> iaux::iaCircled |
float64 precision of rectangle
typedef iaCircle<float32> iaux::iaCirclef |
float32 precision of rectangle
typedef iaCircle<int32> iaux::iaCirclei |
int32 precision of rectangle
typedef iaCircle<int64> iaux::iaCircleI |
int64 precision of rectangle
typedef iaColor3<uint8> iaux::iaColor3c |
uint8 variant of color
typedef iaColor3<float32> iaux::iaColor3f |
float32 variant of color
typedef iaColor4<uint8> iaux::iaColor4c |
uint8 color
typedef iaColor4<float32> iaux::iaColor4f |
float32 color
typedef iaIDGenerator<iaID32> iaux::iaIDGenerator32 |
typedef iaIDGenerator<iaID64> iaux::iaIDGenerator64 |
color vector gradient
typedef iaKeyFrameGraph<float64> iaux::iaKeyFrameGraphd |
float64 gradient
typedef iaKeyFrameGraph<float32> iaux::iaKeyFrameGraphf |
float32 gradient
typedef iaKeyFrameGraph<uint32> iaux::iaKeyFrameGraphui |
uint32 gradient
float64 2d vector gradient
float32 2d vector gradient
float64 3d vector gradient
float32 3d vector gradient
typedef iaMatrix2D<float64> iaux::iaMatrix3x3d |
float64 3x3 matrix
typedef iaMatrix2D<float32> iaux::iaMatrix3x3f |
float32 3x3 matrix
typedef iaMatrix<float64> iaux::iaMatrixd |
float64 4x4 matrix
typedef iaMatrix<float32> iaux::iaMatrixf |
float32 4x4 matrix
typedef iaQuaternion<float64> iaux::iaQuaterniond |
double precision quaternion definition
typedef iaQuaternion<float32> iaux::iaQuaternionf |
single precision quaternion definition
typedef iaRectangle<float64> iaux::iaRectangled |
float64 precision of rectangle
typedef iaRectangle<float32> iaux::iaRectanglef |
float32 precision of rectangle
typedef iaRectangle<int32> iaux::iaRectanglei |
int32 precision of rectangle
typedef iaRectangle<int64> iaux::iaRectangleI |
int64 precision of rectangle
typedef iaSphere<float64> iaux::iaSphered |
float64 precision of sphere
typedef iaSphere<float32> iaux::iaSpheref |
float32 precision of sphere
typedef iaSphere<int64> iaux::iaSphereI |
uint64 precision of sphere
typedef iaID32 iaux::iaStateID |
state ID definition
typedef iaState* iaux::iaStatePtr |
state pointer definition
typedef iaTransform<float64> iaux::iaTransformd |
float64 transform
typedef iaTransform<float64> iaux::iaTransformf |
float32 transform
typedef iaID32 iaux::iaTransitionID |
transition ID definition
typedef iaTransition* iaux::iaTransitionPtr |
transition pointer definition
typedef iaVector2<float64> iaux::iaVector2d |
float64 2d vector
typedef iaVector2<float32> iaux::iaVector2f |
float32 2d vector
typedef iaVector2<int32> iaux::iaVector2i |
int32 2d vector
typedef iaVector2<int64> iaux::iaVector2I |
int64 2d vector
typedef iaVector3<float64> iaux::iaVector3d |
float64 3d vector
typedef iaVector3<float32> iaux::iaVector3f |
float32 3d vector
typedef iaVector3<int32> iaux::iaVector3i |
int32 3d vector
typedef iaVector3<int64> iaux::iaVector3I |
int64 3d vector
typedef iaVector4<float64> iaux::iaVector4d |
float64 4d vector
typedef iaVector4<float32> iaux::iaVector4f |
float32 4d vector
typedef iaVector4<int32> iaux::iaVector4i |
int32 4d vector
typedef iaVector4<int64> iaux::iaVector4I |
int64 4d vector
typedef iaDelegate<void, iaThread *> iaux::iThreadCallbackDelegate |
thread delegate calls the actual function run by this thread
|
strong |
|
strong |
|
strong |
|
strong |
logging level definitions
|
strong |
|
strong |
|
strong |
prints application time in the console
console | console instance to use |
T iaux::dotProduct | ( | iaQuaternion< T > | a, |
iaQuaternion< T > | b | ||
) |
prints an endline to the console
console | console instance to use |
prints an endline and a logging tab to the console
console | console instance to use |
|
static |
entry | the file entry |
searchPattern | the given pattern |
sends an flush to the console
console | console instance to use |
IAUX_API void iaux::getCallStack | ( | std::vector< iaString > & | callStack | ) |
thank you Macmade http://stackoverflow.com/questions/5693192/win32-backtrace-from-c-code
returns current callstack
[out] | callStack | vector filled with the current callstack |
|
static |
fileHandle | the given file handle |
|
static |
iaux::IGOR_EVENT_DEFINITION | ( | iaEnterState | , |
void | , | ||
iaStateID | |||
) |
enter state event
iaux::IGOR_EVENT_DEFINITION | ( | iaLeaveState | , |
void | , | ||
iaStateID | |||
) |
leave state event
iaux::IGOR_EVENT_DEFINITION | ( | iaReEnterState | , |
void | , | ||
iaStateID | |||
) |
re enter state event
iaux::IGOR_EVENT_DEFINITION | ( | iaUpdateState | , |
void | , | ||
iaStateID | |||
) |
handle state event
increments the error counter
console | console instance to use |
increments the warning counter
console | console instance to use |
|
static |
iaTransform< T > iaux::lerp | ( | const iaTransform< T > & | a, |
const iaTransform< T > & | b, | ||
T | t | ||
) |
iaVector2< T > iaux::lerp | ( | const iaVector2< T > & | a, |
const iaVector2< T > & | b, | ||
T | t | ||
) |
linear interpolation of two vectors
a | vector a |
b | vector b |
t | interpolation weight |
iaVector3< T > iaux::lerp | ( | const iaVector3< T > & | a, |
const iaVector3< T > & | b, | ||
T | t | ||
) |
linear interpolation of two vectors
a | vector a |
b | vector b |
t | interpolation weight |
iaVector4< T > iaux::lerp | ( | const iaVector4< T > & | a, |
const iaVector4< T > & | b, | ||
T | t | ||
) |
linear interpolation of two vectors
a | vector a |
b | vector b |
t | interpolation weight |
locks mutex
console | console instance to use |
std::wostream & iaux::operator<< | ( | std::wostream & | ostr, |
const iaColor3< T > & | color | ||
) |
stream operator e.g. for console output
ostr | the out stream handle |
color | the color to print in stream |
std::wostream & iaux::operator<< | ( | std::wostream & | ostr, |
const iaColor4< T > & | color | ||
) |
stream operator e.g. for cosole output
ostr | the out stream handle |
color | the color to print in stream |
IGOR_INLINE std::wostream & iaux::operator<< | ( | std::wostream & | ostr, |
const iaTime & | time | ||
) |
stream operator e.g. for cosole output
ostr | the out stream handle |
time | the time to print in stream |
std::wostream & iaux::operator<< | ( | std::wostream & | stream, |
const iaDelegate< T > & | delegate | ||
) |
stream operator
stream | the destination |
text | the string to stream |
IAUX_API std::wostream & iaux::operator<< | ( | std::wostream & | stream, |
const iaFileOpenMode & | mode | ||
) |
prints the file open mode in the console
stream | the stream to log to |
mode | the file open mode |
IAUX_API std::wostream & iaux::operator<< | ( | std::wostream & | stream, |
const iaLogLevel & | logLevel | ||
) |
prints the log level in the console
stream | the stream to log to |
logLevel | the log level to print |
IAUX_API std::wostream & iaux::operator<< | ( | std::wostream & | stream, |
const iaMatrix< T > & | m | ||
) |
stream operator
stream | the destination |
m | the matrix to stream |
IAUX_API std::wostream & iaux::operator<< | ( | std::wostream & | stream, |
const iaString & | text | ||
) |
stream operator
stream | the destination |
text | the string to stream |
IAUX_API std::wostream & iaux::operator<< | ( | std::wostream & | stream, |
const iaUUID & | uuid | ||
) |
print uuid in console
stream | the stream to write to |
uuid | the uuid to write |
IAUX_API std::wostream & iaux::operator<< | ( | std::wostream & | stream, |
const std::vector< iaString > & | texts | ||
) |
stream operator
stream | the destination |
texts | a list of string to stream |
prints the igor thread id in the console
console | console instance to use |
void IGOR_API igor::shutdown | ( | ) |
should be called last in your application. do not use any Igor interface after that
Shuts down all the singleton instances. Not thread save. make shure only one thread is left when calling this.
should be called last in your application. do not use any Igor interface after that
Shuts down all the modules. Not thread save. make shure only one thread is left when calling this.
iaQuaternion< T > iaux::slerp | ( | iaQuaternion< T > | a, |
iaQuaternion< T > | b, | ||
T | t | ||
) |
void IGOR_API igor::startup | ( | ) |
should be called before any other interface of IgorAux is used
starting up Igor.
Must be called before any other interface of Igor is used
configname | name of config file |
config file will be searched for in this order
Windows: config\igor.xml ..\config\igor.xml ....\config\igor.xml Linux: ~/.igor/igor.xml /etc/igor/igor.xml config/igor.xml ../config/igor.xml ../../config/igor.xml
in that order
void * iaux::threadFunc | ( | void * | data | ) |
unlocks mutex
console | console instance to use |
|
static |
class IAUX_API iaux::iaConsole |
|
static |
specifies what are numbers