VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtAddTerrainPatchLogic Class Reference

Logic for the Add Terrain Patch dialog.

Public Member Functions

 DtAddTerrainPatchLogic (DtDe &de, DtAddTerrainPatchInterface *iFace)
 
virtual ~DtAddTerrainPatchLogic ()
 
virtual QColor textColorForStatus (DtAddTerrainPatchManager::AddTerrainPatchStatus status) const
 

Protected Member Functions

virtual void onTerrainPatchFilesToAddUpdated (const std::map< std::string, DtAddTerrainPatchManager::TerrainPatchFile > &filePaths)
 
virtual void onCoordinateSystemUpdated (const std::string &coordinateSystem, const std::string &coordinateSystemParameters)
 
virtual void slot_terrainPatchFilesAdded (const std::vector< std::string > &filePaths)
 
virtual void slot_ddsFlipChanged (bool flipDdsImages)
 
virtual void slot_alphaToCoverageChanged (DtAddTerrainPatchManager::AlphaToCoverageState newState)
 
virtual void slot_indirectEnabledChanged (bool indirectRenderingEnabled)
 
virtual void slot_isPageableChanged (bool isPageable)
 
virtual void slot_terrainPatchFilesDeleted (const std::vector< std::string > &filePaths)
 
virtual void slot_addTerrainPatches ()
 
virtual void slot_coordinateSystemChanged (const std::string &coordSystem)
 
virtual void slot_coordinateSystemParamsChanged (const std::string &coordSystemParams)
 

Protected Attributes

DtDemyDe
 
DtAddTerrainPatchInterfacemyInterface
 
std::string myCoordinateSystemType
 
std::string myCoordinateSystemParams
 
bool myDdsFlip
 
DtAddTerrainPatchManager::AlphaToCoverageState myAlphaToCoverageState
 
bool myIndirectEnabled
 
bool myIsPageable
 
DtSignalConnectionManager mySignals
 
DtCoordinateConvertermyCoordinateConverter = nullptr
 

Constructor & Destructor Documentation

makVrv::DtAddTerrainPatchLogic::DtAddTerrainPatchLogic ( DtDe de,
DtAddTerrainPatchInterface iFace 
)

CTOR.

virtual makVrv::DtAddTerrainPatchLogic::~DtAddTerrainPatchLogic ( )
virtual

DTOR.

Member Function Documentation

virtual QColor makVrv::DtAddTerrainPatchLogic::textColorForStatus ( DtAddTerrainPatchManager::AddTerrainPatchStatus  status) const
virtual
virtual void makVrv::DtAddTerrainPatchLogic::onTerrainPatchFilesToAddUpdated ( const std::map< std::string, DtAddTerrainPatchManager::TerrainPatchFile > &  filePaths)
protectedvirtual

Slot functions connected to DtAddTerrainPatchManager signals.

Called when users chooses multiple files to be loaded as terrain patches.

virtual void makVrv::DtAddTerrainPatchLogic::onCoordinateSystemUpdated ( const std::string &  coordinateSystem,
const std::string &  coordinateSystemParameters 
)
protectedvirtual

Called when users change the coordinate system being used to add the terrain patches.

virtual void makVrv::DtAddTerrainPatchLogic::slot_terrainPatchFilesAdded ( const std::vector< std::string > &  filePaths)
protectedvirtual

Slot functions connected to the DtAddTerrainPatchInterface signals.

Called when users selected one or more files to add using the add terrain patch dialog.

virtual void makVrv::DtAddTerrainPatchLogic::slot_ddsFlipChanged ( bool  flipDdsImages)
protectedvirtual

Called when users change whether or not to flip DDS images in the add terrain patch dialog.

virtual void makVrv::DtAddTerrainPatchLogic::slot_alphaToCoverageChanged ( DtAddTerrainPatchManager::AlphaToCoverageState  newState)
protectedvirtual

Called when users change the alpha to coverage state in the add terrain patch dialog.

virtual void makVrv::DtAddTerrainPatchLogic::slot_indirectEnabledChanged ( bool  indirectRenderingEnabled)
protectedvirtual

Called when users change whether or not to enable indirect rendering in the add terrain patch dialog.

virtual void makVrv::DtAddTerrainPatchLogic::slot_isPageableChanged ( bool  isPageable)
protectedvirtual

Called when users change whether or not the terrain patches being added are pageable.

virtual void makVrv::DtAddTerrainPatchLogic::slot_terrainPatchFilesDeleted ( const std::vector< std::string > &  filePaths)
protectedvirtual

Called when users removes multiple files to be loaded as terrain patches.

virtual void makVrv::DtAddTerrainPatchLogic::slot_addTerrainPatches ( )
protectedvirtual

Called when users click the "Ok" button in the add terrain patch dialog. Creates model definitions and adds them as terrain patches.

virtual void makVrv::DtAddTerrainPatchLogic::slot_coordinateSystemChanged ( const std::string &  coordSystem)
protectedvirtual

Called when users change the terrain coordinate system in the add terrain patch dialog.

virtual void makVrv::DtAddTerrainPatchLogic::slot_coordinateSystemParamsChanged ( const std::string &  coordSystemParams)
protectedvirtual

Called when users change the terrain coordinate system parameters in the add terrain patch dialog.

Member Data Documentation

DtDe& makVrv::DtAddTerrainPatchLogic::myDe
protected
DtAddTerrainPatchInterface* makVrv::DtAddTerrainPatchLogic::myInterface
protected
std::string makVrv::DtAddTerrainPatchLogic::myCoordinateSystemType
protected
std::string makVrv::DtAddTerrainPatchLogic::myCoordinateSystemParams
protected
bool makVrv::DtAddTerrainPatchLogic::myDdsFlip
protected
DtAddTerrainPatchManager::AlphaToCoverageState makVrv::DtAddTerrainPatchLogic::myAlphaToCoverageState
protected
bool makVrv::DtAddTerrainPatchLogic::myIndirectEnabled
protected
bool makVrv::DtAddTerrainPatchLogic::myIsPageable
protected
DtSignalConnectionManager makVrv::DtAddTerrainPatchLogic::mySignals
protected
DtCoordinateConverter* makVrv::DtAddTerrainPatchLogic::myCoordinateConverter = nullptr
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)