![]() ![]() ![]()
|
BREW C++ Class Library & GUI Framework & XML Middleware : SophiaFramework 4.1 |

| BREW 2.0 | BREW 2.1 | BREW 3.1 |
|---|---|---|
| X | O | X |
| Public Functions | |
|---|---|
| SFCError |
Draw(
SFB3DSmpConstRef i3D
)
Draw a 3D model.
|
| SFCError |
GetModelData(
AEE3DModelData** modelOut
)
Get the model information for an I3DModel instance.
|
| SFCError |
GetModelVertexList(
AEE3DVertex** vertexListOut
)
Get the vertex list stored in an I3DModel instance.
|
| SFCError |
Load(
ACharConstPtr fileName
) Load( SFXAnsiStringConstRef fileName )
Load a 3D model. The 3D model must be in the Q3D file format.
|
| static SFB3DModelSmp |
NewInstance( Void ) Create a new instance of SFB3DModel class.
|
| SFCError |
SetSegmentMVT(
AEE3DTransformMatrix* trans
, SInt16 index
)
Set the Model View Transformation Matrix (MVT) for a segment in the
model.
|
| SFCError |
SetTextureTbl(
AEE3DTexture* texture
, UInt16 index
)
Set the texture table in a model.
|
| SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(inherits from SFBQuery)
QueryInterface( AEECLSID clsid , SFBBaseSmpPtr handle ) (inherits from SFBQuery) Ask an object for another API contract from the object in question.
|
| SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
| Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
| SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
[ public ] SFCError Draw( SFB3DSmpConstRef i3D // pointer to SFB3D interface );
The model data contained in the pI3DModel interface must be in the AEE3DModelData format.
[ public ] SFCError GetModelData( AEE3DModelData** modelOut // address of a pointer to a model structure );
[ public ] SFCError GetModelVertexList( AEE3DVertex** vertexListOut // address of a pointer to a vertex list );
[ public ] SFCError Load( ACharConstPtr fileName // filename string );
[ public ] SFCError Load( SFXAnsiStringConstRef fileName // filename string );
[ public, static ] SFB3DModelSmp NewInstance(Void);
[ public ] SFCError SetSegmentMVT( AEE3DTransformMatrix* trans // pointer to a transformation matrix SInt16 index // segment index -1 will set all segments using this transformation );
[ public ] SFCError SetTextureTbl( AEE3DTexture* texture // pointer to a texture UInt16 index // index for the model’s texture table );
|
Copyright (C) 2002 - 2009 Sophia Cradle, Inc. All Rights Reserved. |
![]() ![]() ![]()
|