Celeritas  0.5.0-86+4a8eea4
Public Member Functions | Protected Member Functions | List of all members
celeritas::ImageInterface Class Referenceabstract

Access data from an image. More...

#include <ImageInterface.hh>

Inheritance diagram for celeritas::ImageInterface:
Inheritance graph
[legend]

Public Types

Type aliases
using int_type = int
 
using SpanInt = Span< int_type >
 
using SPConstParams = std::shared_ptr< ImageParams const >
 

Public Member Functions

virtual ~ImageInterface ()=default
 Default virtual destructor.
 
virtual SPConstParams const & params () const =0
 Access image properties.
 
virtual void copy_to_host (SpanInt) const =0
 Copy the image to the host.
 

Protected Member Functions

 CELER_DEFAULT_COPY_MOVE (ImageInterface)
 

Detailed Description

Access data from an image.

Images currently are arrays of integer pixels.


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