c4d_baseobject.h File Reference

Classes

struct  CPolygon
 
struct  Tangent
 
struct  Segment
 
struct  ObjectColorProperties
 
class  HierarchyHelp
 
class  BaseObject
 
class  CameraObject
 
class  PointObject
 
struct  CLine
 
class  LineObject
 
class  PolygonObject
 
class  SplineLengthData
 
class  SplineObject
 
class  Safety
 
struct  PolyInfo
 
struct  NgonNeighbor
 
struct  NgonNeighbor::NgonNeighborSegment
 
class  Neighbor
 
class  PolyTriangulate
 

Namespaces

 cinema
 

Macros

#define MODE_ON
 
#define MODE_OFF
 
#define MODE_UNDEF
 
#define POLYOBJECT_VBO_VERTEX
 
#define POLYOBJECT_VBO_PHONG_NORMAL
 
#define POLYOBJECT_VBO_POLYGON_NORMAL
 
#define POLYOBJECT_VBO_DISPLACE_NORMAL
 
#define POLYOBJECT_VBO_STICK_TEXTURE
 
#define POLYOBJECT_VBO_COLOR
 
#define POLY_TRIANG_CONSTRAINED_OUTLINE
 
#define POLY_TRIANG_QUADS
 
#define POLY_TRIANG_NGON
 
#define POLY_TRIANG_FORCE_VORONOI
 
#define POLY_TRIANG_FORCE_NGON
 
#define POLY_TRIANG_FILL_HOLES
 
#define TRIANGSTATE_SKIP_EDGE
 
#define TRIANGSTATE_MISSING_CONSTRAINT
 

Functions

BaseObject * GeneratePrimitive (const BaseDocument *doc, Int32 type, const BaseContainer &bc, Float lod, Bool isoparm, BaseThread *bt=nullptr)
 
BaseObject * GenerateSplinePrimitive (const BaseDocument *doc, Int32 type, const BaseContainer &bc, Float lod, BaseThread *bt=nullptr)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE const PointObject * ToPoint (const T *op)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE PointObject * ToPoint (T *op)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE const PolygonObject * ToPoly (const T *op)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE PolygonObject * ToPoly (T *op)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE const SplineObject * ToSpline (const T *op)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE SplineObject * ToSpline (T *op)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE const LineObject * ToLine (const T *op)
 
template<typename T >
MAXON_ATTRIBUTE_FORCE_INLINE LineObject * ToLine (T *op)
 
Vector CalcFaceNormal (const Vector *padr, const CPolygon &v)
 
Int32 CalcLOD (Int32 val, Float lod, Int32 min, Int32 max)
 
Bool DisjointMesh (PointObject *op)
 
SplineObject * FitCurve (Vector *padr, Int32 pcnt, Float error, BaseThread *bt)
 
Bool Triangulate (const Vector *padr, Int32 pcnt, CPolygon **vadr, Int32 *vcnt)
 
Bool TriangulateStandard (const Vector *padr, Int32 pcnt, Int32 *list, Int32 lcnt, CPolygon *&vadr, Int32 &vcnt, BaseThread *thread)
 
Bool TriangulateRegular (const Vector *pinp, Int32 pinp_cnt, Int32 *list, Int32 lcnt, Vector *&padr, Int32 &pcnt, CPolygon *&vadr, Int32 &vcnt, Float regular_width, BaseThread *thread)
 
BaseObject * GenerateText (const BaseDocument *doc, const BaseContainer *cp, BaseThread *bt, Bool separate)
 
Bool CheckDisplayFilter (BaseObject *op, DISPLAYFILTER filter)
 
Bool CheckEditorVisibility (BaseObject *op)
 
Int32 IntersectionTest (PolygonObject *op, BaseDraw *bd, Float x, Float y, const Matrix &mg, Float *z, MODELINGCOMMANDMODE mode, UChar *pPointSelect, Int32 lSelectCount)
 
Vector ComputeLightColor (BaseObject *op, Bool editor, Float reference)
 
Vector ComputeColorTemperatureRGB (Float temperature, Float reference, Bool normalize)
 
BaseObject * GetVirtualLineObject (BaseObject *op, const HierarchyHelp *hh, const Matrix &mloc, Bool keep_spline, Bool recurse, Matrix *mres, Bool *dirty)
 
UVWTag * GenerateUVW (const BaseObject *op, const Matrix &opmg, const TextureTag *tp, const Matrix &texopmg, BaseView *view)
 
void CutReal (BaseContainer &data, Int32 id, Float min, Float max)
 
void CutVector (BaseContainer &data, Int32 id, Float min, Float max)
 
Bool CalculateVisiblePoints (BaseDraw *bd, PolygonObject *op, Vector *padr, UChar *pset, Bool select_visibonly)
 

Tag

#define ID_TAGSOFTYPE_HASORIGIN
 

Macro Definition Documentation

◆ ID_TAGSOFTYPE_HASORIGIN

#define ID_TAGSOFTYPE_HASORIGIN

returns all tags which have return a value with GetOrigin()