dip::viewer::SliceViewer class

Interactive nD tensor image viewer.

Contents

Base classes

class dip::viewer::Viewer abstract
A Window for viewing a dip::Image

Aliases

typedef std::shared_ptr<SliceViewer> Ptr
A pointer to a SliceViewer.

Functions

static auto Create(dip::Image const& image, std::string name = "SliceViewer", size_t width = 0, size_t height = 0) -> dip::viewer::SliceViewer::Ptr
Construct a new SliceViewer.
void updateLinkedViewers()
Update linked viewers.
Link this viewer to another, compatible one.

Function documentation

static dip::viewer::SliceViewer::Ptr Create(dip::Image const& image, std::string name = "SliceViewer", size_t width = 0, size_t height = 0)

Construct a new SliceViewer.

As the constructor is protected, this is the only way to create a SliceViewer.

Example usage:

manager.createWindow( dip::viewer::SliceViewer::Create( image ));