#include <clientinput.h>
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 KyGuid * | GetGuid () 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 () |
|
private |
Called by Load() once the m_clientInputParts strings have been retrieved from root client Input.
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.