Polygon Crucher SDK - Documentation
Documentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CVCPoint Class Reference

CVCPoint is a point that have a CRGBColor and which is used for handling object vertex colors. More...

Detailed Description

CVCPoint is a point that have a CRGBColor and which is used for handling object vertex colors.

#include <VCPoint.h>

Inheritance diagram for CVCPoint:
CPt

Public Member Functions

unsigned charoperator[] (int i)
 
const unsigned charoperator[] (int i) const
 
unsigned charValPtr ()
 
CVCPointoperator= (const CVCPoint &refpoint)
 
bool operator== (const CVCPoint &pt) const
 
virtual CPtoperator= (const CPt &refpoint)
 
virtual void To4DPoint (C4DPoint &pt) const
 
virtual CPtoperator= (const C4DPoint &pt)
 
 operator CRGBColor ()
 
CRGBColorGetColor ()
 
void SetColor (CRGBColor &color)
 
void SetColor (unsigned char r, unsigned char g, unsigned char b, unsigned char a=0)
 
void SetColor (float r, float g, float b, float a, float scale)
 
void SetColor3 (const unsigned char *rgb)
 
void SetColor4 (const unsigned char *rgba)
 
void SetColor3 (const float *rgb, float scale)
 
void SetColor4 (const float *rgba, float scale)
 
virtual void Serialize (CXArchive &ar)
 
- Public Member Functions inherited from CPt
unsigned int GetFlags () const
 
void SetFlags (unsigned int flags)
 
void SetFlag (POINT_PROPERTIES flag, bool set)
 
void SetFlags (unsigned int flags, bool set)
 
bool IsFlagSet (POINT_PROPERTIES flag) const
 
bool IsOneFlagSet (int flag) const
 

Public Attributes

CRGBColor color
 

Member Function Documentation

◆ operator=() [1/2]

virtual CPt & CVCPoint::operator= ( const C4DPoint pt)
virtual

Implements CPt.

◆ operator=() [2/2]

virtual CPt & CVCPoint::operator= ( const CPt refpoint)
virtual

Reimplemented from CPt.

◆ Serialize()

virtual void CVCPoint::Serialize ( CXArchive ar)
virtual

Reimplemented from CPt.

◆ To4DPoint()

virtual void CVCPoint::To4DPoint ( C4DPoint pt) const
virtual

Implements CPt.


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