Skip to content

shapeworks::SliceView

SliceView. More...

#include <SliceView.h>

Public Types

Name
enum SliceChange

Public Functions

Name
SliceView(Viewer * viewer)
void set_volume(std::shared_ptr< Image > volume)
void set_mesh(vtkSmartPointer< vtkPolyData > poly_data)
void set_orientation(int orientation)
bool is_image_loaded()
void update_renderer()
void update_camera()
Point handle_key(std::string key)
void change_slice(SliceChange change)
Point get_slice_position()
void set_slice_position(Point point)
void set_window_and_level(double window, double level)
double get_spacing()
int get_orientation_index()
void update_particles()
Viewer * get_viewer()
bool should_point_show(double x, double y, double z)

Detailed Description

class shapeworks::SliceView;

SliceView.

Provide slice viewing to the Viewer

Public Types Documentation

enum SliceChange

Enumerator Value Description
Down
Up

Public Functions Documentation

function SliceView

SliceView(
    Viewer * viewer
)

function set_volume

void set_volume(
    std::shared_ptr< Image > volume
)

function set_mesh

void set_mesh(
    vtkSmartPointer< vtkPolyData > poly_data
)

function set_orientation

void set_orientation(
    int orientation
)

function is_image_loaded

bool is_image_loaded()

function update_renderer

void update_renderer()

function update_camera

void update_camera()

function handle_key

Point handle_key(
    std::string key
)

function change_slice

void change_slice(
    SliceChange change
)

function get_slice_position

Point get_slice_position()

function set_slice_position

void set_slice_position(
    Point point
)

function set_window_and_level

void set_window_and_level(
    double window,
    double level
)

function get_spacing

double get_spacing()

function get_orientation_index

int get_orientation_index()

function update_particles

void update_particles()

function get_viewer

Viewer * get_viewer()

function should_point_show

bool should_point_show(
    double x,
    double y,
    double z
)

Updated on 2022-07-23 at 16:40:06 -0600