Logo Search packages:      
Sourcecode: passage version File versions  Download package

Primitive3D Class Reference

#include <Primitive3D.h>

Inheritance diagram for Primitive3D:

Serializable LandscapePrimitive3D LathePrimitive3D

List of all members.

Detailed Description

3D primitive object.

Comprised of a triangle mesh, texture map, and anchor points.

Jason Rohrer

Definition at line 61 of file Primitive3D.h.

Public Member Functions

virtual Primitive3Dcopy ()
virtual int deserialize (InputStream *inInputStream)
virtual Primitive3DgetNewInstance ()
virtual int getNumAnimations ()
virtual int getNumParameters ()
virtual double getParameter (int inParameterIndex)
char isBackVisible ()
char isTransparent ()
 Primitive3D (long inWide, long inHigh, Vector3D **inVertices, long inNumTextures, RGBAImage **inTexture, double **inAnchorX, double **inAnchorY)
virtual int serialize (OutputStream *inOutputStream)
void setBackVisible (char inIsVisible)
virtual void setParameter (int inParameterIndex, double inValue)
void setTransparent (char inTransparent)
virtual void startAnimation (int inAnimationIndex)
virtual void step (double inStepSize)
virtual void stopAnimation (int inAnimationIndex)

Public Attributes

double ** mAnchorX
double ** mAnchorY
long mHigh
char mMembersAllocated
Vector3D ** mNormals
long mNumTextures
long mNumVertices
RGBAImage ** mTexture
Vector3D ** mVertices
long mWide

Protected Member Functions

void generateNormals ()

Protected Attributes

char mBackVisible
char mTransparent

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index