Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
3DGeomObject.h File Reference

Detailed Description

The file contains definition related to C3DGeomObject which is the common object type for any geometrical object

#include "3DBaseObject.h"
#include "3DBBox.h"
#include "MaterialMap.h"

Go to the source code of this file.

Classes

class  C3DGeomObject
 This is the base class for any object containing geometry (curve, polygonal object, patch...) More...
 

Typedefs

typedef enum SUBOBJECT_MODE SUBOBJECT_MODE
 
typedef enum GENNORMAL_MODE GENNORMAL_MODE
 

Enumerations

enum  SUBOBJECT_MODE { SUBOBJECT_NONE = 0x00 , SUBOBJECT_FACE_EQUAL = 0x01 , SUBOBJECT_FACE_NOTEQUAL = 0x02 , SUBOBJECT_FACE_GREATER = 0x03 }
 Mode defining the subobject to return for C3DGeomObject::SubOject
More...
 
enum  GENNORMAL_MODE {
  GENNORMAL_NONE = 0x00 , GENNORMAL_ALL_FACES = 0x01 , GENNORMAL_INCOMPLETE_FACE_ONLY = 0x02 , GENNORMAL_PER_VERTEX = 0x04 ,
  GENNORMAL_PER_FACE = 0x08 , GENNORMAL_SPEC_CHANNEL = 0x10
}
 Flags for C3DGeomObject::GenerateNormals. More...
 

Enumeration Type Documentation

◆ GENNORMAL_MODE

Flags for C3DGeomObject::GenerateNormals.

Enumerator
GENNORMAL_ALL_FACES 

Generate normals for the whole object (this flag implies GENNORMAL_INCOMPLETE_FACE_ONLY)

GENNORMAL_INCOMPLETE_FACE_ONLY 

Generates normals for faces that are incomplete (one of whose points has the POINT_IS_UNUSED flag)

GENNORMAL_PER_VERTEX 

Generate per vertex normal (CPointNormalChannel smooth normals)

GENNORMAL_PER_FACE 

Generate per face normal (CFaceNormalChannel flat normals)

GENNORMAL_SPEC_CHANNEL 

Generate a spec normal channel. GENNORMAL_ALL_FACES or GENNORMAL_INCOMPLETE_FACE_ONLY must used.

◆ SUBOBJECT_MODE

Mode defining the subobject to return for C3DGeomObject::SubOject

Enumerator
SUBOBJECT_FACE_EQUAL 

The returned subobject will contain faces which have the specified number of index.

SUBOBJECT_FACE_NOTEQUAL 

The returned subobject will contain faces which have less than the specified number of index.

SUBOBJECT_FACE_GREATER 

The returned subobject will contain faces which have more than specified number of index.