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

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

Functions

static auto Create(dip::Image const& image, std::string name = "SliceViewer", dip::uint width = 0, dip::uint 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", dip::uint width = 0, dip::uint 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 ));