OGRE  1.12.5
Object-Oriented Graphics Rendering Engine
Tutorials
Ogre::RenderOperation::OT_TRIANGLE_LIST
A list of triangles, 3 vertices per triangle.
Definition: OgreRenderOperation.h:56
OgreBites::TrayManager::clearTray
void clearTray(TrayLocation trayLoc)
Removes all widgets from a widget tray.
Ogre::SceneNode::createChildSceneNode
virtual SceneNode * createChildSceneNode(const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates an unnamed new SceneNode as a child of this node.
Ogre::Resource::getGroup
virtual const String & getGroup(void) const
Gets the group which this resource is a member of.
Definition: OgreResource.h:391
Ogre::ResourceBackgroundQueue::getSingleton
static ResourceBackgroundQueue & getSingleton(void)
Get the singleton instance.
Ogre::Vector2
Vector< 2, Real > Vector2
Definition: OgrePrerequisites.h:250
Ogre::BackgroundProcessResult
Encapsulates the result of a background queue request.
Definition: OgreResourceBackgroundQueue.h:51
OgreBites::TrayManager::getWidgets
const WidgetList & getWidgets(TrayLocation trayLoc) const
Gets all the widgets of a specific tray.
Definition: OgreTrays.h:978
Ogre::ResourceBackgroundQueue::prepare
virtual BackgroundProcessTicket prepare(const String &resType, const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *loadParams=0, Listener *listener=0)
Prepare a single resource in the background.
Ogre::Vector3
Vector< 3, Real > Vector3
Definition: OgrePrerequisites.h:253
Ogre::Mesh::createSubMesh
SubMesh * createSubMesh(void)
Creates a new SubMesh.
OgreBites::TrayManager::getCursorRay
Ogre::Ray getCursorRay(Ogre::Camera *cam)
Returns a 3D ray into the scene that is directly underneath the cursor.
Ogre::Volume::CSGUnionSource
Builds the union between two sources.
Definition: OgreVolumeCSGSource.h:251
OgreBites::TrayManager::destroyAllWidgets
void destroyAllWidgets()
Destroys all widgets.
Ogre::Profiler::setTimer
void setTimer(Timer *t)
Sets the timer for the profiler.
Ogre::RenderTarget::setDepthBufferPool
void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
OgreBites::TL_TOPLEFT
Definition: OgreTrays.h:56
Ogre::Volume::ChunkParameters::sceneManager
SceneManager * sceneManager
The scenemanager to construct the entity with.
Definition: OgreVolumeChunk.h:58
Ogre::Volume::ChunkParameters::updateFrom
Vector3 updateFrom
If an existing chunktree is to be partially updated, set this to the back lower left point of the (su...
Definition: OgreVolumeChunk.h:91
Ogre::Plane
Defines a plane in 3D space.
Definition: OgrePlane.h:62
Ogre::SHADOWTYPE_TEXTURE_ADDITIVE
Texture-based shadow technique which involves a render-to-texture of the shadow caster and a projecti...
Definition: OgreCommon.h:263
OgreBites::TL_LEFT
Definition: OgreTrays.h:59
Ogre::Entity
Defines an instance of a discrete, movable object based on a Mesh.
Definition: OgreEntity.h:79
Ogre::ManualObject::position
virtual void position(const Vector3 &pos)
Add a vertex position, starting a new vertex at the same time.
Ogre::Volume::TextureSource
A volume source from a 3D texture.
Definition: OgreVolumeTextureSource.h:44
Ogre::Volume::ChunkParameters::errorMultiplicator
Real errorMultiplicator
The error multiplicator per LOD level with 1.0 as default.
Definition: OgreVolumeChunk.h:67
OgreBites::TrayManager::setTrayPadding
void setTrayPadding(Ogre::Real padding)
OgreBites::TrayManager::clearAllTrays
void clearAllTrays()
Removes all widgets from all widget trays.
Ogre::RenderWindow
Manages the target rendering window.
Definition: OgreRenderWindow.h:62
Ogre::VertexData::vertexCount
size_t vertexCount
The number of vertices used in this operation.
Definition: OgreVertexIndexData.h:90
Ogre::Profiler::getSingleton
static Profiler & getSingleton(void)
Get the singleton instance.
OgreBites::TrayManager::sceneToScreen
static Ogre::Vector2 sceneToScreen(Ogre::Camera *cam, const Ogre::Vector3 &pt)
Converts a 3D scene position to a 2D screen position (in relative screen size, 0.0-1....
OgreBites::TrayManager::setWidgetSpacing
void setWidgetSpacing(Ogre::Real spacing)
Ogre::ManualObject
Class providing a much simplified interface to generating manual objects with custom geometry.
Definition: OgreManualObject.h:106
Ogre::Volume::ChunkParameters
Parameters for loading the volume.
Definition: OgreVolumeChunk.h:55
Ogre::ManualObject::textureCoord
virtual void textureCoord(float u)
Add a texture coordinate to the current vertex.
Ogre::ColourValue
Class representing colour.
Definition: OgreColourValue.h:57
Ogre::HardwareVertexBufferSharedPtr
SharedPtr< HardwareVertexBuffer > HardwareVertexBufferSharedPtr
Definition: OgrePrerequisites.h:293
Ogre::MeshManager::getSingleton
static MeshManager & getSingleton(void)
Get the singleton instance.
Ogre::FOG_LINEAR
Fog density increases linearly between the start and end distances.
Definition: OgreCommon.h:154
OgreBites::TrayManager::screenToScene
static Ogre::Ray screenToScene(Ogre::Camera *cam, const Ogre::Vector2 &pt)
Converts a 2D screen coordinate (in pixels) to a 3D ray into the scene.
Ogre::VES_NORMAL
Normal, 3 reals per vertex.
Definition: OgreHardwareVertexBuffer.h:97
OgreBites::TrayManager::locateWidgetInTray
int locateWidgetInTray(Widget *widget)
Gets a widget's position in its tray.
Ogre::Volume::VecVertex
std::vector< Vertex > VecVertex
To hold vertices.
Definition: OgreVolumeMeshBuilder.h:103
OgreBites::TrayManager::moveWidgetToTray
void moveWidgetToTray(Widget *widget, TrayLocation trayLoc, size_t place=-1)
Adds a widget to a specified tray at given position, or at the end if unspecified or invalid.
Ogre::Volume::ChunkParameters::maxScreenSpaceError
Real maxScreenSpaceError
The maximum accepted screen space error when choosing the LOD levels to render.
Definition: OgreVolumeChunk.h:85
Ogre::Resource::load
virtual void load(bool backgroundThread=false)
Loads the resource, if it is not already.
Ogre::BackgroundProcessResult::error
bool error
Whether an error occurred.
Definition: OgreResourceBackgroundQueue.h:54
OgreBites::TrayManager::setListener
void setListener(TrayListener *listener)
Definition: OgreTrays.h:775
OgreBites::TrayManager::showAll
void showAll()
Ogre::Volume::VecIndices
std::vector< size_t > VecIndices
To hold indices.
Definition: OgreVolumeMeshBuilder.h:107
Ogre::VET_FLOAT3
Definition: OgreHardwareVertexBuffer.h:123
Ogre::GHA_RIGHT
Definition: OgreOverlayElement.h:70
Ogre::PF_FLOAT32_R
32-bit pixel format, 32 bits (float) for red
Definition: OgrePixelFormat.h:122
Ogre::ResourceBackgroundQueue::Listener::operationCompleted
virtual void operationCompleted(BackgroundProcessTicket ticket, const BackgroundProcessResult &result)=0
Called when a requested operation completes, queued into main thread.
OgreBites::TrayManager::hideAll
void hideAll()
Ogre::Volume::Chunk::load
virtual void load(SceneNode *parent, const Vector3 &from, const Vector3 &to, size_t level, const ChunkParameters *parameters)
Loads the volume mesh with all LODs.
Ogre::Real
float Real
Software floating point type.
Definition: OgrePrerequisites.h:52
Ogre::Plane::normal
Vector3 normal
Definition: OgrePlane.h:65
Ogre::Mesh::sharedVertexData
VertexData * sharedVertexData
Shared vertex data.
Definition: OgreMesh.h:309
Ogre::Profiler::watchForLimit
bool watchForLimit(const String &profileName, Real limit, bool greaterThan=true)
Returns true if the specified profile goes over or under the given limit frame time.
Ogre::Profiler
The profiler allows you to measure the performance of your code.
Definition: OgreProfiler.h:233
Ogre::VES_TEXTURE_COORDINATES
Texture coordinates.
Definition: OgreHardwareVertexBuffer.h:103
OgreBites::ApplicationContextBase
Base class responsible for setting up a common context for applications.
Definition: OgreApplicationContextBase.h:85
Ogre::ResourceBackgroundQueue::Listener
This abstract listener interface lets you get notifications of completed background processes instead...
Definition: OgreResourceBackgroundQueue.h:93
OgreBites::TrayManager::destroyAllWidgetsInTray
void destroyAllWidgetsInTray(TrayLocation trayLoc)
Destroys all widgets in a tray.
Ogre::Resource::getCreator
ResourceManager * getCreator(void)
Gets the manager which created this resource.
Definition: OgreResource.h:403
OgreBites::TrayManager::getNumWidgets
unsigned int getNumWidgets()
Gets the number of widgets in total.
Ogre::SharedPtr< Mesh >
Ogre::Plane::d
Real d
Definition: OgrePlane.h:66
Ogre::HardwareBuffer::writeData
virtual void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)=0
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
Ogre::Volume::ChunkParameters::lodCallback
MeshBuilderCallback * lodCallback
Callback for a specific LOD level.
Definition: OgreVolumeChunk.h:79
Ogre::Volume::ChunkParameters::scale
Real scale
The scale of the volume with 1.0 as default.
Definition: OgreVolumeChunk.h:82
Ogre::Profiler::setEnabled
void setEnabled(bool enabled)
Sets whether this profiler is enabled.
OGRE_NEW
#define OGRE_NEW
Definition: OgreMemoryAllocatorConfig.h:201
Ogre::Volume::ChunkParameters::src
Source * src
The volume source.
Definition: OgreVolumeChunk.h:61
Ogre::Profiler::disableProfile
void disableProfile(const String &profileName)
Disables a profile.
Ogre::Profiler::setUpdateDisplayFrequency
void setUpdateDisplayFrequency(uint freq)
Sets the Profiler so the display of results are updated every n frames.
Ogre::SceneNode::attachObject
virtual void attachObject(MovableObject *obj)
Adds an instance of a scene object to this node.
Ogre::VES_POSITION
Position, 3 reals per vertex.
Definition: OgreHardwareVertexBuffer.h:91
Ogre::WorkQueue::RequestID
unsigned long long int RequestID
Numeric identifier for a request.
Definition: OgreWorkQueue.h:80
OgreBites::TL_RIGHT
Definition: OgreTrays.h:61
OgreBites::TrayManager::getWidget
Widget * getWidget(TrayLocation trayLoc, const Ogre::String &name)
Gets a widget from a tray by name.
Ogre::Volume::Chunk
A single volume chunk mesh.
Definition: OgreVolumeChunk.h:146
Ogre::RGN_DEFAULT
const _OgreExport char *const RGN_DEFAULT
Default resource group name.
OgreProfileBegin
#define OgreProfileBegin(a)
Definition: OgreProfiler.h:60
OgreBites::TrayManager
Main class to manage a cursor, backdrop, trays and widgets.
Definition: OgreTrays.h:741
Ogre::Profiler::watchForMax
bool watchForMax(const String &profileName)
Returns true if the specified profile reaches a new frame time maximum.
Ogre::VertexData::vertexDeclaration
VertexDeclaration * vertexDeclaration
Declaration of the vertex to be used in this operation.
Definition: OgreVertexIndexData.h:80
OgreBites::TL_NONE
Definition: OgreTrays.h:65
OgreBites::TL_TOP
Definition: OgreTrays.h:57
OgreBites::TrayManager::removeWidgetFromTray
void removeWidgetFromTray(Widget *widget)
Removes a widget from its tray.
Definition: OgreTrays.h:1042
Ogre::FOG_EXP
Fog density increases exponentially from the camera (fog = 1/e^(distance * density))
Definition: OgreCommon.h:150
Ogre::ManualObject::normal
virtual void normal(const Vector3 &norm)
Add a vertex normal to the current vertex.
Ogre::SubMesh::useSharedVertices
bool useSharedVertices
Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices.
Definition: OgreSubMesh.h:72
Ogre::ManualObject::quad
virtual void quad(uint32 i1, uint32 i2, uint32 i3, uint32 i4)
Add a set of 4 vertex indices to construct a quad (out of 2 triangles); this is a shortcut to calling...
Ogre::Volume::CSGSphereSource
A sphere.
Definition: OgreVolumeCSGSource.h:47
Ogre::Profiler::enableProfile
void enableProfile(const String &profileName)
Enables a previously disabled profile.
Ogre::Mesh::_setBounds
void _setBounds(const AxisAlignedBox &bounds, bool pad=true)
Manually set the bounding box for this Mesh.
OgreProfile
#define OgreProfile(a)
Definition: OgreProfiler.h:59
Ogre::PF_BYTE_RGBA
32-bit pixel format, 8 bits for blue, green, red and alpha.
Definition: OgrePixelFormat.h:294
Ogre::AxisAlignedBox
A 3D box aligned with the x/y/z axes.
Definition: OgreAxisAlignedBox.h:55
Ogre::Volume::Vertex
struct _OgreVolumeExport Ogre::Volume::Vertex Vertex
Lightweight struct to represent a mesh vertex.
OgreBites::TrayManager::setTrayWidgetAlignment
void setTrayWidgetAlignment(TrayLocation trayLoc, Ogre::GuiHorizontalAlignment gha)
Sets horizontal alignment of a tray's contents.
Ogre::Volume::ChunkParameters::updateTo
Vector3 updateTo
If an existing chunktree is to be partially updated, set this to the front upper right point of the (...
Definition: OgreVolumeChunk.h:94
Ogre::uint16
unsigned short uint16
Definition: OgrePlatform.h:255
Ogre
Definition: OgreAlignedAllocator.h:34
Ogre::FOG_EXP2
Fog density increases at the square of FOG_EXP, i.e. even quicker (fog = 1/e^(distance * density)^2)
Definition: OgreCommon.h:152
Ogre::Volume::ChunkParameters
struct Ogre::Volume::ChunkParameters ChunkParameters
Parameters for loading the volume.
OgreBites::TrayLocation
TrayLocation
enumerator values for widget tray anchoring locations
Definition: OgreTrays.h:54
OgreProfileEnd
#define OgreProfileEnd(a)
Definition: OgreProfiler.h:61
Ogre::MeshManager::createManual
MeshPtr createManual(const String &name, const String &groupName, ManualResourceLoader *loader=0)
Creates a new Mesh specifically for manual definition rather than loading from an object file.
Ogre::SceneNode
Class representing a node in the scene graph.
Definition: OgreSceneNode.h:57
Ogre::Volume::ChunkParameters::skirtFactor
Real skirtFactor
Factor for the skirt length generation.
Definition: OgreVolumeChunk.h:76
Ogre::ManualObject::begin
virtual void begin(const String &materialName, RenderOperation::OperationType opType=RenderOperation::OT_TRIANGLE_LIST, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Start defining a part of the object.
Ogre::VertexData::vertexBufferBinding
VertexBufferBinding * vertexBufferBinding
The vertex buffer bindings to be used.
Definition: OgreVertexIndexData.h:84
Ogre::Volume::ChunkParameters::baseError
Real baseError
The smallest allowed geometric error of the highest LOD.
Definition: OgreVolumeChunk.h:64
OgreBites::TrayManager::createButton
Button * createButton(TrayLocation trayLoc, const Ogre::String &name, const Ogre::String &caption, Ogre::Real width=0)
OgreBites::TrayManager::destroyWidget
void destroyWidget(Widget *widget)
Destroys a widget.
Ogre::Profiler::watchForMin
bool watchForMin(const String &profileName)
Returns true if the specified profile reaches a new frame time minimum.
Ogre::Profiler::logResults
void logResults()
Outputs current profile statistics to the log.
Ogre::Volume::Chunk::setMaterial
void setMaterial(const MaterialPtr &mat)
Overridden from SimpleRenderable.
Ogre::Volume::Chunk::getChunkParameters
ChunkParameters * getChunkParameters(void)
Gets the parameters with which the chunktree got loaded.
Ogre::Vector< 3, Real >
Ogre::DepthBuffer::POOL_NO_DEPTH
Definition: OgreDepthBuffer.h:84
Ogre::Resource::getName
virtual const String & getName(void) const
Gets resource name.
Definition: OgreResource.h:304
Ogre::ManualObject::end
virtual ManualObjectSection * end(void)
Finish defining the object and compile the final renderable version.
Ogre::HardwareIndexBufferSharedPtr
SharedPtr< HardwareIndexBuffer > HardwareIndexBufferSharedPtr
Definition: OgrePrerequisites.h:289
Ogre::ResourceBackgroundQueue
This class is used to perform Resource operations in a background thread.
Definition: OgreResourceBackgroundQueue.h:81
Ogre::VET_FLOAT2
Definition: OgreHardwareVertexBuffer.h:122
OgreBites::TrayManager::setWidgetPadding
void setWidgetPadding(Ogre::Real padding)
OgreBites::InputListener
the return values of the callbacks are ignored by ApplicationContext however they can be used to cont...
Definition: OgreInput.h:155
Ogre::PlaneOptimalShadowCameraSetup
Implements the plane optimal shadow camera algorithm.
Definition: OgreShadowCameraSetupPlaneOptimal.h:62
OgreBites::TL_BOTTOM
Definition: OgreTrays.h:63