Inviwo  0.9.10.1
Inviwo documentation
inviwo::LayerDisk2RAMConverter Class Reference
+ Inheritance diagram for inviwo::LayerDisk2RAMConverter:

Public Member Functions

virtual std::shared_ptr< LayerRAMcreateFrom (std::shared_ptr< const LayerDisk > source) const override
 
virtual void update (std::shared_ptr< const LayerDisk > source, std::shared_ptr< LayerRAM > destination) const override
 
- Public Member Functions inherited from inviwo::RepresentationConverterType< LayerRepresentation, LayerDisk, LayerRAM >
virtual ConverterID getConverterID () const override
 
virtual std::shared_ptr< LayerRepresentationcreateFrom (std::shared_ptr< const LayerRepresentation > source) const override final
 
virtual void update (std::shared_ptr< const LayerRepresentation > source, std::shared_ptr< LayerRepresentation > destination) const override final
 

Additional Inherited Members

- Public Types inherited from inviwo::RepresentationConverterType< LayerRepresentation, LayerDisk, LayerRAM >
using ConverterID = typename RepresentationConverter< LayerRepresentation >::ConverterID
 
- Public Types inherited from inviwo::RepresentationConverter< LayerRepresentation >
using ConverterID = std::pair< std::type_index, std::type_index >
 

Member Function Documentation

◆ createFrom()

std::shared_ptr< LayerRAM > inviwo::LayerDisk2RAMConverter::createFrom ( std::shared_ptr< const LayerDisk source) const
overridevirtual

Converts a LayerDisk representation to a RAM representation. This is done if a Image has a representation of LayerDisk and a LayerRAM representation is required. This is used in data.h.

Parameters
sourceis the input representation that is to be converted.
Returns
the imageRAM representation of the file. Returns nullptr if source is not a LayerDisk object.

Implements inviwo::RepresentationConverterType< LayerRepresentation, LayerDisk, LayerRAM >.


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