Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoWinMaterialPalette.h File Reference

Go to the source code of this file.

Typedefs

typedef void SoWinMaterialPaletteCB(void *userData, const SoMaterial *mtl)
 

Functions

 ~SoWinMaterialPalette ()
 
void attach (SoMaterial *material, int index=0)
 
void detach ()
 
SbBool isAttached ()
 
void addMaterialChangedCallback (SoWinMaterialPaletteCB *f, void *userData=NULL)
 
void removeMaterialChangedCallback (SoWinMaterialPaletteCB *f, void *userData=NULL)
 
virtual void show ()
 
virtual void hide ()
 
void setMaterial (const SoMaterial &mtl)
 
const SoMaterialgetMaterial () const
 
void windowsPalette ()
 
static void staticLocation2EventCB (void *userData, SoEventCallback *node)
 
void location2Event (SoEventCallback *node)
 
void browsePalletteBaseDir ()
 
void setPaletteBaseDir (LPCTSTR newBaseDir)
 
long getMaxDirCount ()
 

Variables

SbBool alwaysOnTop
 

Typedef Documentation

◆ SoWinMaterialPaletteCB

typedef void SoWinMaterialPaletteCB(void *userData, const SoMaterial *mtl)

Definition at line 62 of file SoWinMaterialPalette.h.

Function Documentation

◆ addMaterialChangedCallback()

void addMaterialChangedCallback ( SoWinMaterialPaletteCB f,
void *  userData = NULL 
)
inline

◆ attach()

void attach ( SoMaterial material,
int  index = 0 
)

◆ browsePalletteBaseDir()

void browsePalletteBaseDir ( )

◆ detach()

void detach ( )

◆ getMaterial()

const SoMaterial & getMaterial ( ) const

Definition at line 106 of file SoWinMaterialPalette.h.

◆ getMaxDirCount()

long getMaxDirCount ( )

Definition at line 117 of file SoWinMaterialPalette.h.

◆ hide()

virtual void hide ( )
virtual

◆ isAttached()

SbBool isAttached ( )

Definition at line 85 of file SoWinMaterialPalette.h.

◆ location2Event()

void location2Event ( SoEventCallback node)

◆ removeMaterialChangedCallback()

void removeMaterialChangedCallback ( SoWinMaterialPaletteCB f,
void *  userData = NULL 
)
inline

◆ setMaterial()

void setMaterial ( const SoMaterial mtl)

◆ setPaletteBaseDir()

void setPaletteBaseDir ( LPCTSTR  newBaseDir)

◆ show()

virtual void show ( )
virtual

◆ staticLocation2EventCB()

static void staticLocation2EventCB ( void *  userData,
SoEventCallback node 
)
static

◆ windowsPalette()

void windowsPalette ( )

◆ ~SoWinMaterialPalette()

~SoWinMaterialPalette ( )

Variable Documentation

◆ alwaysOnTop

SbBool alwaysOnTop

Definition at line 110 of file SoWinMaterialPalette.h.