Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoColorPacker Class Reference

Stores packed colors. More...

#include <Inventor/misc/SoColorPacker.h>

Public Member Functions

 SoColorPacker ()
 
 ~SoColorPacker ()
 
uint32_t * getPackedColors () const
 
SbBool diffuseMatch (uint64_t nodeId)
 
SbBool transpMatch (uint64_t nodeId)
 
void setNodeIds (uint64_t diffNodeId, uint64_t tNodeId)
 
int32_t getSize ()
 
void reallocate (int32_t size)
 

Static Public Member Functions

static void exitClass ()
 

Detailed Description

Stores packed colors.

This class is meant to be used by all property nodes that set either a diffuse color or transparency in the lazy element. It maintains a cache of the current diffuse color and transparency in a packed color array.

Definition at line 42 of file SoColorPacker.h.

Constructor & Destructor Documentation

◆ SoColorPacker()

SoColorPacker::SoColorPacker ( )

◆ ~SoColorPacker()

SoColorPacker::~SoColorPacker ( )

Member Function Documentation

◆ diffuseMatch()

SbBool SoColorPacker::diffuseMatch ( uint64_t  nodeId)
inline

Definition at line 59 of file SoColorPacker.h.

◆ exitClass()

static void SoColorPacker::exitClass ( )
static

◆ getPackedColors()

uint32_t * SoColorPacker::getPackedColors ( ) const
inline

Definition at line 56 of file SoColorPacker.h.

◆ getSize()

int32_t SoColorPacker::getSize ( )
inline

Definition at line 69 of file SoColorPacker.h.

◆ reallocate()

void SoColorPacker::reallocate ( int32_t  size)

◆ setNodeIds()

void SoColorPacker::setNodeIds ( uint64_t  diffNodeId,
uint64_t  tNodeId 
)
inline

Definition at line 65 of file SoColorPacker.h.

◆ transpMatch()

SbBool SoColorPacker::transpMatch ( uint64_t  nodeId)
inline

Definition at line 62 of file SoColorPacker.h.


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