PowerVR Software Development Kit


Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

PVRTModelPOD.h File Reference

Code to load POD files - models exported from MAX. More...

Go to the source code of this file.

Classes

class  CPODData
struct  SPODCamera
struct  SPODLight
struct  SPODMesh
struct  SPODNode
struct  SPODTexture
struct  SPODMaterial
struct  SPODScene
class  CPVRTPODScene

Defines

#define PVRTMODELPOD_VERSION   ("AB.POD.2.0")
#define PVRTMODELPODSF_FIXED   (0x00000001)

Enumerations

enum  EPODLight { ePODPoint, ePODDirectional }

Functions

size_t PVRTModelPODDataTypeSize (const EPVRTDataType type)
size_t PVRTModelPODDataTypeComponentCount (const EPVRTDataType type)
size_t PVRTModelPODDataStride (const CPODData &data)
void PVRTModelPODDataConvert (CPODData &data, const unsigned int nCnt, const EPVRTDataType eNewType)
void PVRTModelPODDataShred (CPODData &data, const unsigned int nCnt, const unsigned int nMask)
void PVRTModelPODToggleInterleaved (SPODMesh &mesh)
void PVRTModelPODDeIndex (SPODMesh &mesh)
void PVRTModelPODToggleStrips (SPODMesh &mesh)
unsigned int PVRTModelPODCountIndices (const SPODMesh &mesh)
void PVRTModelPODToggleFixedPoint (SPODScene &s)


Detailed Description

Code to load POD files - models exported from MAX.

Author:
PowerVR
Date:
February 2003
Copyright:
Copyright 2003-2004 by Imagination Technologies Limited. All rights reserved. No part of this software, either material or conceptual may be copied or distributed, transmitted, transcribed, stored in a retrieval system or translated into any human or computer language in any form by any means, electronic, mechanical, manual or other-wise, or disclosed to third parties without the express written permission of Imagination Technologies Limited, Unit 8, HomePark Industrial Estate, King's Langley, Hertfordshire, WD4 8LZ, U.K.
Platform:
ANSI compatible
Description:
Code to load POD files - models exported from MAX.
Revision
1.38

Define Documentation



PVRTMODELPOD_VERSION


#define PVRTMODELPOD_VERSION   ("AB.POD.2.0")
 



PVRTMODELPODSF_FIXED


#define PVRTMODELPODSF_FIXED   (0x00000001)
 


Enumeration Type Documentation



EPODLight


enum EPODLight
 

Enumeration values:
ePODPoint 
ePODDirectional 

Function Documentation



PVRTModelPODCountIndices


unsigned int PVRTModelPODCountIndices const SPODMesh mesh  ) 
 

Inputs:
mesh Mesh
Returns:
Number of indices used by mesh
Description:
Counts the number of indices of a mesh



PVRTModelPODDataConvert


void PVRTModelPODDataConvert CPODData data,
const unsigned int  nCnt,
const EPVRTDataType  eNewType
 

Modified:
data Data elements to convert
Inputs:
eNewType New type of elements
nCnt Number of elements
Description:
Convert the format of the array of vectors.



PVRTModelPODDataShred


void PVRTModelPODDataShred CPODData data,
const unsigned int  nCnt,
const unsigned int  nMask
 

Modified:
data Data elements to modify
Inputs:
nCnt Number of elements
nMask Channel masks
Description:
Reduce the number of dimensions in 'data' using the channel masks in 'nMask'.



PVRTModelPODDataStride


size_t PVRTModelPODDataStride const CPODData data  ) 
 

Inputs:
data Data elements
Returns:
Size of the vector elements
Description:
Returns the size of the vector of data elements.



PVRTModelPODDataTypeComponentCount


size_t PVRTModelPODDataTypeComponentCount const EPVRTDataType  type  ) 
 

Inputs:
type Type to get the number of components from
Returns:
number of components in the data element
Description:
Returns the number of components in a data element.



PVRTModelPODDataTypeSize


size_t PVRTModelPODDataTypeSize const EPVRTDataType  type  ) 
 

Inputs:
type Type to get the size of
Returns:
Size of the data element
Description:
Returns the size of each data element.



PVRTModelPODDeIndex


void PVRTModelPODDeIndex SPODMesh mesh  ) 
 

Modified:
mesh Mesh to modify
Description:
De-indexes the supplied mesh. The mesh must be Interleaved before calling this function.



PVRTModelPODToggleFixedPoint


void PVRTModelPODToggleFixedPoint SPODScene s  ) 
 

Modified:
s Scene to modify
Description:
Switch all non-vertex data between fixed-point and floating-point.



PVRTModelPODToggleInterleaved


void PVRTModelPODToggleInterleaved SPODMesh mesh  ) 
 

Modified:
mesh Mesh to modify
Description:
Switches the supplied mesh to or from interleaved data format.



PVRTModelPODToggleStrips


void PVRTModelPODToggleStrips SPODMesh mesh  ) 
 

Modified:
mesh Mesh to modify
Description:
Converts the supplied mesh to or from strips.


Copyright © 1999-2006, PowerVR Technologies and partners. PowerVR Technologies is a division of Imagination Technologies Ltd.


Generated by DOXYGEN 1.3.6