#include "AP_Utility.h"
#include "AP_Logger.h"
#include "AP_Types.h"
#include "AP_Array.h"
#include "AP_Xml.h"
#include "AP_File.h"
#include "AP_Tga.h"
#include "AP_Point.h"
#include "AP_Rectangle.h"
#include "AP_Vector4.h"
#include "AP_Vector3.h"
#include "AP_Vector2.h"
#include "AP_Matrix4x4.h"
#include "X3DEvent.h"
Data Structures | |
struct | Image |
class | Camera |
class | I< _T > |
Generic MF vector. More... | |
class | M< _T > |
Prototype database. More... | |
class | MF< _T > |
class | SF< _T > |
class | X3DField |
class | X3DFieldSpec< _T > |
Namespaces | |
namespace | AP |
Architecture Platform. | |
namespace | X3D |
XML Standard ISO for dynamic graphic objects. | |
Defines | |
#define | MFDefine(type, basetype, etype) |
Multiple field X3D standard. | |
#define | SFDefine(type, basetype, etype) |
/////////////////////////////////////////////////////////////////////////////////////// | |
#define | TOGRAD(a) ((a)*180.0/3.141592654) |
Conversions. | |
#define | TORAD(a) ((a)*3.141592654/180.0) |
#define | X3DDEBUG AP_DEBUG |
#define | X3DDebug(...) Logger(AP_DEBUG, __VA_ARGS__ ) |
#define | X3DDUMP AP_DUMP |
#define | X3DDump(...) Logger(AP_DUMP, __VA_ARGS__ ) |
#define | X3DERROR AP_ERROR |
Errors from AP layer. | |
#define | X3DError(...) Logger(AP_ERROR, __VA_ARGS__ ) |
WARNING: Not ISO/IEC 19775-1:2008 standard ////////////////////////////////////////////. | |
#define | X3DNOTICE AP_NOTICE |
#define | X3DNotice(...) Logger(AP_NOTICE, __VA_ARGS__ ) |
#define | X3DTIMERESOLUTION AP_1ms |
Costants. | |
#define | X3DWARNING AP_WARNING |
#define | X3DWarning(...) Logger(AP_WARNING, __VA_ARGS__ ) |
Typedefs | |
typedef I< AP_String > | MConnect |
typedef I< X3DNode * > | MDEF |
typedef I< X3DField * > | MField |
typedef M< X3DNode * > | MFNode |
typedef AP_HashBase< AP_String, AP_Xml > | Proto |
Enumerations | |
enum | X3DFieldDirection { In, Out, InOut, Void } |
Generic IF indexed vector. More... | |
enum | X3DFieldType { TSFBool, TMFBool, TSFColor, TMFColor, TSFColorRGBA, TMFColorRGBA, TSFDouble, TMFDouble, TSFFloat, TMFFloat, TSFImage, TMFImage, TSFInt32, TMFInt32, TSFMatrix4f, TMFMatrix4f, TSFMatrix3f, TMFMatrix3f, TSFMatrix4d, TMFMatrix4d, TSFMatrix3d, TMFMatrix3d, TSFRotation, TMFRotation, TSFString, TMFString, TSFTime, TMFTime, TSFVec4f, TMFVec4f, TSFVec3f, TMFVec3f, TSFVec2f, TMFVec2f, TSFVec4d, TMFVec4d, TSFVec3d, TMFVec3d, TSFVec2d, TMFVec2d, TSFNode, TMFNode, TUnknown } |
Functions | |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime TMFVec4f TMFVec3f TMFVec2f TMFVec4d TMFVec3d | SFDefine (SFVec2d, AP_Vector2d, TSFVec2d) MFDefine(MFVec2d |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime TMFVec4f TMFVec3f TMFVec2f TMFVec4d | SFDefine (SFVec3d, AP_Vector3d, TSFVec3d) MFDefine(MFVec3d |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime TMFVec4f TMFVec3f TMFVec2f | SFDefine (SFVec4d, AP_Vector4d, TSFVec4d) MFDefine(MFVec4d |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime TMFVec4f TMFVec3f | SFDefine (SFVec2f, AP_Vector2f, TSFVec2f) MFDefine(MFVec2f |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime TMFVec4f | SFDefine (SFVec3f, AP_Vector3f, TSFVec3f) MFDefine(MFVec3f |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime | SFDefine (SFVec4f, AP_Vector4f, TSFVec4f) MFDefine(MFVec4f |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString | SFDefine (SFTime, AP_Float64, TSFTime) MFDefine(MFTime |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation | SFDefine (SFString, AP_String, TSFString) SFDefine(MFString |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d | SFDefine (SFRotation, AP_Rotate4f, TSFRotation) MFDefine(MFRotation |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f | SFDefine (SFMatrix4d, AP_Matrix4x4d, TSFMatrix4d) MFDefine(MFMatrix4d |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 | SFDefine (SFMatrix4f, AP_Matrix4x4f, TSFMatrix4f) MFDefine(MFMatrix4f |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage | SFDefine (SFInt32, AP_Sint32, TSFInt32) MFDefine(MFInt32 |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat | SFDefine (SFImage, Image, TSFImage) MFDefine(MFImage |
TMFBool TMFColor TMFColorRGBA TMFDouble | SFDefine (SFFloat, AP_Float32, TSFFloat) MFDefine(MFFloat |
TMFBool TMFColor TMFColorRGBA | SFDefine (SFDouble, AP_Float64, TSFDouble) MFDefine(MFDouble |
TMFBool TMFColor | SFDefine (SFColorRGBA, AP_Vector4f, TSFColorRGBA) MFDefine(MFColorRGBA |
TMFBool | SFDefine (SFColor, AP_Color3f, TSFColor) MFDefine(MFColor |
SFDefine (SFBool, AP_Bool, TSFBool) MFDefine(MFBool | |
Variables | |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation | AP_Array |
AP_Bool | |
TMFBool | AP_Color3f |
TMFBool TMFColor TMFColorRGBA TMFDouble | AP_Float32 |
TMFBool TMFColor TMFColorRGBA | AP_Float64 |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f | AP_Matrix4x4d |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 | AP_Matrix4x4f |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d | AP_Rotate4f |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage | AP_Sint32 |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime TMFVec4f TMFVec3f TMFVec2f TMFVec4d TMFVec3d | AP_Vector2d |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime TMFVec4f TMFVec3f | AP_Vector2f |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime TMFVec4f TMFVec3f TMFVec2f TMFVec4d | AP_Vector3d |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime TMFVec4f | AP_Vector3f |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime TMFVec4f TMFVec3f TMFVec2f | AP_Vector4d |
TMFBool TMFColor | AP_Vector4f |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat | Image |
TMFBool TMFColor TMFColorRGBA TMFDouble TMFFloat TMFImage TMFInt32 TMFMatrix4f TMFMatrix4d TMFRotation TMFString TMFTime TMFVec4f TMFVec3f TMFVec2f TMFVec4d TMFVec3d TMFVec2d typedef X3DNode * | SFNode |
#define MFDefine | ( | type, | |||
basetype, | |||||
etype | ) |
Value:
class type : public X3DFieldSpec< M<basetype> > \ { \ public: \ type(const X3DFieldDirection t) \ : X3DFieldSpec< M<basetype> >(etype,t,sizeof(M<basetype>)) {} \ type(void) \ : X3DFieldSpec< M<basetype> >(etype,Void,sizeof(M<basetype>)) {} \ type(const AP_String& tvalue) \ : X3DFieldSpec< M<basetype> >(etype,Void,sizeof(basetype)) { \ To##type(tvalue); \ } \ void Set(const AP_String& tvalue) { \ To##type(tvalue); \ } \ };
#define SFDefine | ( | type, | |||
basetype, | |||||
etype | ) |
Value:
class type : public X3DFieldSpec<basetype> \ { \ public: \ type(const basetype v, const X3DFieldDirection t) \ : X3DFieldSpec<basetype>(v,etype,t,sizeof(basetype)) {} \ type(const X3DFieldDirection t) \ : X3DFieldSpec<basetype>(etype,t,sizeof(basetype)) {} \ type(void) \ : X3DFieldSpec<basetype>(etype,Void,sizeof(basetype)) {} \ type(const AP_String& tvalue) \ : X3DFieldSpec<basetype>(etype,Void,sizeof(basetype)) { \ To##type(tvalue); \ } \ void Set(const AP_String& tvalue) { \ To##type(tvalue); \ } \ };
Single field X3D standard
#define TOGRAD | ( | a | ) | ((a)*180.0/3.141592654) |
Conversions.
#define TORAD | ( | a | ) | ((a)*3.141592654/180.0) |
#define X3DDEBUG AP_DEBUG |
#define X3DDebug | ( | ... | ) | Logger(AP_DEBUG, __VA_ARGS__ ) |
#define X3DDUMP AP_DUMP |
#define X3DDump | ( | ... | ) | Logger(AP_DUMP, __VA_ARGS__ ) |
#define X3DERROR AP_ERROR |
Errors from AP layer.
#define X3DError | ( | ... | ) | Logger(AP_ERROR, __VA_ARGS__ ) |
WARNING: Not ISO/IEC 19775-1:2008 standard ////////////////////////////////////////////.
#define X3DNOTICE AP_NOTICE |
#define X3DNotice | ( | ... | ) | Logger(AP_NOTICE, __VA_ARGS__ ) |
#define X3DTIMERESOLUTION AP_1ms |
Costants.
#define X3DWARNING AP_WARNING |
#define X3DWarning | ( | ... | ) | Logger(AP_WARNING, __VA_ARGS__ ) |