NDEVR
API Documentation
OpenCVMaterialRasterFactory

A MaterialRasterFactory implementation that creates OpenCV-based raster instances. More...

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

Protected Member Functions

virtual MaterialRasterBasecreateRaster (const String &image_id, const RasterInfo &info)
 Creates a new OpenCVImageRaster instance.

Static Protected Attributes

static MaterialRasterFactorys_default_raster_factory
 The default raster factory instance.
Static Protected Attributes inherited from MaterialRasterFactory
static MaterialRasterFactorys_default_raster_factory
 The singleton default factory used by CreateRaster.

Additional Inherited Members

Static Public Member Functions inherited from MaterialRasterFactory
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.

Detailed Description

A MaterialRasterFactory implementation that creates OpenCV-based raster instances.


Definition at line 148 of file OpenCVImageRaster.h.

Member Function Documentation

◆ createRaster()

virtual MaterialRasterBase * OpenCVMaterialRasterFactory::createRaster ( const String & image_id,
const RasterInfo & info )
inlineprotectedvirtual

Creates a new OpenCVImageRaster instance.

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

Implements MaterialRasterFactory.

Definition at line 163 of file OpenCVImageRaster.h.


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