6#if !defined(AFX_DEPENDENTCHANNELS_H__79EB93C3_8866_11D3_A029_8FE73A9B677B__INCLUDED_)
7#define AFX_DEPENDENTCHANNELS_H__79EB93C3_8866_11D3_A029_8FE73A9B677B__INCLUDED_
15BEGIN_MOOTOOLS_NAMESPACE
36 static inline unsigned int HashValue(
const CChannelInfo& info)
38 return HashMixValue(info.id) + info.type;
64 using CXArray::operator[];
68 int GetChannelsNumber(
unsigned int type,
bool onlyValid =
true);
69 int GetChannels(
unsigned int type, CChannelList&
list,
unsigned int excludedFlags = CHANNEL_IS_INVALID,
unsigned int neededFlags = CHANNEL_NONE)
const;
71 int GetChannelIndex(
const CChannel *channel)
const;
73 CChannel *GetChannelByIndex(
int i,
unsigned int type = CHANNEL_TYPE_UNDEFINED,
bool onlyValid =
true);
97 bool InvalidateChannels(
unsigned int type = ALL_CHANNELS_TYPE);
116 void SetFlag(
unsigned int type, CHANNEL_PROPERTIES
flag,
bool set);
126 virtual void Dump(
unsigned int flags)
const;
137END_MOOTOOLS_NAMESPACE
CChannel class definition which is the base class for object channels (UV, normals....
Channel3DType
The channel type which can be used to cast to the appropriate class Bitwise operations can be use to ...
Definition Channel.h:27
POINT_PROPERTIES
Point flags used by any classes that inherit from CPt (C3DPoint, C3DVector...)
Definition Point.h:19
The class defines an x, y, z 3D point which can use int, float or double.
Definition 3DPoint.h:27
C3DVectorList is an array of C3DVector. It is used in particular by CPointNormalChannel,...
Definition 3DVectorList.h:45
A CChannel is the base class for some additional information associated to an object.
Definition Channel.h:93
Definition DependentChannels.h:23
This class contains an array of CChannel information which are associated to the object.
Definition DependentChannels.h:56
CFaceList is the common base class for a lot of different classes (C3DFaceList, CUVWFaceList....
Definition FaceList.h:179
CFaceNormalChannel is the channel class dedicated to vertex colors.
Definition FaceNormalChannel.h:22
CGeomInfo is an helper class oftenly required by different methods.
Definition GeomInfo.h:71
Definition InstanciatedObject.h:16
CNormalFaceList is a CFaceList that contains CNormalFace. It usually belongs to a by CPointNormalChan...
Definition NormalFaceList.h:21
CPointList is the base class for different classes (C3DPointList, CUVWPointList......
Definition PointList.h:50
CPointNormalChannel is the channel class dedicated to vertex colors.
Definition PointNormalChannel.h:61
CSpecNormalChannel is the channel class dedicated to user defined or specified normals.
Definition SpecNormalChannel.h:21
CUVWChannel is the channel class dedicated to UVs.
Definition UVWChannel.h:21
CUVWFaceList is a CFaceList that contains CUVWFace. It usually belongs to a CUVWChannel.
Definition UVWFaceList.h:21
CUVWPointList is an array of CUVWPoint. It usually belongs to a CUVWChannel.
Definition UVWPointList.h:46
CVCChannel is the channel class dedicated to vertex colors.
Definition VCChannel.h:21
CVCFaceList is a CFaceList that contains CVCFace. It usually belongs to a CVCChannel.
Definition VCFaceList.h:21
CVCPointList is an array of CVCPoint. It usually belongs to a CVCChannel.
Definition VCPointList.h:46
CXArray is an array of simple data information which does not requires to call a constructor / destru...
Definition XTemplate.h:34