RigsofRods
Soft-body Physics Simulation
Public Member Functions | Protected Member Functions | Protected Attributes
RoR::SurveyMapTextureCreator Class Reference

#include <SurveyMapTextureCreator.h>

+ Inheritance diagram for RoR::SurveyMapTextureCreator:
+ Collaboration diagram for RoR::SurveyMapTextureCreator:

Public Member Functions

 SurveyMapTextureCreator (Ogre::Real terrain_height)
 
 ~SurveyMapTextureCreator ()
 
bool init (int res, int fsaa)
 
void update (Ogre::Vector2 center, Ogre::Vector2 size)
 
Ogre::TexturePtr convertTextureToStatic (const std::string &texName, const std::string &rgName)
 

Protected Member Functions

void preRenderTargetUpdate (const Ogre::RenderTargetEvent &evt)
 
void postRenderTargetUpdate (const Ogre::RenderTargetEvent &evt)
 

Protected Attributes

Ogre::Real mTerrainHeight
 
Ogre::String mTextureName
 
Ogre::Camera * mCamera
 
Ogre::TexturePtr mTexture
 
Ogre::RenderTarget * mRttTex
 

Detailed Description

Definition at line 28 of file SurveyMapTextureCreator.h.

Constructor & Destructor Documentation

◆ SurveyMapTextureCreator()

SurveyMapTextureCreator::SurveyMapTextureCreator ( Ogre::Real  terrain_height)

Definition at line 35 of file SurveyMapTextureCreator.cpp.

◆ ~SurveyMapTextureCreator()

SurveyMapTextureCreator::~SurveyMapTextureCreator ( )

Definition at line 44 of file SurveyMapTextureCreator.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ convertTextureToStatic()

Ogre::TexturePtr SurveyMapTextureCreator::convertTextureToStatic ( const std::string &  texName,
const std::string &  rgName 
)

Definition at line 120 of file SurveyMapTextureCreator.cpp.

+ Here is the caller graph for this function:

◆ init()

bool SurveyMapTextureCreator::init ( int  res,
int  fsaa 
)

Definition at line 54 of file SurveyMapTextureCreator.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ postRenderTargetUpdate()

void SurveyMapTextureCreator::postRenderTargetUpdate ( const Ogre::RenderTargetEvent &  evt)
protected

Definition at line 111 of file SurveyMapTextureCreator.cpp.

+ Here is the call graph for this function:

◆ preRenderTargetUpdate()

void SurveyMapTextureCreator::preRenderTargetUpdate ( const Ogre::RenderTargetEvent &  evt)
protected

Definition at line 98 of file SurveyMapTextureCreator.cpp.

+ Here is the call graph for this function:

◆ update()

void SurveyMapTextureCreator::update ( Ogre::Vector2  center,
Ogre::Vector2  size 
)

Definition at line 87 of file SurveyMapTextureCreator.cpp.

+ Here is the caller graph for this function:

Field Documentation

◆ mCamera

Ogre::Camera* RoR::SurveyMapTextureCreator::mCamera
protected

Definition at line 47 of file SurveyMapTextureCreator.h.

◆ mRttTex

Ogre::RenderTarget* RoR::SurveyMapTextureCreator::mRttTex
protected

Definition at line 49 of file SurveyMapTextureCreator.h.

◆ mTerrainHeight

Ogre::Real RoR::SurveyMapTextureCreator::mTerrainHeight
protected

Definition at line 44 of file SurveyMapTextureCreator.h.

◆ mTexture

Ogre::TexturePtr RoR::SurveyMapTextureCreator::mTexture
protected

Definition at line 48 of file SurveyMapTextureCreator.h.

◆ mTextureName

Ogre::String RoR::SurveyMapTextureCreator::mTextureName
protected

Definition at line 45 of file SurveyMapTextureCreator.h.


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