Kaim::ClientInput Class Reference

Kaim::ClientInput Class Reference

#include <clientinput.h>

Class Description

The ClientInput is a representation of the input that was supplied to the generator for a particular Kaim::GeneratorSector It contains all the input triangles and tagVolumes as provided by the the Kaim::GeneratorInputProducer to the Kaim::ClientInputConsumer and can be saved or loaded to a .ClientInput file.

Public Attributes

GeneratorParameters m_globalConfig
 The global config used for this Kaim::ClientInput. More...
 
KyGuid m_sectorGuid
 The Kaim::KyGuid of the Kaim::GeneratorSector associated with this Kaim::ClientInput. More...
 

Private Member Functions

KyResult LoadParts (const char *fullFileName, FileOpenerBase *fileOpener)
 Called by Load() once the m_clientInputParts strings have been retrieved from root client Input. More...
 

Constructor and destructor

 ClientInput ()
 
 ~ClientInput ()
 
void Clear ()
 

Accessors

const KyGuidGetGuid () const
 
KyUInt32 GetDatabaseIndex () const
 

Save and Load from file

KyResult Save (const char *path)
 
KyResult Load (const char *path, FileOpenerBase *fileOpener=nullptr)
 

Internals

void Init (GeneratorSystem *sys)
 
void InitFromDynamicClientInputChunk (GeneratorSystem *sys, const DynamicClientInputChunk &dynamicClientInputChunk)
 
Kaim::Box3f ComputeTrianglesBoundingBox ()
 

Member Function Documentation

KyResult Kaim::ClientInput::LoadParts ( const char *  fullFileName,
FileOpenerBase fileOpener 
)
private

Called by Load() once the m_clientInputParts strings have been retrieved from root client Input.

Member Data Documentation

GeneratorParameters Kaim::ClientInput::m_globalConfig

The global config used for this Kaim::ClientInput.

KyGuid Kaim::ClientInput::m_sectorGuid

The Kaim::KyGuid of the Kaim::GeneratorSector associated with this Kaim::ClientInput.


The documentation for this class was generated from the following files:
  • gwnavgeneration/input/clientinput.h
  • gwnavgeneration/input/clientinput.cpp