1#ifndef COIN_SOMFCOLORRGBA_H
2#define COIN_SOMFCOLOR_H
27#include <Inventor/fields/SoMField.h>
28#include <Inventor/fields/SoSubField.h>
29#include <Inventor/SbColor4f.h>
31class COIN_DLL_API SoMFColorRGBA :
public SoMField {
36 SO_MFIELD_SETVALUESPOINTER_HEADER(
float);
37 SO_MFIELD_SETVALUESPOINTER_HEADER(
SbColor4f);
42 void setValues(
int start,
int num,
const float rgba[][4]);
45 void setValue(
const SbVec4f & vec);
46 void setValue(
float r,
float g,
float b,
float a);
47 void setValue(
const float rgba[4]);
49 void setHSVValue(
float h,
float s,
float v,
float a);
52 void set1Value(
int idx,
const SbVec4f & vec);
53 void set1Value(
int idx,
float r,
float g,
float b,
float a);
54 void set1Value(
int idx,
const float rgba[4]);
56 void set1HSVValue(
int idx,
float h,
float s,
float v,
float a);
The SbColor4f class contains the red, green, blue and alpha components which make up a color value.
Definition SbColor4f.h:32
The SbVec4f class is a 4 dimensional vector with floating point coordinates.
Definition SbVec4f.h:34
static void initClass(void)
Definition SoField.cpp:600
void setHSVValue(float h, float s, float v, float a)
Definition SoMFColorRGBA.cpp:155
void set1HSVValue(int idx, float h, float s, float v, float a)
Definition SoMFColorRGBA.cpp:207
void setHSVValues(int start, int num, const float hsv[][4])
Definition SoMFColorRGBA.cpp:110
SoMField(void)
Definition SoMField.cpp:305
int num
Definition SoMField.h:65
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 23 2025 for Coin by Doxygen. 1.14.0