NDEVR
API Documentation
MaterialRasterFactoryabstract

Creates rasters for converting points and directions into 2D images. More...

Inheritance diagram for MaterialRasterFactory:
[legend]
Collaboration diagram for MaterialRasterFactory:
[legend]

Static Public Member Functions

static MaterialRasterBaseCreateRaster (const String &image_id, const RasterInfo &info)
 Creates a MaterialRasterBase using the default factory implementation.
static void SetDefaultMaterialRasterFactory (MaterialRasterFactory *factory)
 Sets the default MaterialRasterFactory used by CreateRaster.

Protected Member Functions

virtual MaterialRasterBasecreateRaster (const String &image_id, const RasterInfo &info)=0
 Creates a MaterialRasterBase instance.

Static Protected Attributes

static MaterialRasterFactorys_default_raster_factory
 The singleton default factory used by CreateRaster.

Detailed Description

Creates rasters for converting points and directions into 2D images.


Definition at line 286 of file MaterialRaster.h.

Member Function Documentation

◆ CreateRaster()

MaterialRasterBase * MaterialRasterFactory::CreateRaster ( const String & image_id,
const RasterInfo & info )
static

Creates a MaterialRasterBase using the default factory implementation.

Parameters
[in]image_idThe unique identifier for the raster image resource.
[in]infoThe raster configuration settings.
Returns
A pointer to the newly created MaterialRasterBase instance. Caller assumes ownership.

◆ createRaster()

virtual MaterialRasterBase * MaterialRasterFactory::createRaster ( const String & image_id,
const RasterInfo & info )
protectedpure virtual

Creates a MaterialRasterBase instance.

Subclasses must implement this to provide custom raster creation logic.

Parameters
[in]image_idThe unique identifier for the raster image resource.
[in]infoThe raster configuration settings.
Returns
A pointer to the newly created MaterialRasterBase instance.

Implemented in OpenCVMaterialRasterFactory.

◆ SetDefaultMaterialRasterFactory()

void MaterialRasterFactory::SetDefaultMaterialRasterFactory ( MaterialRasterFactory * factory)
static

Sets the default MaterialRasterFactory used by CreateRaster.

Parameters
[in]factoryThe factory instance to use as the default.

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