Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
CDependentChannels Class Reference

This class contains an array of CChannel information which are associated to the object. More...

Detailed Description

This class contains an array of CChannel information which are associated to the object.

Any geometrical object (OBJECT_GEOM) have a CDependentChannels associated to it, which can be retrieved by C3DGeomObject::GetChannels

#include <DependentChannels.h>

Inheritance diagram for CDependentChannels:
CXArray< CChannel *, CChannel * > CInstanciatedObject

Public Member Functions

int GetSize () const
 
int GetChannelsNumber (unsigned int type, bool onlyValid=true)
 
int GetChannels (unsigned int type, CChannelList &list, unsigned int excludedFlags=CHANNEL_IS_INVALID, unsigned int neededFlags=CHANNEL_NONE) const
 
Channel3DType GetChannelType (int i)
 
int GetChannelIndex (const CChannel *channel) const
 
CChannelGetChannelByIndex (int i, unsigned int type=CHANNEL_TYPE_UNDEFINED, bool onlyValid=true)
 
CChannelGetChannelByID (ChannelID id, Channel3DType type=CHANNEL_TYPE_UNDEFINED)
 
CChannelGetChannelByIndex (int i, CFaceList *&channelfaces, CPointList *&channelpoints, Channel3DType type=CHANNEL_TYPE_UNDEFINED)
 
CChannelGetChannelByID (ChannelID id, CFaceList *&channelfaces, CPointList *&channelpoints, Channel3DType type)
 
CUVWChannelGetUVWChannelByIndex (int i, CUVWFaceList *&uvfaces, CUVWPointList *&uvpoints)
 
CUVWChannelGetUVWChannelByID (ChannelID id, CUVWFaceList *&uvfaces, CUVWPointList *&uvpoints)
 
CVCChannelGetVCChannelByIndex (int i, CVCFaceList *&vcfaces, CVCPointList *&vcpoints)
 
CVCChannelGetVCChannelByID (ChannelID id, CVCFaceList *&vcfaces, CVCPointList *&vcpoints)
 
int GetChannelIndex (ChannelID id, Channel3DType type, bool onlyValid=true)
 
ChannelID ModifyChannelIDByID (ChannelID newid, ChannelID currentID, Channel3DType type)
 
ChannelID ModifyChannelIDByIndex (ChannelID newid, int index, Channel3DType type=CHANNEL_TYPE_UNDEFINED, bool onlyValid=true)
 
CSpecNormalChannelGetSpecNormalChannel ()
 
CSpecNormalChannelGetSpecNormalChannel (CNormalFaceList *&channelfaces, C3DVectorList *&channelnormals)
 
CPointNormalChannelGetPointNormalChannel (bool createChannelIfNeeded=true)
 
CPointNormalChannelGetPointNormalChannel (CNormalFaceList *&channelfaces, C3DVectorList *&channelnormals, bool createChannelIfNeeded=true)
 
CFaceNormalChannelGetFaceNormalChannel (bool createChannelIfNeeded=true)
 
CFaceNormalChannelGetFaceNormalChannel (C3DVectorList *&channelnormals, bool createChannelIfNeeded=true)
 
bool InvalidateChannels (unsigned int type=ALL_CHANNELS_TYPE)
 
int CleanChannels (const CGeomInfo *info, CXUIntArray *newfaceindex, CXUIntArray *newpointindex)
 
bool SwapCoordinates (unsigned int swapMode, unsigned int channelType=ALL_CHANNELS_TYPE)
 
bool MatrixTransform (const C4x4Matrix &matrix, unsigned int channelType=ALL_CHANNELS_TYPE, POINT_PROPERTIES property=POINT_NONE, bool set=true)
 
bool Weld (const CGeomInfo *info, double tolerance, unsigned int channelType=ALL_CHANNELS_TYPE)
 
bool InitBreakFlags (const CGeomInfo *info, unsigned int channelType=ALL_CHANNELS_TYPE, float uvTolerance=0.0f, int vcTolerance=0, float normalThreshold=DEG2RADF(DEFAULT_NORMAL_THRESHOLD_VALUE))
 
void FreeExtra ()
 
ChannelID AddChannel (CChannel *channel, ChannelID id=CHANNELID_UNDEFINED)
 
CChannelAddChannel (Channel3DType channelType, ChannelID id=CHANNELID_UNDEFINED)
 
int CopyChannels (const CDependentChannels &srcChannels, unsigned int channelType, unsigned int channelCopyFlags, CXUIntArray *channelIndexMatches=NULL)
 
bool RemoveChannelsByFlag (CHANNEL_PROPERTIES channelFlags, Channel3DType type=CHANNEL_TYPE_UNDEFINED, bool flagIsSet=true, bool deleteChannel=true)
 
bool RemoveChannelByIndex (int i, Channel3DType type=CHANNEL_TYPE_UNDEFINED, bool deleteChannel=true)
 
bool RemoveChannelsByType (unsigned int channelType, bool deleteChannel=true)
 
bool RemoveChannelByID (ChannelID id, Channel3DType type, bool deleteChannel=true)
 
bool RemoveChannel (CChannel *channel, bool deleteChannel=true)
 
void RemoveAll ()
 
void SetFlag (unsigned int type, CHANNEL_PROPERTIES flag, bool set)
 
CDependentChannelsoperator= (CDependentChannels &channel)
 
virtual void Serialize (CXArchive &ar)
 
- Public Member Functions inherited from CInstanciatedObject
virtual bool Delete ()
 
int GetRefCount () const
 
int AddRef () const
 

Static Public Member Functions

static CDependentChannelsCreate ()
 
static ChannelID GetFirstChannelIDByType (Channel3DType channelType)
 

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