igor::iVoxelTerrainMeshGenerator Class Reference

#include <iVoxelTerrainMeshGenerator.h>

Inherits igor::iModelDataIO.

Public Member Functions

iNodePtr importData (const iParameters &parameters) override
 
 iVoxelTerrainMeshGenerator ()
 
virtual ~iVoxelTerrainMeshGenerator ()=default
 
- Public Member Functions inherited from igor::iModelDataIO
const iaStringgetName ()
 
const iaStringgetIdentifier ()
 
virtual iNodePtr importData (const iParameters &parameters)
 
virtual void exportData (const iParameters &parameters)
 
iNodePtr importData (const iaString &filename)
 
void exportData (const iaString &filename, iNodePtr node, iSaveMode saveMode=iSaveMode::KeepExternals)
 
 iModelDataIO ()=default
 
virtual ~iModelDataIO ()=default
 

Static Public Member Functions

static iModelDataIOcreateInstance ()
 

Additional Inherited Members

- Protected Attributes inherited from igor::iModelDataIO
iaString _name
 
iaString _identifier
 

Detailed Description

voxel terrain mesh generator

Constructor & Destructor Documentation

◆ iVoxelTerrainMeshGenerator()

igor::iVoxelTerrainMeshGenerator::iVoxelTerrainMeshGenerator ( )

initialize members

◆ ~iVoxelTerrainMeshGenerator()

virtual igor::iVoxelTerrainMeshGenerator::~iVoxelTerrainMeshGenerator ( )
virtualdefault

does nothing

Member Function Documentation

◆ createInstance()

iModelDataIO * igor::iVoxelTerrainMeshGenerator::createInstance ( )
static

creates an instance of this class

Returns
new instance

◆ importData()

iNodePtr igor::iVoxelTerrainMeshGenerator::importData ( const iParameters parameters)
overridevirtual

generates terrain tiles

!!! ATTENTION consumes and deletes "parameter"

Parameters
filenameusually the file name but we are not using it here because wedon't load but generate data
Returns
parameter tile parameters

Reimplemented from igor::iModelDataIO.


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