CENameElement_EmptyData |
( TQ3Status ) CENameElement_EmptyData ( char **name );
Release the data returned by CENameElement_GetData.
- name
- A pointer previously returned by CENameElement_GetData.
CENameElement_GetData |
( TQ3Status ) CENameElement_GetData ( TQ3Object object, char **name );
Get the name element for an object.
The name parameter will receive a C string, or NULL if no name has
been associated with the object. If a non-NULL pointer is returned,
it must be disposed of with CENameElement_EmptyData.
- object
- The object to query.
- name
- Receives the name associated with the object.
CENameElement_PeekData |
( TQ3Status ) CENameElement_PeekData ( TQ3Object object, const char **name );
Get the name element for an object.
The name parameter will receive a C string, or NULL if no name has
been associated with the object. If a non-NULL pointer is returned,
it should be considered read-only and temporary. Unlike
CENameElement_GetData, this function returns the actual string within
the element, not a copy.
- object
- The object to query.
- name
- Receives the name associated with the object.
CENameElement_SetData |
( TQ3Status ) CENameElement_SetData ( TQ3Object object, const char *name );
Set the name element for an object.
The name parameter should point to a C string, and will be copied
by CENameElement_SetData.
- object
- The object to assign the name to.
- name
- The C string to associate with the object.
CETriangleStripElement_GetData |
( TQ3Status ) CETriangleStripElement_GetData ( TQ3Object inObject, TQ3Uns32* outNumIndices, const TQ3Uns32** outIndices );
Triangle strips are used by the OpenGL renderer as a speed
optimization for rendering TriMesh objects.
If the current edit index of the object is not the same as
when a strip was assigned, the strip will be considered stale
and this function will return kQ3Failure.
This function returns the actual triangle strip data within
the element, not a copy. The data should be considered
read-only and temporary.
This function is not available in QD3D.
- inObject
- An object, normally a TriMesh.
- outNumIndices
- Receives count of indices.
- outIndices
- Receives address of array of vertex indices.
CETriangleStripElement_Remove |
(void) CETriangleStripElement_Remove ( TQ3Object ioObject );
- ioObject
- An object, normally a TriMesh.
CETriangleStripElement_SetData |
( TQ3Status ) CETriangleStripElement_SetData ( TQ3Object ioObject, TQ3Uns32 inNumIndices, const TQ3Uns32* inIndices );
Triangle strips are used by the OpenGL renderer as a speed
optimization for rendering TriMesh objects. If you have not
already provided a triangle strip for a TriMesh, the renderer
will compute one, but this can take a little time.
When you assign a triangle strip, the element also records the
current edit index of the object.
You can pass 0 for inNumIndices and NULL for inIndices to
indicate that you want to avoid using a triangle strip, perhaps
because there is no efficient strip for this geometry.
This function is not available in QD3D.
- ioObject
- An object, normally a TriMesh.
- inNumIndices
- Count of indices in the following array.
- inIndices
- Array of vertex indices making the strip.
CEUrlElement_EmptyData |
( TQ3Status ) CEUrlElement_EmptyData ( TCEUrlData **urlData );
Release the data returned by CEUrlElement_GetData.
- urlData
- A pointer previously returned by CEUrlElement_GetData.
CEUrlElement_GetData |
( TQ3Status ) CEUrlElement_GetData ( TQ3Object object, TCEUrlData **urlData );
Get the URL element for an object.
The urlData parameter will receive a pointer to the URL data, or NULL
if no URL element has been associated with the object. If a non-NULL
pointer is returned, it must be disposed of with CEUrlElement_EmptyData.
- object
- The object to retrieve the URL element from.
- urlData
- Receives the URL data.
CEUrlElement_SetData |
( TQ3Status ) CEUrlElement_SetData ( TQ3Object object, TCEUrlData *urlData );
Set the URL element for an object.
The URL element data will be copied by CEUrlElement_SetData.
- object
- The object to assign the URL element to.
- urlData
- The URL data to associate with the object.
CEWireElement_EmptyData |
( TQ3Status ) CEWireElement_EmptyData ( QTAtomContainer *wireData );
Release the data returned by CEWireElement_GetData.
- wireData
- A pointer previously returned by CEWireElement_GetData.
CEWireElement_GetData |
( TQ3Status ) CEWireElement_GetData ( TQ3Object object, QTAtomContainer *wireData );
Get the QuickTime wired element for an object.
The wireData parameter will receive a QTAtomContainer, or NULL if no
wired element has been associated with the object. If a non-NULL pointer
is returned, it must be disposed of with CEWireElement_EmptyData.
- object
- The object to query.
- wireData
- Receives the QuickTime wired element associated with the object.
CEWireElement_SetData |
( TQ3Status ) CEWireElement_SetData ( TQ3Object object, QTAtomContainer wireData );
Set the QuickTime wired element for an object.
- object
- The object to assign the element to.
- wireData
- The QuickTime wired element to associate with the object.
CEcNameElementName |
Class name of the name element.
Ordinarily you will not need to use the class name, because you
can manipulate name elements using the functions
CENameElement_SetData, CENameElement_GetData, and
CENameElement_EmptyData.
CEcUrlElementName |
Class name of the URL element.
Ordinarily you will not need to use the class name, because you
can manipulate name elements using the functions
CEUrlElement_SetData, CEUrlElement_GetData, and
CEUrlElement_EmptyData.
CEcWireElementName |
Class name of the wire element.
Ordinarily you will not need to use the class name, because you
can manipulate name elements using the functions
CEWireElement_SetData, CEWireElement_GetData, and
CEWireElement_EmptyData.
kQ3ClassNameCustomElementTriangleStrip |
Ordinarily you will not need to use the class name, because you can manipulate triangle strip elements using the functions CETriangleStripElement_SetData, CETriangleStripElement_GetData.
TCEUrlData |
typedef struct TCEUrlData {
char *url;
char *description;
TCEUrlOptions options;
} TCEUrlData;
Describes the data for a URL.
- url
- C string containing the full (scheme + path) URL.
- description
- Human readable description of the URL.
- options
- Options for the URL.
TCEUrlOptions |
typedef enum {
kCEUrlOptionNone = 0,
kCEUrlOptionUseMap = 1,
kCEUrlOptionSize32 = 0xFFFFFFFF
} TCEUrlOptions;
URL options.
- kCEUrlOptionNone
- No options set.
- kCEUrlOptionUseMap
- Map option set (meaning unknown).
© 1999-2008 Quesa Developers (Last Updated 5/10/2008)