DGtal 1.3.0
|
#include <DGtal/io/DrawWithDisplay3DModifier.h>
Public Types | |
typedef int(* | CallbackFct) (void *viewer, DGtal::int32_t name, void *data) |
Public Member Functions | |
SetSelectCallback3D (CallbackFct f, void *data, DGtal::int32_t min=0, DGtal::int32_t max=0x7fffffff) | |
std::string | className () const |
Public Member Functions inherited from DGtal::DrawWithDisplay3DModifier | |
std::string | className () const |
Data Fields | |
CallbackFct | myFct |
The callback function associated to the selection of an element. More... | |
void * | myData |
DGtal::int32_t | myMin |
DGtal::int32_t | myMax |
This structure is used to pass callback functions to the viewer. These callback functions are called when specific graphical objects are selected by the user (
Definition at line 257 of file DrawWithDisplay3DModifier.h.
typedef int(* DGtal::SetSelectCallback3D::CallbackFct) (void *viewer, DGtal::int32_t name, void *data) |
The prototype for a callback function. It is called with a pointer to the viewer, the "OpenGL name" of the selected graphical element and a pointer toward the data that was given at construction of SetSelectCallback3D.
Definition at line 262 of file DrawWithDisplay3DModifier.h.
|
inline |
Definition at line 263 of file DrawWithDisplay3DModifier.h.
|
inline |
Definition at line 268 of file DrawWithDisplay3DModifier.h.
void* DGtal::SetSelectCallback3D::myData |
Definition at line 271 of file DrawWithDisplay3DModifier.h.
CallbackFct DGtal::SetSelectCallback3D::myFct |
The callback function associated to the selection of an element.
Definition at line 270 of file DrawWithDisplay3DModifier.h.
DGtal::int32_t DGtal::SetSelectCallback3D::myMax |
Definition at line 273 of file DrawWithDisplay3DModifier.h.
DGtal::int32_t DGtal::SetSelectCallback3D::myMin |
Definition at line 272 of file DrawWithDisplay3DModifier.h.