Kaim::ObjFileInputProducer Class Reference

Kaim::ObjFileInputProducer Class Reference

#include <objfileinputproducer.h>

Class Description

ObjFileInputProducer is a concrete implementation of GeneratorInputProducer that can read the triangles contained in a .obj file, and pass them to the ClientInputConsumer.

This class is used internally by the standalone NavData generation tools supplied with Autodesk Navigation. One can use ObjFileInputProducer as a GeneratorInputProducer derivation, or use ProduceFromObj(path) functionnality.

+ Examples:

Inherits Kaim::GeneratorInputProducer.

Public Member Functions

virtual KyResult Produce (const GeneratorSector &sector, ClientInputConsumer &inputConsumer)
 Calls ProduceFromObj for each sector.m_inputFileNames with extension ".obj". More...
 
KyResult ProduceSectorInputs (const GeneratorSector &sector, ClientInputConsumer &sectorInputConsumer)
 Called by the NavData generation system to retrieve the geometry all the input associated with this sector. More...
 

Public Attributes

CoordSystem m_objCoordSystem
 defines the CoordSystem of the obj files More...
 
Vec3f m_offset
 mostly useful to test purposes, offset is applied in client coordinates More...
 

Member Function Documentation

KyResult Kaim::ObjFileInputProducer::Produce ( const GeneratorSector sector,
ClientInputConsumer inputConsumer 
)
virtual

Calls ProduceFromObj for each sector.m_inputFileNames with extension ".obj".

Implements Kaim::GeneratorInputProducer.

KyResult Kaim::GeneratorInputProducer::ProduceSectorInputs ( const GeneratorSector sector,
ClientInputConsumer sectorInputConsumer 
)
inlineinherited

Called by the NavData generation system to retrieve the geometry all the input associated with this sector.

Consume sector.m_inputTagVolumes and sector.m_inputSeedPoints before calling Produce().

Member Data Documentation

CoordSystem Kaim::ObjFileInputProducer::m_objCoordSystem

defines the CoordSystem of the obj files

Vec3f Kaim::ObjFileInputProducer::m_offset

mostly useful to test purposes, offset is applied in client coordinates


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