Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
igl::anttweakbar::ReTwCBItem Struct Reference

#include <src/libigl/igl/anttweakbar/ReAntTweakBar.h>

+ Collaboration diagram for igl::anttweakbar::ReTwCBItem:

Public Member Functions

IGL_INLINE ReTwCBItem (const std::string _name, TwType _type, TwSetVarCallback _setCallback, TwGetVarCallback _getCallback, void *_clientData)
 
IGL_INLINE ReTwCBItem (const ReTwCBItem &that)
 
IGL_INLINE ReTwCBItemoperator= (const ReTwCBItem &that)
 

Public Attributes

std::string name
 
TwType type
 
TwSetVarCallback setCallback
 
TwGetVarCallback getCallback
 
voidclientData
 

Detailed Description

Constructor & Destructor Documentation

◆ ReTwCBItem() [1/2]

IGL_INLINE igl::anttweakbar::ReTwCBItem::ReTwCBItem ( const std::string  _name,
TwType  _type,
TwSetVarCallback  _setCallback,
TwGetVarCallback  _getCallback,
void _clientData 
)
inline
124 :
125 name(_name),
126 type(_type),
127 setCallback(_setCallback),
128 getCallback(_getCallback),
129 clientData(_clientData)
130 {
131 }
TwType type
Definition ReAntTweakBar.h:114
TwGetVarCallback getCallback
Definition ReAntTweakBar.h:116
TwSetVarCallback setCallback
Definition ReAntTweakBar.h:115
void * clientData
Definition ReAntTweakBar.h:117
std::string name
Definition ReAntTweakBar.h:113

◆ ReTwCBItem() [2/2]

IGL_INLINE igl::anttweakbar::ReTwCBItem::ReTwCBItem ( const ReTwCBItem that)
inline
134 :
135 name(that.name),
136 type(that.type),
137 setCallback(that.setCallback),
138 getCallback(that.getCallback),
139 clientData(that.clientData)
140 {
141 }

Member Function Documentation

◆ operator=()

IGL_INLINE ReTwCBItem & igl::anttweakbar::ReTwCBItem::operator= ( const ReTwCBItem that)
inline
145 {
146 if(this != &that)
147 {
148 name = that.name;
149 type = that.type;
150 setCallback = that.setCallback;
151 getCallback = that.getCallback;
152 clientData = that.clientData;
153 }
154 return *this;
155 }

References clientData, getCallback, name, setCallback, and type.

Member Data Documentation

◆ clientData

void* igl::anttweakbar::ReTwCBItem::clientData

Referenced by operator=().

◆ getCallback

TwGetVarCallback igl::anttweakbar::ReTwCBItem::getCallback

Referenced by operator=().

◆ name

std::string igl::anttweakbar::ReTwCBItem::name

Referenced by operator=().

◆ setCallback

TwSetVarCallback igl::anttweakbar::ReTwCBItem::setCallback

Referenced by operator=().

◆ type

TwType igl::anttweakbar::ReTwCBItem::type

Referenced by operator=().


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