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

CPt class is the base class for different class of points (C3DPoint, CUVWPoint...) More...

Detailed Description

CPt class is the base class for different class of points (C3DPoint, CUVWPoint...)

#include "4DPoint.h"

Go to the source code of this file.

Classes

class  CPt
 CPt base only contains some flags that are used by the derived class. More...
 

Typedefs

typedef enum POINT_PROPERTIES POINT_PROPERTIES
 

Enumerations

enum  POINT_PROPERTIES {
  POINT_NONE = 0x00 , POINT_IS_SELECTED = 0x01 , POINT_IS_INVALID = 0x02 , POINT_IS_UNUSED = 0x04 ,
  POINT_IS_SPECIFIED_NORMAL = 0x08 , POINT_BELONG_TO_BORDER = 0x10 , POINT_CONNECTED_TO_EDGE_NOT_AT_BORDER = 0x20 , POINT_CONNECTED_TO_POINT_AT_BORDER = 0x40 ,
  POINT_IS_CONFUSED = 0x80 , POINT_IS_3D_CORNER = 0x100 , POINT_IS_2D_CORNER = 0x200 , POINT_UV_BREAK = 0x1000 ,
  POINT_VC_BREAK = 0x2000 , POINT_SPECNORMAL_BREAK = 0x4000 , POINT_POINTNORMAL_BREAK = 0x8000 , POINT_UV_CORNER = 0x10000 ,
  POINT_SHARE_COPLANAR_FACES = 0x20000 , POINT_SHARE_SEVERAL_MATERIALS = 0x40000 , POINT_UV_SYMMETRY = 0x80000 , POINT_USER_SELECTED = 0x100000 ,
  POINT_USER_PROPERTIES1 = 0x01000000 , POINT_USER_PROPERTIES2 = 0x02000000 , POINT_USER_PROPERTIES3 = 0x04000000 , POINT_USER_PROPERTIES4 = 0x08000000
}
 Point flags used by any classes that inherit from CPt (C3DPoint, C3DVector...) More...
 

Enumeration Type Documentation

◆ POINT_PROPERTIES

Point flags used by any classes that inherit from CPt (C3DPoint, C3DVector...)

Enumerator
POINT_IS_INVALID 

Make the point being deleted during clean operation.

POINT_IS_UNUSED 

Make the point being ignored (invalid value)

POINT_IS_SPECIFIED_NORMAL 

Only for normals in SpecNormalChannel. This is a normal which value is computed using the face's normal connected to this point (cf. Autodesk 3ds Max > Edit Normals Modifier, which explains type of normals). If this flag is not set, then the normal is explicit (edited by the user). Mainly used during a 3ds Max Data Exchange.

POINT_BELONG_TO_BORDER 

The point belongs to an edge which a border edge (belonging to a single face)

POINT_CONNECTED_TO_EDGE_NOT_AT_BORDER 

The point belongs to an edge which belongs to several faces.

POINT_CONNECTED_TO_POINT_AT_BORDER 

The point is connected to a point which is at the border (but the point itself is not at the border)

POINT_IS_CONFUSED 

The point is confused with one or several other points.

POINT_IS_3D_CORNER 

The point is set on a 3D corner.

POINT_IS_2D_CORNER 

The point is set on a 2D corner.

POINT_UV_BREAK 

Used by points and uvwpoints.

These flags reports breaks that might exists in channels They are both set in the channel points and in the geometry points ie. : POINT_SPECNORMAL_BREAK is set for a given point when two specified normals (from CSpecNormalChannel) that belong to a same point make an angle above a given threshold.

POINT_VC_BREAK 

Used by points and vcpoints.

POINT_SPECNORMAL_BREAK 

A normal break exists belong an edge or belongs a point (when several normals belongs to a point) (this flag refer to CSpecNormalChannel normals)

POINT_POINTNORMAL_BREAK 

Two or more faces make a normal angle above the smoothing threshold (this flag refer to CPointNormalChannel normals)

POINT_SHARE_COPLANAR_FACES 

Set if all faces connected to a point are coplanars (set through InitShareCoplanarFacesFlag).

POINT_SHARE_SEVERAL_MATERIALS 

Set if a point share several materials (set through InitShareSeveralMaterialsFlag)

POINT_UV_SYMMETRY 

Used by uvwpoints and potentially by points (cf InitUVSymmetryFlag)

POINT_USER_SELECTED 

Flag used for interacting with point list. This is a helper to keep POINT_IS_SELECTED flags is interaction canceled.