Ogre::TerrainAutoUpdateLod Class Referenceabstract
Components » Terrain

Terrain automatic LOD loading. More...

`#include <OgreTerrainAutoUpdateLod.h>`

Inheritance diagram for Ogre::TerrainAutoUpdateLod:
[legend]

## Public Member Functions

virtual | ~TerrainAutoUpdateLod ()
virtual void | autoUpdateLod (Terrain *terrain, bool synchronous, const Any &data)=0
| Method to be called to change terrain's LOD level. More...
virtual uint32 | getStrategyId ()=0
void | operator delete (void *ptr)
void | operator delete (void *ptr, void *)
void | operator delete (void *ptr, const char *, int, const char *)
void | operator delete[] (void *ptr)
void | operator delete[] (void *ptr, const char *, int, const char *)
void * | operator new (size_t sz, const char *file, int line, const char *func)
| operator new, with debug line info More...
void * | operator new (size_t sz)
void * | operator new (size_t sz, void *ptr)
| placement operator new More...
void * | operator new[] (size_t sz, const char *file, int line, const char *func)
| array operator new, with debug line info More...
void * | operator new[] (size_t sz)

## Detailed Description

Terrain automatic LOD loading.

  This set of classes is used for automatic change of terrain LOD level. Base is TerrainAutoUpdateLod interface with just one public method autoUpdateLod. This method gets called by terrain whenever user thinks something has changed(typically in application's main loop) what could affect terrain's LOD level. It is designed in such a way so user can use whatever algorithm he likes to change terrain's LOD level. For example see TerrainAutoUpdateLod implementation TerrainAutoUpdateLodByDistance. It is also used as a null object for auto-LOD-updating.

Definition at line 54 of file OgreTerrainAutoUpdateLod.h.

## Constructor & Destructor Documentation

## ~TerrainAutoUpdateLod()

virtual Ogre::TerrainAutoUpdateLod::~TerrainAutoUpdateLod | ( |  | ) |

virtual

Definition at line 57 of file OgreTerrainAutoUpdateLod.h.

## Member Function Documentation

## autoUpdateLod()

virtual void Ogre::TerrainAutoUpdateLod::autoUpdateLod | ( | Terrain * | terrain,
|  | bool | synchronous,
|  | const Any & | data
| ) |  |

pure virtual

Method to be called to change terrain's LOD level.

Parameters

  terrain | Instance of Terrain which LOD level is going to be changed
  synchronous | Run this as part of main thread or in background
  data | Any user specific data.

Implemented in Ogre::TerrainAutoUpdateLodByDistance.

## getStrategyId()

virtual uint32 Ogre::TerrainAutoUpdateLod::getStrategyId | ( |  | ) |

pure virtual

Implemented in Ogre::TerrainAutoUpdateLodByDistance.

## operator delete() [1/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) |

inherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

## operator delete() [2/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | void * |
| ) |  |

inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

## operator delete() [3/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | const char * | ,
|  | int | ,
|  | const char * |
| ) |  |

inherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [1/2]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) |

inherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [2/2]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr,
|  | const char * | ,
|  | int | ,
|  | const char * |
| ) |  |

inherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

## operator new() [1/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz,
|  | const char * | file,
|  | int | line,
|  | const char * | func
| ) |  |

inherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

## operator new() [2/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) |

inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

## operator new() [3/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz,
|  | void * | ptr
| ) |  |

inherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

## operator new[]() [1/2]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz,
|  | const char * | file,
|  | int | line,
|  | const char * | func
| ) |  |

inherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

## operator new[]() [2/2]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) |

inherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

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

- OgreTerrainAutoUpdateLod.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.