neuray API Programmer's Manual

mi::neuraylib::ICanvas_base Class Reference

[Miscellaneous]

Description

Abstract interface for a canvas (base class). This interface is the base class for all canvases. It holds the common functionality of all different canvas interfaces, i.e., the resolution of the canvas.

See also:

mi::neuraylib::ICanvas

Public Member Functions

virtual Uint32 get_resolution_x() const =0
Returns the resolution of the canvas in x direction.
virtual Uint32 get_resolution_y() const =0
Returns the resolution of the canvas in y direction.
virtual const char* get_type() const =0
Returns the pixel type used by the canvas. More...

Member Functions

virtual Uint32 mi::​neuraylib::​ICanvas_base::get_resolution_x() const [pure virtual]

Returns the resolution of the canvas in x direction.

virtual Uint32 mi::​neuraylib::​ICanvas_base::get_resolution_y() const [pure virtual]

Returns the resolution of the canvas in y direction.

virtual const char* mi::​neuraylib::​ICanvas_base::get_type() const [pure virtual]

Returns the pixel type used by the canvas.

See also:

Types for a list of supported pixel types