MeVisLab Toolbox Reference
HitHandle Struct Reference

Allows drawing and editing of a rectangle on a SoView2D. More...

#include <SoView2DRectangle.h>

Public Member Functions

void reset (View2DSliceList *slicelist, int slice)
 
bool isDrawnOnViewer (View2DSliceList *slicelist, int slice) const
 

Public Attributes

SoView2Dviewer {}
 
int currentSlice {}
 
uint8_t hitID {}
 

Detailed Description

Allows drawing and editing of a rectangle on a SoView2D.

Definition at line 26 of file SoView2DRectangle.h.

Member Function Documentation

◆ isDrawnOnViewer()

bool HitHandle::isDrawnOnViewer ( View2DSliceList slicelist,
int  slice 
) const
inline

Definition at line 34 of file SoView2DRectangle.h.

References currentSlice, View2DSliceList::getOwner(), and viewer.

◆ reset()

void HitHandle::reset ( View2DSliceList slicelist,
int  slice 
)
inline

Definition at line 28 of file SoView2DRectangle.h.

References currentSlice, View2DSliceList::getOwner(), hitID, and viewer.

Member Data Documentation

◆ currentSlice

int HitHandle::currentSlice {}

Definition at line 39 of file SoView2DRectangle.h.

Referenced by isDrawnOnViewer(), and reset().

◆ hitID

uint8_t HitHandle::hitID {}

Definition at line 40 of file SoView2DRectangle.h.

Referenced by reset().

◆ viewer

SoView2D* HitHandle::viewer {}

Definition at line 38 of file SoView2DRectangle.h.

Referenced by isDrawnOnViewer(), and reset().


The documentation for this struct was generated from the following file: