Public Attributes | Static Public Attributes | List of all members
gazebo::rendering::HeightmapPrivate Class Reference

#include <HeightmapPrivate.hh>

Public Attributes

std::vector< double > blendFade
 Material blend fade distances. More...
 
std::vector< double > blendHeight
 The material blending heights. More...
 
unsigned int dataSize
 Size of the heightmap data. More...
 
std::vector< std::string > diffuseTextures
 The diffuse textures. More...
 
DummyPageProvider dummyPageProvider
 A page provider is needed to use the paging system. More...
 
GzTerrainMatGengzMatGen
 Pointer to the terrain material generator. More...
 
boost::filesystem::path gzPagingDir
 When the terrain paging is enabled, the terrain information for every piece of terrain is stored in disk. More...
 
std::vector< float > heights
 The raw height values received from physics. More...
 
std::vector< std::string > normalTextures
 The normal textures. More...
 
Ogre::PageManager * pageManager
 Central registration point for extension classes, such as the PageStrategy, PageContentFactory. More...
 
ScenePtr scene
 The scene. More...
 
std::vector< std::vector< float > > subTerrains
 Collection of terrains. Every terrain might be paged. More...
 
Ogre::TerrainGlobalOptions * terrainGlobals
 Global options. More...
 
Ogre::TerrainGroup * terrainGroup
 Group of terrains. More...
 
bool terrainHashChanged
 True if the terrain's hash does not match the image's hash. More...
 
int terrainIdx
 Used to iterate over all the terrains. More...
 
ignition::math::Vector3d terrainOrigin
 Origin of the terrain. More...
 
Ogre::TerrainPaging * terrainPaging
 Type of paging applied. More...
 
bool terrainsImported
 True if the terrain was imported. More...
 
ignition::math::Vector3d terrainSize
 Size of the terrain. More...
 
bool useTerrainPaging
 Flag that enables/disables the terrain paging. More...
 
Ogre::PagedWorld * world
 Collection of world content. More...
 
std::vector< double > worldSizes
 The size of the world sections. More...
 

Static Public Attributes

static const
boost::filesystem::path 
hashFilename
 Hash file name that should be present for every terrain file loaded using paging. More...
 
static const double holdRadiusFactor
 The terrain pages are held in memory but not loaded if they are not ready when the camera is within holdRadius distance. More...
 
static const double loadRadiusFactor
 The terrain pages are loaded if the distance from the camera is within the loadRadius. More...
 
static const unsigned int numTerrainSubdivisions
 Number of pieces in which a terrain is subdivided for paging. More...
 
static const
boost::filesystem::path 
pagingDirname
 Name of the top level directory where all the paging info is stored. More...
 

Member Data Documentation

std::vector<double> gazebo::rendering::HeightmapPrivate::blendFade

Material blend fade distances.

std::vector<double> gazebo::rendering::HeightmapPrivate::blendHeight

The material blending heights.

unsigned int gazebo::rendering::HeightmapPrivate::dataSize

Size of the heightmap data.

std::vector<std::string> gazebo::rendering::HeightmapPrivate::diffuseTextures

The diffuse textures.

DummyPageProvider gazebo::rendering::HeightmapPrivate::dummyPageProvider

A page provider is needed to use the paging system.

GzTerrainMatGen* gazebo::rendering::HeightmapPrivate::gzMatGen

Pointer to the terrain material generator.

boost::filesystem::path gazebo::rendering::HeightmapPrivate::gzPagingDir

When the terrain paging is enabled, the terrain information for every piece of terrain is stored in disk.

This is the path of the top level directory where these files are located.

const boost::filesystem::path gazebo::rendering::HeightmapPrivate::hashFilename
static

Hash file name that should be present for every terrain file loaded using paging.

std::vector<float> gazebo::rendering::HeightmapPrivate::heights

The raw height values received from physics.

const double gazebo::rendering::HeightmapPrivate::holdRadiusFactor
static

The terrain pages are held in memory but not loaded if they are not ready when the camera is within holdRadius distance.

See Ogre::TerrainPaging::createWorldSection(). HoldRadiusFactor is a multiplier applied to the terrain size to create a hold radius that depends on the terrain size.

const double gazebo::rendering::HeightmapPrivate::loadRadiusFactor
static

The terrain pages are loaded if the distance from the camera is within the loadRadius.

See Ogre::TerrainPaging::createWorldSection(). LoadRadiusFactor is a multiplier applied to the terrain size to create a load radius that depends on the terrain size.

std::vector<std::string> gazebo::rendering::HeightmapPrivate::normalTextures

The normal textures.

const unsigned int gazebo::rendering::HeightmapPrivate::numTerrainSubdivisions
static

Number of pieces in which a terrain is subdivided for paging.

Ogre::PageManager* gazebo::rendering::HeightmapPrivate::pageManager

Central registration point for extension classes, such as the PageStrategy, PageContentFactory.

const boost::filesystem::path gazebo::rendering::HeightmapPrivate::pagingDirname
static

Name of the top level directory where all the paging info is stored.

ScenePtr gazebo::rendering::HeightmapPrivate::scene

The scene.

std::vector<std::vector<float> > gazebo::rendering::HeightmapPrivate::subTerrains

Collection of terrains. Every terrain might be paged.

Ogre::TerrainGlobalOptions* gazebo::rendering::HeightmapPrivate::terrainGlobals

Global options.

Ogre::TerrainGroup* gazebo::rendering::HeightmapPrivate::terrainGroup

Group of terrains.

bool gazebo::rendering::HeightmapPrivate::terrainHashChanged

True if the terrain's hash does not match the image's hash.

int gazebo::rendering::HeightmapPrivate::terrainIdx

Used to iterate over all the terrains.

ignition::math::Vector3d gazebo::rendering::HeightmapPrivate::terrainOrigin

Origin of the terrain.

Ogre::TerrainPaging* gazebo::rendering::HeightmapPrivate::terrainPaging

Type of paging applied.

bool gazebo::rendering::HeightmapPrivate::terrainsImported

True if the terrain was imported.

ignition::math::Vector3d gazebo::rendering::HeightmapPrivate::terrainSize

Size of the terrain.

bool gazebo::rendering::HeightmapPrivate::useTerrainPaging

Flag that enables/disables the terrain paging.

Ogre::PagedWorld* gazebo::rendering::HeightmapPrivate::world

Collection of world content.

std::vector<double> gazebo::rendering::HeightmapPrivate::worldSizes

The size of the world sections.


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