9 #ifndef GwNavGen_PdgInputProducer_H
10 #define GwNavGen_PdgInputProducer_H
25 class GeneratorSystem;
34 class GeneratorInputProducer :
public RefCountBaseNTS<GeneratorInputProducer, MemStat_NavDataGen>
56 const String fileNameExtension = inputFileName.GetExtension();
58 if (fileNameExtension.CompareNoCase(
".HeightField") == 0)
60 if (sectorInputConsumer.ConsumeHeightFieldFile(inputFileName) ==
KY_ERROR)
63 else if (fileNameExtension.CompareNoCase(
".IndexedMesh") == 0)
65 if (sectorInputConsumer.ConsumeIndexedMeshFile(inputFileName) ==
KY_ERROR)
86 virtual KyResult Produce(
const GeneratorSector& sector, ClientInputConsumer& sectorInputConsumer) = 0;
KyArray< ClientInputTagVolume > m_inputTagVolumes
Optional facility. Will be fed automatically to the Sector. Sometimes easier than producing TagVolume...
Definition: generatorsector.h:140
KyInt32 KyResult
Defines a type that can be returned by methods or functions in the Gameware Navigation SDK to indicat...
Definition: types.h:254
KyArray< String > m_inputFileNames
Optional facility. To be used in GeneratorInputProducer::ProduceSectorInputs().
Definition: generatorsector.h:138
The GeneratorSector class provides a definition for a single sector to be treated by the Generator...
Definition: generatorsector.h:46
Definition: gamekitcrowddispersion.h:20
#define KY_SUCCESS
Shorthand for Kaim::Result::Success.
Definition: types.h:273
#define KY_ERROR
Shorthand for Kaim::Result::Failure.
Definition: types.h:272
KyArray< Vec3f > m_inputSeedPoints
Optional facility. Will be fed automatically to the Sector. Sometimes easier than producing seedPoint...
Definition: generatorsector.h:139