| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <IMeshManipulator.h>
Inheritance diagram for irr::scene::IMeshManipulator:

Public Member Functions | |
| virtual IAnimatedMesh * | createAnimatedMesh (IMesh *mesh, scene::E_ANIMATED_MESH_TYPE type=scene::EAMT_UNKNOWN) const =0 |
| Create a new AnimatedMesh and adds the mesh to it. | |
| virtual SMesh * | createMeshCopy (IMesh *mesh) const =0 |
| Clones a static IMesh into a modifiable SMesh. | |
| virtual IMesh * | createMeshUniquePrimitives (IMesh *mesh) const =0 |
| Creates a copy of a mesh with all vertices unwelded. | |
| virtual IMesh * | createMeshWelded (IMesh *mesh, f32 tolerance=core::ROUNDING_ERROR_32) const =0 |
| Creates a copy of a mesh with vertices welded. | |
| virtual IMesh * | createMeshWith2TCoords (IMesh *mesh) const =0 |
| Creates a copy of the mesh, which will only consist of S3DVertex2TCoord vertices. | |
| virtual IMesh * | createMeshWithTangents (IMesh *mesh) const =0 |
| Creates a copy of the mesh, which will only consist of S3DVertexTangents vertices. | |
| virtual void | flipSurfaces (IMesh *mesh) const =0 |
| Flips the direction of surfaces. | |
| virtual s32 | getPolyCount (IAnimatedMesh *mesh) const =0 |
| Get amount of polygons in mesh. | |
| virtual s32 | getPolyCount (IMesh *mesh) const =0 |
| Get amount of polygons in mesh. | |
| virtual void | makePlanarTextureMapping (IMesh *mesh, f32 resolution=0.001f) const =0 |
| Creates a planar texture mapping on the mesh. | |
| virtual void | recalculateNormals (IMeshBuffer *buffer, bool smooth=false) const =0 |
| Recalculates all normals of the mesh buffer. | |
| virtual void | recalculateNormals (IMesh *mesh, bool smooth=false) const =0 |
| Recalculates all normals of the mesh. | |
| virtual void | scaleMesh (IMesh *mesh, const core::vector3df &scale) const =0 |
| Scales the whole mesh. | |
| virtual void | setVertexColorAlpha (IMesh *mesh, s32 alpha) const =0 |
| Sets the alpha vertex color value of the whole mesh to a new value. | |
| virtual void | setVertexColors (IMesh *mesh, video::SColor color) const =0 |
| Sets the colors of all vertices to one color. | |
| virtual void | transformMesh (IMesh *mesh, const core::matrix4 &m) const =0 |
| Applies a transformation. | |
| virtual | ~IMeshManipulator () |
| Destructor. | |
Scale, set alpha value, flip surfaces, and so on. This exists for fixing problems with wrong imported or exported meshes quickly after loading. It is not intended for doing mesh modifications and/or animations during runtime.
Definition at line 30 of file IMeshManipulator.h.
|
|
Destructor.
Definition at line 35 of file IMeshManipulator.h. |
|
||||||||||||
|
Create a new AnimatedMesh and adds the mesh to it.
|
|
|
Clones a static IMesh into a modifiable SMesh. All meshbuffers in the returned SMesh are of type SMeshBuffer or SMeshBufferLightMap.
|
|
|
Creates a copy of a mesh with all vertices unwelded.
|
|
||||||||||||
|
Creates a copy of a mesh with vertices welded.
|
|
|
Creates a copy of the mesh, which will only consist of S3DVertex2TCoord vertices.
|
|
|
Creates a copy of the mesh, which will only consist of S3DVertexTangents vertices. This is useful if you want to draw tangent space normal mapped geometry because it calculates the tangent and binormal data which is needed there.
|
|
|
Flips the direction of surfaces. Changes backfacing triangles to frontfacing triangles and vice versa.
|
|
|
Get amount of polygons in mesh.
|
|
|
Get amount of polygons in mesh.
|
|
||||||||||||
|
Creates a planar texture mapping on the mesh.
|
|
||||||||||||
|
Recalculates all normals of the mesh buffer.
|
|
||||||||||||
|
Recalculates all normals of the mesh.
|
|
||||||||||||
|
Scales the whole mesh.
|
|
||||||||||||
|
Sets the alpha vertex color value of the whole mesh to a new value.
|
|
||||||||||||
|
Sets the colors of all vertices to one color.
|
|
||||||||||||
|
Applies a transformation.
|
| The Irrlicht
Engine Documentation © 2003-2008 by Nikolaus Gebhardt. Generated
on Sun Jun 1 07:59:18 2008 by Doxygen
(1.4.2) |