Open Inventor Reference
SoColorPacker Class Reference

This class is meant to be used by all property nodes that set either a diffuse color or transparency in the lazy element. More...

#include <Inventor/elements/SoLazyElement.h>

List of all members.

Public Member Functions

 SoColorPacker ()
 Constructor, makes a colorPacker with NULL packedColor pointer:
 ~SoColorPacker ()
 destructor, deletes packed color array
uint32_tgetPackedColors () const
SbBool diffuseMatch (uint32_t nodeId)
SbBool transpMatch (uint32_t nodeId)
void setNodeIds (uint32_t diffNodeId, uint32_t tNodeId)
int32_t getSize ()
void reallocate (int32_t size)

Detailed Description

It maintains a cache of the current diffuse color and transparency in a packed color array.

Definition at line 377 of file SoLazyElement.h.


Constructor & Destructor Documentation

SoColorPacker::SoColorPacker ( )
SoColorPacker::~SoColorPacker ( )

Member Function Documentation

SbBool SoColorPacker::diffuseMatch ( uint32_t  nodeId) [inline]

Definition at line 388 of file SoLazyElement.h.

uint32_t* SoColorPacker::getPackedColors ( ) const [inline]

Definition at line 385 of file SoLazyElement.h.

int32_t SoColorPacker::getSize ( ) [inline]

Definition at line 397 of file SoLazyElement.h.

void SoColorPacker::reallocate ( int32_t  size)
void SoColorPacker::setNodeIds ( uint32_t  diffNodeId,
uint32_t  tNodeId 
) [inline]

Definition at line 394 of file SoLazyElement.h.

SbBool SoColorPacker::transpMatch ( uint32_t  nodeId) [inline]

Definition at line 391 of file SoLazyElement.h.


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