#include <OgrePatchMesh.h>
Inheritance diagram for Ogre::PatchMesh:
Public Types | |
typedef std::vector< Real > | LodDistanceList |
typedef std::multimap< size_t, VertexBoneAssignment > | VertexBoneAssignmentList |
Multimap of vertex bone assignments (orders by vertex index). | |
typedef MapIterator< VertexBoneAssignmentList > | BoneAssignmentIterator |
typedef std::vector< SubMesh * > | SubMeshList |
typedef std::vector< unsigned short > | IndexMap |
typedef HashMap< String, ushort > | SubMeshNameMap |
A hashmap used to store optional SubMesh names. | |
typedef VectorIterator< SubMeshList > | SubMeshIterator |
typedef VectorIterator< PoseList > | PoseIterator |
typedef ConstVectorIterator< PoseList > | ConstPoseIterator |
Public Member Functions | |
PatchMesh (ResourceManager *creator, const String &name, ResourceHandle handle, const String &group) | |
Constructor. | |
void | define (void *controlPointBuffer, VertexDeclaration *declaration, size_t width, size_t height, size_t uMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, size_t vMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, PatchSurface::VisibleSide visibleSide=PatchSurface::VS_FRONT, HardwareBuffer::Usage vbUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage ibUsage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY, bool vbUseShadow=false, bool ibUseShadow=false) |
Define the patch, as defined in MeshManager::createBezierPatch. | |
void | setSubdivision (Real factor) |
void | load (void) |
| |
SubMesh * | createSubMesh (void) |
Creates a new SubMesh. | |
SubMesh * | createSubMesh (const String &name) |
Creates a new SubMesh and gives it a name. | |
void | nameSubMesh (const String &name, ushort index) |
Gives a name to a SubMesh. | |
ushort | _getSubMeshIndex (const String &name) const |
Gets the index of a submesh with a given name. | |
unsigned short | getNumSubMeshes (void) const |
Gets the number of sub meshes which comprise this mesh. | |
SubMesh * | getSubMesh (unsigned short index) const |
Gets a pointer to the submesh indicated by the index. | |
SubMesh * | getSubMesh (const String &name) const |
Gets a SubMesh by name. | |
SubMeshIterator | getSubMeshIterator (void) |
Gets an iterator over the available submeshes. | |
MeshPtr | clone (const String &newName, const String &newGroup=StringUtil::BLANK) |
Makes a copy of this mesh object and gives it a new name. | |
const AxisAlignedBox & | getBounds (void) const |
Get the axis-aligned bounding box for this mesh. | |
Real | getBoundingSphereRadius (void) const |
Gets the radius of the bounding sphere surrounding this mesh. | |
void | _setBounds (const AxisAlignedBox &bounds, bool pad=true) |
Manually set the bounding box for this Mesh. | |
void | _setBoundingSphereRadius (Real radius) |
Manually set the bounding radius. | |
void | setSkeletonName (const String &skelName) |
Sets the name of the skeleton this Mesh uses for animation. | |
bool | hasSkeleton (void) const |
Returns true if this Mesh has a linked Skeleton. | |
bool | hasVertexAnimation (void) const |
Returns whether or not this mesh has some kind of vertex animation. | |
const SkeletonPtr & | getSkeleton (void) const |
Gets a pointer to any linked Skeleton. | |
const String & | getSkeletonName (void) const |
Gets the name of any linked Skeleton. | |
void | _initAnimationState (AnimationStateSet *animSet) |
Initialise an animation set suitable for use with this mesh. | |
void | addBoneAssignment (const VertexBoneAssignment &vertBoneAssign) |
Assigns a vertex to a bone with a given weight, for skeletal animation. | |
void | clearBoneAssignments (void) |
Removes all bone assignments for this mesh. | |
void | _notifySkeleton (SkeletonPtr &pSkel) |
Internal notification, used to tell the Mesh which Skeleton to use without loading it. | |
BoneAssignmentIterator | getBoneAssignmentIterator (void) |
Gets an iterator for access all bone assignments. | |
void | generateLodLevels (const LodDistanceList &lodDistances, ProgressiveMesh::VertexReductionQuota reductionMethod, Real reductionValue) |
Automatically generates lower level of detail versions of this mesh for use when a simpler version of the model is acceptable for rendering. | |
ushort | getNumLodLevels (void) const |
Returns the number of levels of detail that this mesh supports. | |
const MeshLodUsage & | getLodLevel (ushort index) const |
Gets details of the numbered level of detail entry. | |
void | createManualLodLevel (Real fromDepth, const String &meshName) |
Adds a new manual level-of-detail entry to this Mesh. | |
void | updateManualLodLevel (ushort index, const String &meshName) |
Changes the alternate mesh to use as a manual LOD at the given index. | |
ushort | getLodIndex (Real depth) const |
Retrieves the level of detail index for the given depth value. | |
ushort | getLodIndexSquaredDepth (Real squaredDepth) const |
Retrieves the level of detail index for the given squared depth value. | |
bool | isLodManual (void) const |
Returns true if this mesh is using manual LOD. | |
void | _setLodInfo (unsigned short numLevels, bool isManual) |
Internal methods for loading LOD, do not use. | |
void | _setLodUsage (unsigned short level, MeshLodUsage &usage) |
Internal methods for loading LOD, do not use. | |
void | _setSubMeshLodFaceList (unsigned short subIdx, unsigned short level, IndexData *facedata) |
Internal methods for loading LOD, do not use. | |
void | removeLodLevels (void) |
Removes all LOD data from this Mesh. | |
void | setVertexBufferPolicy (HardwareBuffer::Usage usage, bool shadowBuffer=false) |
Sets the policy for the vertex buffers to be used when loading this Mesh. | |
void | setIndexBufferPolicy (HardwareBuffer::Usage usage, bool shadowBuffer=false) |
Sets the policy for the index buffers to be used when loading this Mesh. | |
HardwareBuffer::Usage | getVertexBufferUsage (void) const |
Gets the usage setting for this meshes vertex buffers. | |
HardwareBuffer::Usage | getIndexBufferUsage (void) const |
Gets the usage setting for this meshes index buffers. | |
bool | isVertexBufferShadowed (void) const |
Gets whether or not this meshes vertex buffers are shadowed. | |
bool | isIndexBufferShadowed (void) const |
Gets whether or not this meshes index buffers are shadowed. | |
unsigned short | _rationaliseBoneAssignments (size_t vertexCount, VertexBoneAssignmentList &assignments) |
Rationalises the passed in bone assignment list. | |
void | _compileBoneAssignments (void) |
Internal method, be called once to compile bone assignments into geometry buffer. | |
void | _updateCompiledBoneAssignments (void) |
Internal method, be called once to update the compiled bone assignments. | |
void | buildTangentVectors (unsigned short sourceTexCoordSet=0, unsigned short destTexCoordSet=1) |
This method builds a set of tangent vectors for a given mesh into a 3D texture coordinate buffer. | |
bool | suggestTangentVectorBuildParams (unsigned short &outSourceCoordSet, unsigned short &outDestCoordSet) |
Ask the mesh to suggest parameters to a future buildTangentVectors call. | |
void | buildEdgeList (void) |
Builds an edge list for this mesh, which can be used for generating a shadow volume among other things. | |
void | freeEdgeList (void) |
Destroys and frees the edge lists this mesh has built. | |
void | prepareForShadowVolume (void) |
This method prepares the mesh for generating a renderable shadow volume. | |
EdgeData * | getEdgeList (unsigned int lodIndex=0) |
Return the edge list for this mesh, building it if required. | |
const EdgeData * | getEdgeList (unsigned int lodIndex=0) const |
Return the edge list for this mesh, building it if required. | |
bool | isPreparedForShadowVolumes (void) const |
Returns whether this mesh has already had it's geometry prepared for use in rendering shadow volumes. | |
bool | isEdgeListBuilt (void) const |
Returns whether this mesh has an attached edge list. | |
const SubMeshNameMap & | getSubMeshNameMap (void) const |
Gets a reference to the optional name assignments of the SubMeshes. | |
void | setAutoBuildEdgeLists (bool autobuild) |
Sets whether or not this Mesh should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided. | |
bool | getAutoBuildEdgeLists (void) const |
Sets whether or not this Mesh should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided. | |
virtual VertexAnimationType | getSharedVertexDataAnimationType (void) const |
Gets the type of vertex animation the shared vertex data of this mesh supports. | |
virtual Animation * | createAnimation (const String &name, Real length) |
Creates a new Animation object for vertex animating this mesh. | |
virtual Animation * | getAnimation (const String &name) const |
Returns the named vertex Animation object. | |
virtual Animation * | getAnimation (unsigned short index) const |
Gets a single morph animation by index. | |
virtual Animation * | _getAnimationImpl (const String &name) const |
Internal access to the named vertex Animation object - returns null if it does not exist. | |
virtual bool | hasAnimation (const String &name) |
Returns whether this mesh contains the named vertex animation. | |
virtual void | removeAnimation (const String &name) |
Removes vertex Animation from this mesh. | |
virtual unsigned short | getNumAnimations (void) const |
Gets the number of morph animations in this mesh. | |
virtual void | removeAllAnimations (void) |
Removes all morph Animations from this mesh. | |
VertexData * | getVertexDataByTrackHandle (unsigned short handle) |
Gets a pointer to a vertex data element based on a morph animation track handle. | |
void | updateMaterialForAllSubMeshes (void) |
Iterates through all submeshes and requests them to apply their texture aliases to the material they use. | |
void | _determineAnimationTypes (void) const |
Internal method which, if animation types have not been determined, scans any vertex animations and determines the type for each set of vertex data (cannot have 2 different types). | |
bool | _getAnimationTypesDirty (void) const |
Are the derived animation types out of date? | |
Pose * | createPose (ushort target, const String &name=StringUtil::BLANK) |
Create a new Pose for this mesh or one of its submeshes. | |
size_t | getPoseCount (void) const |
Get the number of poses. | |
Pose * | getPose (ushort index) |
Retrieve an existing Pose by index. | |
Pose * | getPose (const String &name) |
Retrieve an existing Pose by name. | |
void | removePose (ushort index) |
Destroy a pose by index. | |
void | removePose (const String &name) |
Destroy a pose by name. | |
void | removeAllPoses (void) |
Destroy all poses. | |
PoseIterator | getPoseIterator (void) |
Get an iterator over all the poses defined. | |
ConstPoseIterator | getPoseIterator (void) const |
Get an iterator over all the poses defined. | |
const PoseList & | getPoseList (void) const |
Get pose list. | |
virtual void | reload (void) |
Reloads the resource, if it is already loaded. | |
bool | isReloadable (void) const |
Returns true if the Resource is reloadable, false otherwise. | |
bool | isManuallyLoaded (void) const |
Is this resource manually loaded? | |
virtual void | unload (void) |
Unloads the resource; this is not permanent, the resource can be reloaded later if required. | |
size_t | getSize (void) const |
Retrieves info about the size of the resource. | |
virtual void | touch (void) |
'Touches' the resource to indicate it has been used. | |
const String & | getName (void) const |
Gets resource name. | |
ResourceHandle | getHandle (void) const |
bool | isLoaded (void) const |
Returns true if the Resource has been loaded, false otherwise. | |
const String & | getGroup (void) |
Gets the group which this resource is a member of. | |
void | changeGroupOwnership (const String &newGroup) |
Change the resource group ownership of a Resource. | |
ResourceManager * | getCreator (void) |
Gets the manager which created this resource. | |
const String & | getOrigin (void) const |
Get the origin of this resource, e.g. | |
void | _notifyOrigin (const String &origin) |
Notify this resource of it's origin. | |
ParamDictionary * | getParamDictionary (void) |
Retrieves the parameter dictionary for this class. | |
const ParamDictionary * | getParamDictionary (void) const |
const ParameterList & | getParameters (void) const |
Retrieves a list of parameters valid for this object. | |
virtual bool | setParameter (const String &name, const String &value) |
Generic parameter setting method. | |
virtual void | setParameterList (const NameValuePairList ¶mList) |
Generic multiple parameter setting method. | |
virtual String | getParameter (const String &name) const |
Generic parameter retrieval method. | |
virtual void | copyParametersTo (StringInterface *dest) const |
Method for copying this object's parameters to another object. | |
Static Public Member Functions | |
void | softwareVertexBlend (const VertexData *sourceVertexData, const VertexData *targetVertexData, const Matrix4 *pMatrices, const unsigned short *pIndexMap, bool blendNormals) |
Performs a software indexed vertex blend, of the kind used for skeletal animation although it can be used for other purposes. | |
void | softwareVertexMorph (Real t, const HardwareVertexBufferSharedPtr &b1, const HardwareVertexBufferSharedPtr &b2, VertexData *targetVertexData) |
Performs a software vertex morph, of the kind used for morph animation although it can be used for other purposes. | |
void | softwareVertexPoseBlend (Real weight, const std::map< size_t, Vector3 > &vertexOffsetMap, VertexData *targetVertexData) |
Performs a software vertex pose blend, of the kind used for morph animation although it can be used for other purposes. | |
void | cleanupDictionary () |
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the ResourceManager implementers (e.g. | |
Public Attributes | |
VertexData * | sharedVertexData |
Shared vertex data. | |
IndexMap | sharedBlendIndexToBoneIndexMap |
Shared index map for translating blend index to bone index. | |
Protected Types | |
typedef std::vector< MeshLodUsage > | MeshLodUsageList |
typedef std::map< String, Animation * > | AnimationList |
Storage of morph animations, lookup by name. | |
Protected Member Functions | |
void | loadImpl (void) |
Overridden from Resource. | |
void | organiseTangentsBuffer (VertexData *vertexData, unsigned short destCoordSet) |
Internal method for making the space for a 3D texture coord buffer to hold tangents. | |
void | buildIndexMap (const VertexBoneAssignmentList &boneAssignments, IndexMap &boneIndexToBlendIndexMap, IndexMap &blendIndexToBoneIndexMap) |
Build the index map between bone index and blend index. | |
void | compileBoneAssignments (const VertexBoneAssignmentList &boneAssignments, unsigned short numBlendWeightsPerVertex, IndexMap &blendIndexToBoneIndexMap, VertexData *targetVertexData) |
Compile bone assignments into blend index and weight buffers. | |
void | unloadImpl (void) |
| |
size_t | calculateSize (void) const |
| |
bool | createParamDictionary (const String &className) |
Internal method for creating a parameter dictionary for the class, if it does not already exist. | |
Protected Attributes | |
PatchSurface | mSurface |
Internal surface definition. | |
VertexDeclaration * | mDeclaration |
Vertex declaration, cloned from the input. | |
SubMeshList | mSubMeshList |
A list of submeshes which make up this mesh. | |
SubMeshNameMap | mSubMeshNameMap |
AxisAlignedBox | mAABB |
Local bounding box volume. | |
Real | mBoundRadius |
Local bounding sphere radius (centered on object). | |
String | mSkeletonName |
Optional linked skeleton. | |
SkeletonPtr | mSkeleton |
VertexBoneAssignmentList | mBoneAssignments |
bool | mBoneAssignmentsOutOfDate |
Flag indicating that bone assignments need to be recompiled. | |
bool | mIsLodManual |
ushort | mNumLods |
MeshLodUsageList | mMeshLodUsageList |
HardwareBuffer::Usage | mVertexBufferUsage |
HardwareBuffer::Usage | mIndexBufferUsage |
bool | mVertexBufferShadowBuffer |
bool | mIndexBufferShadowBuffer |
bool | mPreparedForShadowVolumes |
bool | mEdgeListsBuilt |
bool | mAutoBuildEdgeLists |
AnimationList | mAnimationsList |
VertexAnimationType | mSharedVertexDataAnimationType |
The vertex animation type associated with the shared vertex data. | |
bool | mAnimationTypesDirty |
Do we need to scan animations for animation types? | |
PoseList | mPoseList |
List of available poses for shared and dedicated geometryPoseList. | |
ResourceManager * | mCreator |
Creator. | |
String | mName |
Unique name of the resource. | |
String | mGroup |
The name of the resource group. | |
ResourceHandle | mHandle |
Numeric handle for more efficient look up than name. | |
bool | mIsLoaded |
Is the resource currently loaded? | |
size_t | mSize |
The size of the resource in bytes. | |
bool | mIsManual |
Is this file manually loaded? | |
String | mOrigin |
Origin of this resource (e.g. script name) - optional. | |
ManualResourceLoader * | mLoader |
Optional manual loader; if provided, data is loaded from here instead of a file. | |
String | mParamDictName |
Class name for this instance to be used as a lookup (must be initialised by subclasses). | |
Static Protected Attributes | |
ParamDictionaryMap | msDictionary |
Dictionary of parameters. |
Definition at line 38 of file OgrePatchMesh.h.
|
Storage of morph animations, lookup by name.
Definition at line 158 of file OgreMesh.h. |
|
Definition at line 92 of file OgreMesh.h. |
|
Definition at line 790 of file OgreMesh.h. |
|
Definition at line 94 of file OgreMesh.h. |
|
Definition at line 89 of file OgreMesh.h. |
|
Definition at line 144 of file OgreMesh.h. |
|
Definition at line 789 of file OgreMesh.h. |
|
Definition at line 228 of file OgreMesh.h. Referenced by Ogre::Mesh::getSubMeshIterator(). |
|
Definition at line 93 of file OgreMesh.h. |
|
A hashmap used to store optional SubMesh names. Translates a name into SubMesh index Definition at line 112 of file OgreMesh.h. Referenced by Ogre::Mesh::getSubMeshNameMap(). |
|
Multimap of vertex bone assignments (orders by vertex index).
Definition at line 91 of file OgreMesh.h. |
|
Constructor.
|
|
Internal method, be called once to compile bone assignments into geometry buffer.
|
|
Internal method which, if animation types have not been determined, scans any vertex animations and determines the type for each set of vertex data (cannot have 2 different types).
|
|
Internal access to the named vertex Animation object - returns null if it does not exist.
|
|
Are the derived animation types out of date?
Definition at line 763 of file OgreMesh.h. |
|
Gets the index of a submesh with a given name.
|
|
Initialise an animation set suitable for use with this mesh.
|
|
Notify this resource of it's origin.
Definition at line 223 of file OgreResource.h. References Ogre::String. |
|
Internal notification, used to tell the Mesh which Skeleton to use without loading it.
|
|
Rationalises the passed in bone assignment list.
|
|
Manually set the bounding radius.
|
|
Manually set the bounding box for this Mesh.
|
|
Internal methods for loading LOD, do not use.
|
|
Internal methods for loading LOD, do not use.
|
|
Internal methods for loading LOD, do not use.
|
|
Internal method, be called once to update the compiled bone assignments.
|
|
Assigns a vertex to a bone with a given weight, for skeletal animation.
|
|
Builds an edge list for this mesh, which can be used for generating a shadow volume among other things.
|
|
Build the index map between bone index and blend index.
|
|
This method builds a set of tangent vectors for a given mesh into a 3D texture coordinate buffer.
|
|
Implements Ogre::Resource. |
|
Change the resource group ownership of a Resource.
|
|
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the ResourceManager implementers (e.g. MaterialManager) initializes. |
|
Removes all bone assignments for this mesh.
|
|
Makes a copy of this mesh object and gives it a new name.
|
|
Compile bone assignments into blend index and weight buffers.
|
|
Method for copying this object's parameters to another object.
Definition at line 296 of file OgreStringInterface.h. References Ogre::ParamDictionary::mParamDefs, and Ogre::StringInterface::setParameter(). |
|
Creates a new Animation object for vertex animating this mesh.
|
|
Adds a new manual level-of-detail entry to this Mesh.
|
|
Internal method for creating a parameter dictionary for the class, if it does not already exist.
Definition at line 172 of file OgreStringInterface.h. References Ogre::String. |
|
Create a new Pose for this mesh or one of its submeshes.
|
|
Creates a new SubMesh and gives it a name.
|
|
Creates a new SubMesh.
|
|
Define the patch, as defined in MeshManager::createBezierPatch.
|
|
Destroys and frees the edge lists this mesh has built.
|
|
Automatically generates lower level of detail versions of this mesh for use when a simpler version of the model is acceptable for rendering.
|
|
Gets a single morph animation by index.
|
|
Returns the named vertex Animation object.
|
|
Sets whether or not this Mesh should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided.
Definition at line 700 of file OgreMesh.h. |
|
Gets an iterator for access all bone assignments.
|
|
Gets the radius of the bounding sphere surrounding this mesh.
|
|
Get the axis-aligned bounding box for this mesh.
|
|
Gets the manager which created this resource.
Definition at line 214 of file OgreResource.h. |
|
Return the edge list for this mesh, building it if required.
|
|
Return the edge list for this mesh, building it if required.
|
|
Gets the group which this resource is a member of.
Definition at line 202 of file OgreResource.h. References Ogre::String. |
|
Definition at line 188 of file OgreResource.h. References Ogre::ResourceHandle. |
|
Gets the usage setting for this meshes index buffers.
Definition at line 505 of file OgreMesh.h. |
|
Retrieves the level of detail index for the given depth value.
|
|
Retrieves the level of detail index for the given squared depth value.
|
|
Gets details of the numbered level of detail entry.
|
|
Gets resource name.
Definition at line 183 of file OgreResource.h. References Ogre::String. |
|
Gets the number of morph animations in this mesh.
|
|
Returns the number of levels of detail that this mesh supports.
|
|
Gets the number of sub meshes which comprise this mesh.
|
|
Get the origin of this resource, e.g. a script file name.
Definition at line 221 of file OgreResource.h. References Ogre::String. |
|
Definition at line 209 of file OgreStringInterface.h. |
|
Retrieves the parameter dictionary for this class.
Definition at line 196 of file OgreStringInterface.h. |
|
Generic parameter retrieval method.
Definition at line 265 of file OgreStringInterface.h. References Ogre::ParamCommand::doGet(), Ogre::ParamDictionary::getParamCommand(), and Ogre::String. |
|
Retrieves a list of parameters valid for this object.
|
|
Retrieve an existing Pose by name.
|
|
Retrieve an existing Pose by index.
|
|
Get the number of poses.
Definition at line 773 of file OgreMesh.h. |
|
Get an iterator over all the poses defined.
|
|
Get an iterator over all the poses defined.
|
|
Get pose list.
|
|
Gets the type of vertex animation the shared vertex data of this mesh supports.
|
|
Retrieves info about the size of the resource.
Definition at line 172 of file OgreResource.h. |
|
Gets a pointer to any linked Skeleton.
|
|
Gets the name of any linked Skeleton.
|
|
Gets a SubMesh by name.
|
|
Gets a pointer to the submesh indicated by the index.
|
|
Gets an iterator over the available submeshes.
Definition at line 230 of file OgreMesh.h. References Ogre::Mesh::SubMeshIterator. |
|
Gets a reference to the optional name assignments of the SubMeshes.
Definition at line 683 of file OgreMesh.h. References Ogre::Mesh::SubMeshNameMap. |
|
Gets the usage setting for this meshes vertex buffers.
Definition at line 503 of file OgreMesh.h. |
|
Gets a pointer to a vertex data element based on a morph animation track handle.
|
|
Returns whether this mesh contains the named vertex animation.
|
|
Returns true if this Mesh has a linked Skeleton.
|
|
Returns whether or not this mesh has some kind of vertex animation.
|
|
Returns whether this mesh has an attached edge list.
Definition at line 624 of file OgreMesh.h. |
|
Gets whether or not this meshes index buffers are shadowed.
Definition at line 509 of file OgreMesh.h. |
|
Returns true if the Resource has been loaded, false otherwise.
Definition at line 195 of file OgreResource.h. References OGRE_LOCK_AUTO_MUTEX. |
|
Returns true if this mesh is using manual LOD.
Definition at line 444 of file OgreMesh.h. |
|
Is this resource manually loaded?
Definition at line 160 of file OgreResource.h. |
|
Returns whether this mesh has already had it's geometry prepared for use in rendering shadow volumes.
Definition at line 621 of file OgreMesh.h. |
|
Returns true if the Resource is reloadable, false otherwise.
Definition at line 153 of file OgreResource.h. |
|
Gets whether or not this meshes vertex buffers are shadowed.
Definition at line 507 of file OgreMesh.h. |
|
Reimplemented from Ogre::Resource. |
|
Overridden from Resource.
Reimplemented from Ogre::Mesh. |
|
Gives a name to a SubMesh.
|
|
Internal method for making the space for a 3D texture coord buffer to hold tangents.
|
|
This method prepares the mesh for generating a renderable shadow volume.
|
|
Reloads the resource, if it is already loaded.
|
|
Removes all morph Animations from this mesh.
|
|
Destroy all poses.
|
|
Removes vertex Animation from this mesh.
|
|
Removes all LOD data from this Mesh.
|
|
Destroy a pose by name.
|
|
Destroy a pose by index.
|
|
Sets whether or not this Mesh should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided.
Definition at line 695 of file OgreMesh.h. |
|
Sets the policy for the index buffers to be used when loading this Mesh.
|
|
Generic parameter setting method.
Referenced by Ogre::StringInterface::copyParametersTo(). |
|
Generic multiple parameter setting method.
|
|
Sets the name of the skeleton this Mesh uses for animation.
|
|
|
|
Sets the policy for the vertex buffers to be used when loading this Mesh.
|
|
Performs a software indexed vertex blend, of the kind used for skeletal animation although it can be used for other purposes.
|
|
Performs a software vertex morph, of the kind used for morph animation although it can be used for other purposes.
|
|
Performs a software vertex pose blend, of the kind used for morph animation although it can be used for other purposes.
|
|
Ask the mesh to suggest parameters to a future buildTangentVectors call.
|
|
'Touches' the resource to indicate it has been used.
Reimplemented in Ogre::Material. |
|
Unloads the resource; this is not permanent, the resource can be reloaded later if required.
Reimplemented in Ogre::GLSLGpuProgram. |
|
Implements Ogre::Resource. |
|
Changes the alternate mesh to use as a manual LOD at the given index.
|
|
Iterates through all submeshes and requests them to apply their texture aliases to the material they use.
|
|
Local bounding box volume.
Definition at line 119 of file OgreMesh.h. |
|
Definition at line 159 of file OgreMesh.h. |
|
Do we need to scan animations for animation types?
Definition at line 163 of file OgreMesh.h. |
|
Definition at line 155 of file OgreMesh.h. |
|
Definition at line 128 of file OgreMesh.h. |
|
Flag indicating that bone assignments need to be recompiled.
Definition at line 131 of file OgreMesh.h. |
|
Local bounding sphere radius (centered on object).
Definition at line 121 of file OgreMesh.h. |
|
Creator.
Definition at line 73 of file OgreResource.h. |
|
Vertex declaration, cloned from the input.
Definition at line 44 of file OgrePatchMesh.h. |
|
Definition at line 154 of file OgreMesh.h. |
|
The name of the resource group.
Definition at line 77 of file OgreResource.h. |
|
Numeric handle for more efficient look up than name.
Definition at line 79 of file OgreResource.h. |
|
Definition at line 150 of file OgreMesh.h. |
|
Definition at line 148 of file OgreMesh.h. |
|
Is the resource currently loaded?
Definition at line 81 of file OgreResource.h. |
|
Definition at line 142 of file OgreMesh.h. |
|
Is this file manually loaded?
Definition at line 85 of file OgreResource.h. |
|
Optional manual loader; if provided, data is loaded from here instead of a file.
Definition at line 89 of file OgreResource.h. |
|
Definition at line 145 of file OgreMesh.h. |
|
Unique name of the resource.
Definition at line 75 of file OgreResource.h. |
|
Definition at line 143 of file OgreMesh.h. |
|
Origin of this resource (e.g. script name) - optional.
Definition at line 87 of file OgreResource.h. |
|
Class name for this instance to be used as a lookup (must be initialised by subclasses).
Definition at line 160 of file OgreStringInterface.h. |
|
List of available poses for shared and dedicated geometryPoseList.
Definition at line 166 of file OgreMesh.h. |
|
Definition at line 153 of file OgreMesh.h. |
|
Dictionary of parameters.
Definition at line 157 of file OgreStringInterface.h. |
|
The vertex animation type associated with the shared vertex data.
Definition at line 161 of file OgreMesh.h. |
|
The size of the resource in bytes.
Definition at line 83 of file OgreResource.h. |
|
Definition at line 125 of file OgreMesh.h. |
|
Optional linked skeleton.
Definition at line 124 of file OgreMesh.h. |
|
A list of submeshes which make up this mesh. Each mesh is made up of 1 or more submeshes, which are each based on a single material and can have their own vertex data (they may not - they can share vertex data from the Mesh, depending on preference). Definition at line 103 of file OgreMesh.h. |
|
Definition at line 116 of file OgreMesh.h. |
|
Internal surface definition.
Definition at line 42 of file OgrePatchMesh.h. |
|
Definition at line 149 of file OgreMesh.h. |
|
Definition at line 147 of file OgreMesh.h. |
|
Shared index map for translating blend index to bone index.
Definition at line 263 of file OgreMesh.h. |
|
Shared vertex data.
Definition at line 241 of file OgreMesh.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:41:35 2006