Skip to content

shapeworks::Lightbox

Display multiple Viewers in a tiled display. More...

#include <Lightbox.h>

Inherits from QObject

Public Slots

Name
void handle_timer_callback()

Public Signals

Name
void right_click(int index)

Public Functions

Name
Lightbox()
~Lightbox()
void set_shapes(ShapeList shapes)
ShapeList get_shapes()
void set_interactor(vtkRenderWindowInteractor * interactor)
void set_render_window(vtkRenderWindow * render_window)
void set_tile_layout(int width, int height)
void setup_renderers()
int get_num_rows()
int get_num_rows_visible()
void set_start_row(int row)
ViewerList get_viewers()
void redraw()
void handle_pick(int * click_pos, bool one, bool ctrl)
void handle_hover(int * click_pos)
void handle_key(int * click_pos, std::string key)
void handle_right_click(int * click_pos, vtkRenderer * renderer)
Handle a right click that did not involve any movement.
void set_glyph_lut(vtkSmartPointer< vtkLookupTable > lut)
void set_session(QSharedPointer< Session > session)
void set_visualizer(Visualizer * visualizer)
bool render_window_ready()
void clear_renderers()
std::array< double, 3 > initPos()
void handle_new_mesh()
void reset_camera()
void reset_camera_clipping_range()
void set_orientation_marker(Preferences::OrientationMarkerType type, Preferences::OrientationMarkerCorner corner)
void set_orientation_marker_viewport()
void update_feature_range()
void update_interactor_style()
void set_shared_brightness_and_contrast(double brightness, double contrast)
vtkRenderWindow * get_render_window()

Detailed Description

class shapeworks::Lightbox;

Display multiple Viewers in a tiled display.

The LightBox class displays multiple Viewers in a tiled display

Public Slots Documentation

slot handle_timer_callback

void handle_timer_callback()

Public Signals Documentation

signal right_click

void right_click(
    int index
)

Public Functions Documentation

function Lightbox

Lightbox()

function ~Lightbox

~Lightbox()

function set_shapes

void set_shapes(
    ShapeList shapes
)

function get_shapes

ShapeList get_shapes()

function set_interactor

void set_interactor(
    vtkRenderWindowInteractor * interactor
)

function set_render_window

void set_render_window(
    vtkRenderWindow * render_window
)

function set_tile_layout

void set_tile_layout(
    int width,
    int height
)

function setup_renderers

void setup_renderers()

function get_num_rows

int get_num_rows()

function get_num_rows_visible

int get_num_rows_visible()

function set_start_row

void set_start_row(
    int row
)

function get_viewers

ViewerList get_viewers()

function redraw

void redraw()

function handle_pick

void handle_pick(
    int * click_pos,
    bool one,
    bool ctrl
)

function handle_hover

void handle_hover(
    int * click_pos
)

function handle_key

void handle_key(
    int * click_pos,
    std::string key
)

function handle_right_click

void handle_right_click(
    int * click_pos,
    vtkRenderer * renderer
)

Handle a right click that did not involve any movement.

function set_glyph_lut

void set_glyph_lut(
    vtkSmartPointer< vtkLookupTable > lut
)

function set_session

void set_session(
    QSharedPointer< Session > session
)

function set_visualizer

void set_visualizer(
    Visualizer * visualizer
)

function render_window_ready

inline bool render_window_ready()

function clear_renderers

void clear_renderers()

function initPos

std::array< double, 3 > initPos()

function handle_new_mesh

void handle_new_mesh()

function reset_camera

void reset_camera()

function reset_camera_clipping_range

void reset_camera_clipping_range()

function set_orientation_marker

void set_orientation_marker(
    Preferences::OrientationMarkerType type,
    Preferences::OrientationMarkerCorner corner
)

function set_orientation_marker_viewport

void set_orientation_marker_viewport()

function update_feature_range

void update_feature_range()

function update_interactor_style

void update_interactor_style()

function set_shared_brightness_and_contrast

void set_shared_brightness_and_contrast(
    double brightness,
    double contrast
)

function get_render_window

vtkRenderWindow * get_render_window()

Updated on 2024-11-11 at 19:51:45 +0000