shapeworks::SliceView
#include <SliceView.h>
Public Types
Name | |
---|---|
enum | SliceChange |
Public Functions
Name | |
---|---|
SliceView(Viewer * viewer) | |
void | set_volume(std::shared_ptr< Image > volume) |
void | add_mesh(vtkSmartPointer< vtkPolyData > poly_data) |
void | clear_meshes() |
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_brightness_and_contrast(double brightness, double contrast) |
double | get_spacing() |
int | get_orientation_index() |
void | update_particles() |
Viewer * | get_viewer() |
bool | should_point_show(double x, double y, double z) |
int | get_slice_number() |
Detailed Description
class shapeworks::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 add_mesh
void add_mesh(
vtkSmartPointer< vtkPolyData > poly_data
)
function clear_meshes
void clear_meshes()
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_brightness_and_contrast
void set_brightness_and_contrast(
double brightness,
double contrast
)
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
)
function get_slice_number
int get_slice_number()
Updated on 2024-03-17 at 12:58:44 -0600