TQ3Area |
typedef struct TQ3Area {
TQ3Point2D min;
TQ3Point2D max;
} TQ3Area;
Fundamental area type.
- min
- Minimum corner of area.
- max
- Maximum corner of area.
TQ3Bitmap |
typedef struct TQ3Bitmap {
TQ3Uns8 *image;
TQ3Uns32 width;
TQ3Uns32 height;
TQ3Uns32 rowBytes;
TQ3Endian bitOrder;
} TQ3Bitmap;
Fundamental Bitmap type.
- image
- Pointer to (height*rowBytes) sized block of memory containing the image data. 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.
TQ3BoundingBox |
typedef struct TQ3BoundingBox {
TQ3Point3D min;
TQ3Point3D max;
TQ3Boolean isEmpty;
} TQ3BoundingBox;
Fundamental bounding box type.
- 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.
TQ3BoundingSphere |
typedef struct TQ3BoundingSphere {
TQ3Point3D origin;
float radius;
TQ3Boolean isEmpty;
} TQ3BoundingSphere;
Fundamental bounding sphere type.
- 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.
TQ3ColorARGB |
typedef struct TQ3ColorARGB {
float a;
float r;
float g;
float b;
} TQ3ColorARGB;
Fundamental ARGB point type.
- 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.
TQ3ColorRGB |
typedef struct TQ3ColorRGB {
float r;
float g;
float b;
} TQ3ColorRGB;
Fundamental RGB colour type.
- 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.
TQ3ColorRGBA |
typedef struct TQ3ColorRGBA {
float r;
float g;
float b;
float a;
} TQ3ColorRGBA;
Fundamental RGBA point type.
- 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).
TQ3CompressedPixmap |
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.
- 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.
TQ3Matrix3x3 |
typedef struct TQ3Matrix3x3 {
float value[3][3];
} TQ3Matrix3x3;
Fundamental 3x3 matrix type.
- value
- 3x3 array of values that define the matrix.
TQ3Matrix4x4 |
typedef struct TQ3Matrix4x4 {
float value[4][4];
} TQ3Matrix4x4;
Fundamental 4x4 matrix type.
- value
- 4x4 array of values that define the matrix.
TQ3Mipmap |
typedef struct TQ3Mipmap {
TQ3StorageObject image;
TQ3Boolean useMipmapping;
TQ3PixelType pixelType;
TQ3Endian bitOrder;
TQ3Endian byteOrder;
TQ3Uns32 reserved;
TQ3MipmapImage mipmaps[32];
} TQ3Mipmap;
This is the data structure for a mipmap texture. If the useMipmapping field is kQ3False,
then only the first record of the mipmaps array needs to be filled in. If useMipmapping
is kQ3True, then the number of mipmaps should be the base 2 logarithm of the larger
dimension of the first mipmap, plus 1. For example, if the first mipmap is of size 4 × 16, then
you must also include mipmaps of sizes 2 × 8, 1 × 4, 1 × 2, and 1 × 1,
making 5 mipmaps in all.
- 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.
TQ3MipmapImage |
typedef struct TQ3MipmapImage {
TQ3Uns32 width;
TQ3Uns32 height;
TQ3Uns32 rowBytes;
TQ3Uns32 offset;
} TQ3MipmapImage;
Fundamental Mipmap image type.
- 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.
TQ3Param2D |
typedef struct TQ3Param2D {
float u;
float v;
} TQ3Param2D;
Fundamental 2D parametric point type.
- u
- u component.
- v
- v component.
TQ3Param3D |
typedef struct TQ3Param3D {
float u;
float v;
float w;
} TQ3Param3D;
Fundamental 3D parametric point type.
- u
- u component.
- v
- v component.
- w
- w component.
TQ3Pixmap |
typedef struct TQ3Pixmap {
void *image;
TQ3Uns32 width;
TQ3Uns32 height;
TQ3Uns32 rowBytes;
TQ3Uns32 pixelSize;
TQ3PixelType pixelType;
TQ3Endian bitOrder;
TQ3Endian byteOrder;
} TQ3Pixmap;
Fundamental Pixmap type.
- 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.
TQ3PlaneEquation |
typedef struct TQ3PlaneEquation {
TQ3Vector3D normal;
float constant;
} TQ3PlaneEquation;
Fundamental plane equation type.
- normal
- The normal vector to the plane.
- constant
- The plane constant (the value d in the plane equation ax+by+cz+d=0).
TQ3Point2D |
typedef struct TQ3Point2D {
float x;
float y;
} TQ3Point2D;
Fundamental 2D point type.
- x
- x coordinate.
- y
- y coordinate.
TQ3Point3D |
typedef struct TQ3Point3D {
float x;
float y;
float z;
} TQ3Point3D;
Fundamental 3D point type.
- x
- x coordinate.
- y
- y coordinate.
- z
- z coordinate.
TQ3PolarPoint |
typedef struct TQ3PolarPoint {
float r;
float theta;
} TQ3PolarPoint;
Fundamental polar point type.
- r
- Distance along the radius vector from polar origin.
- theta
- Angle in radians between polar axis and the radius vector.
TQ3Quaternion |
typedef struct TQ3Quaternion {
float w;
float x;
float y;
float z;
} TQ3Quaternion;
Fundamental Quaternion type.
- w
- w component.
- x
- x component.
- y
- y component.
- z
- z component.
TQ3RationalPoint3D |
typedef struct TQ3RationalPoint3D {
float x;
float y;
float w;
} TQ3RationalPoint3D;
Fundamental 3D rational point type.
- x
- x coordinate.
- y
- y coordinate.
- w
- Point weight.
TQ3RationalPoint4D |
typedef struct TQ3RationalPoint4D {
float x;
float y;
float z;
float w;
} TQ3RationalPoint4D;
Fundamental 4D rational point type.
- x
- x coordinate.
- y
- y coordinate.
- z
- z coordinate.
- w
- Point weight.
TQ3Ray3D |
typedef struct TQ3Ray3D {
TQ3Point3D origin;
TQ3Vector3D direction;
} TQ3Ray3D;
Fundamental ray type.
- origin
- Origin of ray.
- direction
- Direction of ray.
TQ3Sphere |
typedef struct TQ3Sphere {
TQ3Point3D origin;
float radius;
} TQ3Sphere;
Fundamental sphere type.
- origin
- Origin of sphere.
- radius
- Radius of sphere.
TQ3SphericalPoint |
typedef struct TQ3SphericalPoint {
float rho;
float theta;
float phi;
} TQ3SphericalPoint;
Fundamental spherical point type.
- 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.
TQ3StoragePixmap |
typedef struct TQ3StoragePixmap {
TQ3StorageObject image;
TQ3Uns32 width;
TQ3Uns32 height;
TQ3Uns32 rowBytes;
TQ3Uns32 pixelSize;
TQ3PixelType pixelType;
TQ3Endian bitOrder;
TQ3Endian byteOrder;
} TQ3StoragePixmap;
Fundamental storage Pixmap type.
- 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.
TQ3SubClassData |
typedef struct TQ3SubClassData {
TQ3Uns32 numClasses;
TQ3ObjectType *classTypes;
} TQ3SubClassData;
Object sub-class type.
- numClasses
- The number of types contained in classTypes.
- classTypes
- The types of the sub-classes.
TQ3Tangent2D |
typedef struct TQ3Tangent2D {
TQ3Vector3D uTangent;
TQ3Vector3D vTangent;
} TQ3Tangent2D;
Fundamental 2D parametric surface tangent type.
- uTangent
- Tangent in the u direction.
- vTangent
- Tangent in the v direction.
TQ3Tangent3D |
typedef struct TQ3Tangent3D {
TQ3Vector3D uTangent;
TQ3Vector3D vTangent;
TQ3Vector3D wTangent;
} TQ3Tangent3D;
Fundamental 3D parametric surface tangent type.
- uTangent
- Tangent in the u direction.
- vTangent
- Tangent in the v direction.
- wTangent
- Tangent in the w direction.
TQ3Vector2D |
typedef struct TQ3Vector2D {
float x;
float y;
} TQ3Vector2D;
Fundamental 2D vector type.
- x
- x coordinate.
- y
- y coordinate.
TQ3Vector3D |
typedef struct TQ3Vector3D {
float x;
float y;
float z;
} TQ3Vector3D;
Fundamental 3D vector type.
- x
- x coordinate.
- y
- y coordinate.
- z
- z coordinate.
TQ3Vertex3D |
typedef struct TQ3Vertex3D {
TQ3Point3D point;
TQ3AttributeSet attributeSet;
} TQ3Vertex3D;
Fundamental vertex type.
- point
- Location of the vertex.
- attributeSet
- Attribute set for the vertex.
© 1999-2008 Quesa Developers (Last Updated 5/10/2008)