#include <segment_viewer.h>
Public Slots | |
void | load (const QString &basename M_UNUSED) |
void | changeSegmentation (SegmentationNS::SegmentationPtr seg, bool update=true) |
Set the Segmentation currently displayed. | |
void | changeCluster (int nb, bool update=true) |
Change the number of clusters for the current segmentation. | |
void | shouldUpdate () |
SegmentationNS::SegmentationPtr | getSegmentation () |
Public Member Functions | |
SegmentViewer (MeshNS::MeshSequencePtr *mesh, QWidget *parent=0) | |
Constructor. param mesh : pointer to the mesh rendered by the GLViewer. | |
Protected Member Functions | |
void | draw () |
void | animate () |
ViewerNS::SegmentViewer::SegmentViewer | ( | MeshNS::MeshSequencePtr * | mesh, | |
QWidget * | parent = 0 | |||
) |
void ViewerNS::SegmentViewer::load | ( | const QString &basename | M_UNUSED | ) | [inline, slot] |
void ViewerNS::SegmentViewer::changeSegmentation | ( | SegmentationNS::SegmentationPtr | seg, | |
bool | update = true | |||
) | [inline, slot] |
Set the Segmentation currently displayed.
seg | : the new segmentation | |
update | : should the segmentation be updqted (ie recomputed) |
void ViewerNS::SegmentViewer::changeCluster | ( | int | nb, | |
bool | update = true | |||
) | [inline, slot] |
Change the number of clusters for the current segmentation.
nb | : new number of cluster. | |
update | :should the segmentation be updqted (ie recomputed) |
SegmentationNS::SegmentationPtr ViewerNS::SegmentViewer::getSegmentation | ( | ) | [inline, slot] |
Get the current Segmentation.