typedef struct TQ3Area {
TQ3Point2D min;
TQ3Point2D max;
} TQ3Area;
Fundamental area type.
Name Description min Minimum corner of area. max Maximum corner of area.
typedef struct TQ3Bitmap {
TQ3Uns8 *image;
TQ3Uns32 width;
TQ3Uns32 height;
TQ3Uns32 rowBytes;
TQ3Endian bitOrder;
} TQ3Bitmap;
Fundamental Bitmap type.
Name Description image Pointer to (height*rowBytes) sized block of memory containing the image data. Note that each row of image data starts on a new byte. width Width of the image. height Height of the image. rowBytes Distance in bytes from begining of one row of image data to the next. bitOrder The order in which bits in a byte are addressed within the image data.
typedef struct TQ3BoundingBox {
TQ3Point3D min;
TQ3Point3D max;
TQ3Boolean isEmpty;
} TQ3BoundingBox;
Fundamental bounding box type.
Name Description min Minimum corner of bounding box. max Maximum corner of bounding box. isEmpty Is the bounding box empty. The box is only valid if isEmpty is kQ3False.
typedef struct TQ3BoundingSphere {
TQ3Point3D origin;
float radius;
TQ3Boolean isEmpty;
} TQ3BoundingSphere;
Fundamental bounding sphere type.
Name Description origin Origin of bounding sphere. radius Radius of bounding sphere. isEmpty Is the bounding sphere empty? The sphere is only valid if isEmpty is kQ3False.
typedef struct TQ3ColorARGB {
float a;
float r;
float g;
float b;
} TQ3ColorARGB;
Fundamental ARGB point type.
Name Description a Alpha component, between 0.0 (transparent) and 1.0 (opaque). r Red component, between 0.0 and 1.0. g Green component, between 0.0 and 1.0. b Blue component, between 0.0 and 1.0.
typedef struct TQ3ColorRGB {
float r;
float g;
float b;
} TQ3ColorRGB;
Fundamental RGB colour type.
Name Description r Red component, between 0.0 and 1.0. g Green component, between 0.0 and 1.0. b Blue component, between 0.0 and 1.0.
typedef struct TQ3ColorRGBA {
float r;
float g;
float b;
float a;
} TQ3ColorRGBA;
Fundamental RGBA point type.
Name Description r Red component, between 0.0 and 1.0. g Green component, between 0.0 and 1.0. b Blue component, between 0.0 and 1.0. a Alpha component, between 0.0 (transparent) and 1.0 (opaque).
typedef struct TQ3CompressedPixmap {
TQ3StorageObject compressedImage;
TQ3Endian imageDescByteOrder;
TQ3StorageObject imageDesc;
TQ3Boolean makeMipmaps;
TQ3Uns32 width;
TQ3Uns32 height;
TQ3Uns32 pixelSize;
TQ3PixelType pixelType;
} TQ3CompressedPixmap;
QuickTime compressed Pixmap image type. Only available on platforms with QuickTime.
Name Description compressedImage A storage object that contains the QuickTime compressed image data. imageDescByteOrder Endianness of data in the imageDesc field. imageDesc QuickTime image description. makeMipmaps Indicates if mipmapping is required. width Width of the image. height Height of the image. pixelSize Size in bits of each pixel (must be 16 or 32). pixelType The pixel format of the image data. The format must be appropriate for pixelSize.
typedef struct TQ3Matrix3x3 {
float value[3][3];
} TQ3Matrix3x3;
Fundamental 3x3 matrix type.
Name Description value 3x3 array of values that define the matrix.
typedef struct TQ3Matrix4x4 {
float value[4][4];
} TQ3Matrix4x4;
Fundamental 4x4 matrix type.
Name Description value 4x4 array of values that define the matrix.
typedef struct TQ3Mipmap {
TQ3StorageObject image;
TQ3Boolean useMipmapping;
TQ3PixelType pixelType;
TQ3Endian bitOrder;
TQ3Endian byteOrder;
TQ3Uns32 reserved;
TQ3MipmapImage mipmaps[32];
} TQ3Mipmap;
Fundamental Mipmap image type.
Name Description image A storage object that contains the image data. useMipmapping Flag indicating if mipmapping should be used and all mipmaps have been supplied. pixelType The pixel format of the image data. bitOrder The order in which bits in a byte are addressed within the image data. byteOrder The order in which bytes in a word are addressed within the image data. reserved Reserved - must be set to 0. mipmaps Up to 32 mip-map image specifications.
typedef struct TQ3MipmapImage {
TQ3Uns32 width;
TQ3Uns32 height;
TQ3Uns32 rowBytes;
TQ3Uns32 offset;
} TQ3MipmapImage;
Fundamental Mipmap image type.
Name Description width Width of the mipmap, which must be a power of 2. height Height of the mipmap, which must be a power of 2. rowBytes Distance in bytes from begining of one row of image data to the next. offset Offset in bytes from the begining of the image base to this mipmap.
typedef struct TQ3Param2D {
float u;
float v;
} TQ3Param2D;
Fundamental 2D parametric point type.
Name Description u u component. v v component.
typedef struct TQ3Param3D {
float u;
float v;
float w;
} TQ3Param3D;
Fundamental 3D parametric point type.
Name Description u u component. v v component. w w component.
typedef struct TQ3Pixmap {
void *image;
TQ3Uns32 width;
TQ3Uns32 height;
TQ3Uns32 rowBytes;
TQ3Uns32 pixelSize;
TQ3PixelType pixelType;
TQ3Endian bitOrder;
TQ3Endian byteOrder;
} TQ3Pixmap;
Fundamental Pixmap type.
Name Description image Pointer to (height*rowBytes) sized block of memory containing the image data. width Width of the image. height Height of the image. rowBytes Distance in bytes from begining of one row of image data to the next. pixelSize Size in bits of each pixel. pixelType The pixel format of the image data. The format must be appropriate for pixelSize. bitOrder The order in which bits in a byte are addressed within the image data. byteOrder The order in which bytes in a word are addressed within the image data.
typedef struct TQ3PlaneEquation {
TQ3Vector3D normal;
float constant;
} TQ3PlaneEquation;
Fundamental plane equation type.
Name Description normal The normal vector to the plane. constant The plane constant (the value d in the plane equation ax+by+cz+d=0).
typedef struct TQ3Point2D {
float x;
float y;
} TQ3Point2D;
Fundamental 2D point type.
Name Description x x coordinate. y y coordinate.
typedef struct TQ3Point3D {
float x;
float y;
float z;
} TQ3Point3D;
Fundamental 3D point type.
Name Description x x coordinate. y y coordinate. z z coordinate.
typedef struct TQ3PolarPoint {
float r;
float theta;
} TQ3PolarPoint;
Fundamental polar point type.
Name Description r Distance along the radius vector from polar origin. theta Angle in radians between polar axis and the radius vector.
typedef struct TQ3Quaternion {
float w;
float x;
float y;
float z;
} TQ3Quaternion;
Fundamental Quaternion type.
Name Description w w component. x x component. y y component. z z component.
typedef struct TQ3RationalPoint3D {
float x;
float y;
float w;
} TQ3RationalPoint3D;
Fundamental 3D rational point type.
Name Description x x coordinate. y y coordinate. w Point weight.
typedef struct TQ3RationalPoint4D {
float x;
float y;
float z;
float w;
} TQ3RationalPoint4D;
Fundamental 4D rational point type.
Name Description x x coordinate. y y coordinate. z z coordinate. w Point weight.
typedef struct TQ3Ray3D {
TQ3Point3D origin;
TQ3Vector3D direction;
} TQ3Ray3D;
Fundamental ray type.
Name Description origin Origin of ray. direction Direction of ray.
typedef struct TQ3Sphere {
TQ3Point3D origin;
float radius;
} TQ3Sphere;
Fundamental sphere type.
Name Description origin Origin of sphere. radius Radius of sphere.
typedef struct TQ3SphericalPoint {
float rho;
float theta;
float phi;
} TQ3SphericalPoint;
Fundamental spherical point type.
Name Description rho Distance along the radius vector from polar origin. theta Angle in radians between x axis and the projection of the radius vector onto the xy plane. phi Angle in radians between z axis and the radius vector.
typedef struct TQ3StoragePixmap {
TQ3StorageObject image;
TQ3Uns32 width;
TQ3Uns32 height;
TQ3Uns32 rowBytes;
TQ3Uns32 pixelSize;
TQ3PixelType pixelType;
TQ3Endian bitOrder;
TQ3Endian byteOrder;
} TQ3StoragePixmap;
Fundamental storage Pixmap type.
Name Description image A storage object that contains the image data. width Width of the image. height Height of the image. rowBytes Distance in bytes from begining of one row of image data to the next. pixelSize Size in bits of each pixel. pixelType The pixel format of the image data. The format must be appropriate for pixelSize. bitOrder The order in which bits in a byte are addressed within the image data. byteOrder The order in which bytes in a word are addressed within the image data.
typedef struct TQ3SubClassData {
TQ3Uns32 numClasses;
TQ3ObjectType *classTypes;
} TQ3SubClassData;
Object sub-class type.
Name Description numClasses The number of types contained in classTypes. classTypes The types of the sub-classes.
typedef struct TQ3Tangent2D {
TQ3Vector3D uTangent;
TQ3Vector3D vTangent;
} TQ3Tangent2D;
Fundamental 2D parametric surface tangent type.
Name Description uTangent Tangent in the u direction. vTangent Tangent in the v direction.
typedef struct TQ3Tangent3D {
TQ3Vector3D uTangent;
TQ3Vector3D vTangent;
TQ3Vector3D wTangent;
} TQ3Tangent3D;
Fundamental 3D parametric surface tangent type.
Name Description uTangent Tangent in the u direction. vTangent Tangent in the v direction. wTangent Tangent in the w direction.
typedef struct TQ3Vector2D {
float x;
float y;
} TQ3Vector2D;
Fundamental 2D vector type.
Name Description x x coordinate. y y coordinate.
typedef struct TQ3Vector3D {
float x;
float y;
float z;
} TQ3Vector3D;
Fundamental 3D vector type.
Name Description x x coordinate. y y coordinate. z z coordinate.
typedef struct TQ3Vertex3D {
TQ3Point3D point;
TQ3AttributeSet attributeSet;
} TQ3Vertex3D;
Fundamental vertex type.
Name Description point Location of the vertex. attributeSet Attribute set for the vertex.
Copyright © 1999-2003 Quesa Developers last updated on 8/10/2003