#include <objfileinputproducer.h>
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 §or, ClientInputConsumer &inputConsumer) |
| Calls ProduceFromObj for each sector.m_inputFileNames with extension ".obj". More... | |
| KyResult | ProduceSectorInputs (const GeneratorSector §or, ClientInputConsumer §orInputConsumer) |
| 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... | |
|
virtual |
Calls ProduceFromObj for each sector.m_inputFileNames with extension ".obj".
Implements Kaim::GeneratorInputProducer.
|
inlineinherited |
| 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