ScummVM API documentation
Tetraedge::TePickMesh2 Class Reference
Inheritance diagram for Tetraedge::TePickMesh2:
Tetraedge::Te3DObject2 Tetraedge::TeI3DObject2 Tetraedge::TeObject Tetraedge::TeFreeMoveZone

Public Member Functions

void draw () override
 
bool intersect (const TeVector3f32 &v1, const TeVector3f32 &v2, TeVector3f32 &v3, float &fout, bool useLastHit, uint *triangleHitOut)
 
bool intersect2D (const TeVector2f32 &pt)
 
uint lastTriangleHit () const
 
bool pointInTriangle (const TeVector2f32 &p1, const TeVector2f32 &p2, const TeVector2f32 &p3, const TeVector2f32 &p4) const
 
void setLastTriangleHit (uint lastHit)
 
void setNbTriangles (uint num)
 
void setTriangle (uint num, const TeVector3f32 &v1, const TeVector3f32 &v2, const TeVector3f32 &v3)
 
void triangle (uint num, TeVector3f32 &v1out, TeVector3f32 &v2out, TeVector3f32 &v3out) const
 
TeVector3f32 slide (const TeVector3f32 &pos)
 
Common::Array< TeVector3f32 > & verticies ()
 
const Common::Array< TeVector3f32 > & verticies () const
 
- Public Member Functions inherited from Tetraedge::Te3DObject2
virtual void addChild (Te3DObject2 *newChild)
 
virtual void addChildBefore (Te3DObject2 *newChild, const Te3DObject2 *ref)
 
virtual Te3DObject2child (int offset)
 
int childCount ()
 
int childIndex (Te3DObject2 *childToFind) const
 
const Common::Array< Te3DObject2 * > & childList () const
 
bool childListChanged () const
 
const TeColorcolor () const
 
bool colorInheritance () const
 
const Common::Stringname () const
 
virtual bool onParentWorldColorChanged ()
 
bool onParentWorldTransformationMatrixChanged ()
 
bool onWorldVisibleChangedSlot ()
 
TeSignal0ParamonPositionChanged ()
 
TeSignal0ParamonSizeChanged ()
 
TeSignal0ParamonWorldColorChanged ()
 
TeSignal0ParamonWorldTransformationMatrixChanged ()
 
TeSignal0ParamonWorldVisibleChanged ()
 
Te3DObject2parent ()
 
virtual TeVector3f32 position ()
 
virtual void removeChild (Te3DObject2 *toRemove)
 
virtual void removeChildren ()
 
void rotate (const TeQuaternion &rot)
 
const TeQuaternionrotation ()
 
const TeVector3f32scale () const
 
virtual void setColor (const TeColor &col)
 
virtual void setColorInheritance (bool val)
 
virtual bool setName (const Common::String &newName)
 
virtual void setParent (Te3DObject2 *newparent)
 
virtual void setPosition (const TeVector3f32 &pos)
 
virtual void setPositionFast (const TeVector3f32 &pos)
 
virtual void setRotation (const TeQuaternion &rot)
 
virtual void setScale (const TeVector3f32 &newScale)
 
virtual void setSize (const TeVector3f32 &newSize)
 
void setVisible (bool visible)
 
virtual void setZPosition (float zpos)
 
virtual TeVector3f32 size ()
 
TeMatrix4x4 transformationMatrix ()
 
virtual void translate (const TeVector3f32 &vec)
 
virtual void updateZ ()
 
virtual bool visible () const
 
TeColor worldColor ()
 
virtual TeVector3f32 worldPosition ()
 
TeQuaternion worldRotation ()
 
TeVector3f32 worldScale ()
 
virtual TeMatrix4x4 worldTransformationMatrix ()
 
virtual bool worldVisible ()
 
virtual float xSize ()
 
virtual float ySize ()
 
virtual float zSize ()
 
- Public Member Functions inherited from Tetraedge::TeObject
void deleteLater ()
 

Static Public Member Functions

static void serialize (Common::WriteStream &stream, const TePickMesh2 &mesh)
 
static void deserialize (Common::ReadStream &stream, TePickMesh2 &mesh)
 
- Static Public Member Functions inherited from Tetraedge::Te3DObject2
static void deserialize (Common::ReadStream &stream, Te3DObject2 &dest, bool includesName=true)
 
static void serialize (Common::WriteStream &stream, Te3DObject2 &src)
 
static bool loadAndCheckFourCC (Common::ReadStream &stream, const char *str)
 
static Common::String deserializeString (Common::ReadStream &stream)
 
static void deserializeVectorArray (Common::ReadStream &stream, Common::Array< TeVector3f32 > &dest)
 
static void deserializeUintArray (Common::ReadStream &stream, Common::Array< uint > &dest)
 
- Static Public Member Functions inherited from Tetraedge::TeObject
static void deleteLaterStatic (TeObject *obj)
 
static void deleteNow ()
 
static void cleanup ()
 

Protected Attributes

Common::Array< TeVector3f32_verticies
 
uint _lastTriangleHit
 
- Protected Attributes inherited from Tetraedge::Te3DObject2
TeVector3f32 _size
 
TeVector3f32 _position
 
TeQuaternion _rotation
 
TeVector3f32 _scale
 

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