7#if !defined(AFX_VCPOINT_H__350DEEC1_8B26_11D3_A382_E0AAB89E432D__INCLUDED_) 
    8#define AFX_VCPOINT_H__350DEEC1_8B26_11D3_A382_E0AAB89E432D__INCLUDED_ 
   17BEGIN_MOOTOOLS_NAMESPACE
 
   30    unsigned char& operator[](
int i);
 
   31    const unsigned char& operator[](
int i) 
const;
 
   32    unsigned char* ValPtr();
 
   44    void SetColor(
unsigned char r, 
unsigned char g, 
unsigned char b, 
unsigned char a = 0);
 
   45    void SetColor(
float r, 
float g, 
float b, 
float a, 
float scale);
 
   46    void SetColor3(
const unsigned char *
rgb);
 
   47    void SetColor4(
const unsigned char *
rgba);
 
   48    void SetColor3(
const float *
rgb, 
float scale);
 
   49    void SetColor4(
const float *
rgba, 
float scale);
 
   54    virtual void Dump() 
const;
 
   55    bool IsKindOf(
unsigned int classid) 
const;
 
   56    virtual unsigned int ClassID() 
const;
 
 
   60inline CVCPoint::CVCPoint()
 
   65inline unsigned char& CVCPoint::operator[](
int i)
 
   70inline const unsigned char& CVCPoint::operator[](
int i)
 const  
   75inline unsigned char* CVCPoint::ValPtr()
 
   88inline bool CVCPoint::operator==(
const CVCPoint& 
pt)
 const 
   90    return (color == 
pt.color);
 
  103inline void CVCPoint::SetColor(
CRGBColor& color)
 
  108inline void CVCPoint::SetColor(
unsigned char r, 
unsigned char g, 
unsigned char b, 
unsigned char a)
 
  110    this->color.SetColor(r, g, b, a);
 
  113inline void CVCPoint::SetColor(
float r, 
float g, 
float b, 
float a, 
float scale)
 
  115    this->color.SetColor(r, g, b, a);
 
  118inline void CVCPoint::SetColor3(
const unsigned char *
rgb)
 
  120    this->color.SetColor3(
rgb);
 
  123inline void CVCPoint::SetColor4(
const unsigned char *
rgba)
 
  125    this->color.SetColor4(
rgba);
 
  128inline void CVCPoint::SetColor3(
const float *
rgb, 
float scale)
 
  130    this->color.SetColor3(
rgb, scale);
 
  133inline void CVCPoint::SetColor4(
const float *
rgba, 
float scale)
 
  135    this->color.SetColor4(
rgba, scale);
 
  138END_MOOTOOLS_NAMESPACE
 
The files handles materials definition.
 
CPt class is the base class for different class of points (C3DPoint, CUVWPoint...)
 
The class defines an x, y, z 3D point which can use int, float or double.
Definition 3DPoint.h:27
 
CPt base only contains some flags that are used by the derived class.
Definition Point.h:60
 
CRGBColor handles an r, g, b, a color that can be initialized in different way.
Definition RGBColor.h:22
 
CVCPoint is a point that have a CRGBColor and which is used for handling object vertex colors.
Definition VCPoint.h:22