API Change List in S22

API Changes in S22.016

cinema.framework

apibasemath.h

Min/Max method of LIMIT are now constexpr.

lib_splinehelp.h

{
SplineObject* GetCacheObject();
};

lib_sculptbrush.h

{
// Changed to
}
{
// Changed to
virtual Bool DisplayControl(BaseDocument* doc, BaseObject* op, BaseObject* chainstart, BaseDraw* bd, BaseDrawHelp* bh, ControlDisplayStruct& cds) const;
}

lib_customdatatag.h

customgui_gradient.h

// Removed
Int32 GetActiveKnot(Bool &bias);
// Removed
void SetActiveKnot(Int32 index, Bool bias);

c4d_basebitmap.h

{
void GetUpdateRegion(Int32& xMin, Int32& xMax, Int32& yMin, Int32& yMax, Bool reset);
}
BaseBitmap* GetBitmapFromLockList(BaseDocument *doc, Filename &fn, Int32 frame, LayerSet *lsl, LockList*& lockList);
void Unlock(LockList*& lockList);

c4d_basechannel.h

{
// Removed
GL_MESSAGE GlMessage(Int32 type, void* data);
}

c4d_basedocument.h

{
}
{
// Changed to
BaseTime GetTime(void) const;
Int32 GetMode(void);
// Changed to
Int32 GetMode(void) const;
// Changed to
Bool IsEditMode(void) const;
// Changed to
Int32 GetAction(void) const;
void GetDefaultClippingPlanes(Float &nearPlane, Float &farPlane, const GeData* preset = nullptr) const
}
Bool GetAllAssets(BaseDocument* doc, Bool allowDialogs, maxon::BaseArray<AssetEntry>& assets, Filename& lastPath, ASSETDATA_FLAG flags = ASSETDATA_FLAG::NONE);
// Changed to
GETALLASSETSRESULT GetAllAssets(BaseDocument* doc, Bool allowDialogs, maxon::BaseArray<AssetEntry>& assets, Filename& lastPath, ASSETDATA_FLAG flags = ASSETDATA_FLAG::NONE);

c4d_basedraw.h

{
void SetVertexColor(maxon::Color32* vertexcolor, Bool perPolygon);
void SetVertexColorShading(Bool vertexcolorShading);
DISPLAYMODE GetDisplayMode(Bool original) const;
void SetDisplayMode(DISPLAYMODE mode, Bool original);
Float32 GetLod() const;
void SetLod(Float32 lod);
void SetVectorDisplayMode(Int32 vectorDisplayMode);
void SetActiveFlags(Bool active, Bool hierarchyActive, Bool highlighted, Bool hierarchyHighlighted);
void SetColorObject(BaseObject* colorObject);
BaseObject* GetPainterMesh(Bool& enabled) const;
}
// Removed
enum class OITMODE
// Removed
struct OITInfo
struct EditorLight;
// Removed
#define DRAW_STATISTIC_TRIANGLES
#define DRAW_STATISTIC_QUADS
#define DRAW_STATISTIC_LINES
#define DRAW_STATISTIC_POINTS
#define DRAW_STATISTIC_TRIANGLE_STRIPS
#define DRAW_STATISTIC_LINE_STRIPS
#define DRAW_STATISTIC_PATCHES
class BaseView
{
Vector WS(const Vector& p);
// Changed to
Vector WS(const Vector& p) const;
Vector SW(const Vector& p);
// Changed to
Vector SW(const Vector& p) const;
Vector SW_Reference(Float x, Float y, const Vector& wp);
// Changed to
Vector SW_Reference(Float x, Float y, const Vector& wp) const;
Vector WC(const Vector& p);
// Changed to
Vector WC(const Vector& p) const;
Vector CW(const Vector& p);
// Changed to
Vector CW(const Vector& p) const;
Vector SC(const Vector& p);
// Changed to
Vector SC(const Vector& p) const;
Vector CS(const Vector& p, Bool z_inverse);
// Changed to
Vector CS(const Vector& p, Bool z_inverse) const;
Vector WC_V(const Vector& v);
// Changed to
Vector WC_V(const Vector& v) const;
Vector CW_V(const Vector& v);
// Changed to
Vector CW_V(const Vector& v) const;
Vector WS_V(const Vector &v, const Vector &p);
// Changed to
Vector WS_V(const Vector &v, const Vector &p) const;
Vector SW_V(const Vector &v, const Vector &p);
// Changed to
Vector SW_V(const Vector &v, const Vector &p) const;
Float PW_S(Float z, Bool horizontal);
// Changed to
Float PW_S(Float z, Bool horizontal) const;
Float WP_S(Float z, Bool horizontal);
// Changed to
Float WP_S(Float z, Bool horizontal) const;
Float PW_W(const Vector& p, Bool horizontal);
// Changed to
Float PW_W(const Vector& p, Bool horizontal) const;
Float WP_W(const Vector& p, Bool horizontal);
// Changed to
Float WP_W(const Vector& p, Bool horizontal) const;
// Changed to
Bool ZSensitiveNear(void) const;
// Changed to
// Changed to
Bool ZSensitiveFar(void) const;
// Changed to
}
static const Int32 ID_DISPLAYFILTER_BROWSERPRESET = 1054164;
class BaseDraw
{
Vector GetObjectColor(BaseDrawHelp* bh, BaseObject* op, Bool lines = false);
// Changed to
Vector GetObjectColor(const BaseDrawHelp* bh, BaseObject* op, Bool lines = false, Bool usedInBaseDraw = true, Int instanceIndex = 0) const;
// Changed to
Int32 GetTransparency(void) const;
void DrawHandleWorld(const Vector& vp, const Vector &col, DRAWHANDLE type);
// Removed
void DrawTexture(C4DGLuint bmp, Vector* padr4, Vector* cadr, Vector* vnadr, Vector* uvadr, Int32 pntcnt, DRAW_ALPHA alphamode);
void DrawAnimationPath(BaseDocument *doc, BaseObject *op, const Matrix &upmg, Bool showActivation, Bool global, DRAWPASS drawpass, const BaseDrawHelp *bh);
void DrawBoxEdges(BaseDocument *doc, BaseObject *op, const Matrix &mg, Bool inversez, Bool inherit, Int32 vis, Bool child);
// Removed
Bool DrawScene(Int32 flags);
// Removed
GlFrameBuffer* GetHighlightFramebuffer(const Vector32& vMin = Vector32(-1.0f), const Vector32& vMax = Vector32(1.0f));
// Changed to
void SetDisplayFilter(DISPLAYFILTER displayFilter);
void SetDrawPass(DRAWPASS drawPass);
// Changed to
Bool GetDrawStatistics(maxon::DataDictionary& statistics) const;
Vector4d ScreenToClipSpace(const Vector& screenCoordinates, Int32 sampleLocation) const;
Bool PointInRange(const Vector& p, Int32 x, Int32 y);
// Changed to
Bool PointInRange(const Vector& p, Int32 x, Int32 y) const;
// Changed to
Bool IsOpenGL() const;
// Changed to
// Removed
static Bool IsLegacyDrawportSystem();
// Removed
Bool DrawFullscreenPolygon(Int32 lVectorInfoCount, const GlVertexBufferVectorInfo* const* ppVectorInfo);
// Removed
Bool GetFullscreenPolygonVectors(Int32& lAttributeCount, const GlVertexBufferAttributeInfo* const*& ppAttibuteInfo, Int32& lVectorInfoCount, const GlVertexBufferVectorInfo* const*& ppVectorInfo);
// Removed
Int32 GetGlLightCount() const;
// Removed
const GlLight* GetGlLight(Int32 lIndex) const;
// Removed
OITInfo& GetOITInfo();
void SetRedrawHelper(const maxon::DrawportRedrawHelperRef& redrawHelper);
const maxon::DrawportRedrawHelperRef& GetRedrawHelper() const;
void SetViewportRender(const maxon::Id& id);
// Changed to
void SetViewportRender(const maxon::Id& draw, const maxon::Id& pick);
void GetViewportRender(maxon::ViewportRenderRef& viewportRender, Bool draw);
void GetDrawport(maxon::DrawportRef& drawport) const;
}
{
static Bool PickObject(BaseDraw* bd, BaseDocument* doc, Int32 x, Int32 y, Int32 rad, VIEWPORT_PICK_FLAGS flags, LassoSelection* ls, C4DObjectList* list, Matrix4d* m = nullptr);
// Changed to
static Bool PickObject(BaseDraw* bd, BaseDocument* doc, Int32 x, Int32 y, Int32 rad, VIEWPORT_PICK_FLAGS flags, LassoSelection* ls, C4DObjectList* list, maxon::SquareMatrix4d* m = nullptr, Int32* sampleLocation = nullptr);
static Bool PickObject(BaseDraw* bd, BaseDocument* doc, Int32 x, Int32 y, Int32 rad, Int32& xr, Int32& yr, Int32& wr, Int32& hr, const ViewportPixel*const*& pixels, VIEWPORT_PICK_FLAGS flags, LassoSelection* ls, C4DObjectList* list, Matrix4d* m = nullptr);
// Changed to
static Bool PickObject(BaseDraw* bd, BaseDocument* doc, Int32 x, Int32 y, Int32 rad, Int32& xr, Int32& yr, Int32& wr, Int32& hr, const ViewportPixel*const*& pixels, VIEWPORT_PICK_FLAGS flags, LassoSelection* ls, C4DObjectList* list, maxon::SquareMatrix4d* m = nullptr, Int32* sampleLocation = nullptr);
static Bool PickObject(BaseDraw* bd, BaseDocument* doc, Int32 x1, Int32 y1, Int32 x2, Int32 y2, Int32& xr, Int32& yr, Int32& wr, Int32& hr, const ViewportPixel*const*& pixels, VIEWPORT_PICK_FLAGS flags, LassoSelection* ls, C4DObjectList* list, Matrix4d* m = nullptr);
// Changed to
static Bool PickObject(BaseDraw* bd, BaseDocument* doc, Int32 x1, Int32 y1, Int32 x2, Int32 y2, Int32& xr, Int32& yr, Int32& wr, Int32& hr, const ViewportPixel*const*& pixels, VIEWPORT_PICK_FLAGS flags, LassoSelection* ls, C4DObjectList* list, maxon::SquareMatrix4d* m = nullptr, Int32* sampleLocation = nullptr);
}

c4d_baselist.h

{
// Private
void SetBitEx(Int32 mask, Int32 flags);
}

c4d_basematerial.h

{
Bool InitEditorPreviewImage(Int32 exponent, BaseDocument *doc, BaseThread *th, Int32 doccolorspace, Bool linearworkflow);
Bool InitEditorPreviewImage(BaseBitmap *bmp, BaseDocument* doc, BaseThread* th, Int32 doccolorspace, Bool linearworkflow) const;
}
class Material
{
Int32 GetReflectionLayerCount(Bool includeTransparencyLayers);
static Bool RenderViewportImage(Material* material, BaseDocument* baseDocument, Int32 sizeExponent, Int32 xMin, Int32 yMin, Int32 xMax, Int32 yMax, BaseThread* parentThread, BaseBitmap& bitmap);
static void ComputeFresnelMetal(Int32 fresnelMetal, Vector& fresnelIOR, Vector& fresnelK);
static Float ComputeFresnelDielectric(Int32 fresnelPreset);
}

c4d_baseobject.h

{
// Changed to
Int32 GetEditorMode(void) const;
// Changed to
Int32 GetRenderMode(void) const;
// Changed to
Bool GetDeformMode(void) const;
Int32 GetRealDeformMode(void) const;
// Changed to
BaseObject* GetCacheParent(void) const;
// Changed to
BaseObject* GetEditObject(BaseObject** psds, DISPLAYEDITSTATE state, Bool safetey = true);
}
{
// Changed to
Float GetZoom(void);
// Changed to
Float GetZoom() const;
// Changed to
Vector GetOffset() const;
// Changed to
Float GetAperture() const;
Float GetFocus(void);
// Changed to
Float GetFocus() const;
}
{
const CPolygon* GetPolygonR(void);
// Changed to
const CPolygon* GetPolygonR(void) const;
// Changed to
Int32 GetPolygonCount(void) const;
// Removed
UInt32 VBOInitUpdate(BaseDraw* bd);
// Removed
Bool VBOStartUpdate(BaseDraw* bd, GlVertexBufferAccessFlags access, Bool latemap);
// Removed
const GlVertexBufferAttributeInfo* VBOUpdateVectorGetAttribute(UInt32 flags);
// Removed
void VBOUpdateVector(Int32 i, const Vector32& v, const GlVertexBufferAttributeInfo* pInfo);
// Removed
void VBOUpdateFaceVector(Int32 i, const Vector32& v, const GlVertexBufferAttributeInfo* pInfo);
// Removed
void VBOInvalidate();
// Removed
void VBOEndUpdate(BaseDraw* bd);
// Removed
void VBOFreeUpdate();
}
Vector ComputeLightColor(BaseObject *op, Bool editor, Float reference);

c4d_baseplugin.h

c4d_basetag.h

#define TAG_IMPLEMENTS_DRAW_FUNCTION (1 << 8)
class BaseTag
{
}
class UVWTag
{
Bool SetPinSelection(const BaseSelect& pinSelection);
const BaseSelect& GetPinSelection() const;
Bool AddToPinSelection(const BaseSelect& pinSelection);
Bool RemoveFromPinSelection(const BaseSelect& pinSelection);
}
{
DISPLAYMODE GetDisplayMode(Bool original) const;
}

c4d_fielddata.h

{
// Changed to
}
{
// Changed to
}

c4d_general.h

c4d_gl.h removed.

c4d_gui.h

c4d_materialdata.h

{
// Removed
virtual GL_MESSAGE GlMessage(BaseMaterial* mat, Int32 type, void* data);
}

c4d_painter.h

{
Bool SetUVPointSelectionFromTextureView(const BaseSelect* uvPointSelection, Bool bleedSelection);
}
Bool UpdateMeshUV(Bool fullUpdate = false);
#define GETACTIVEUVSET_EDGESELECTION (1 << 9)
#define RELAXUV_ITERATION_NUMBER 1025
#define RELAXUV_INTERACTIVE_ABF 1026
#define RELAXUV_LIVE_ABF_UPDATE 1027
#define RELAXUV_SAFE 1028
#define RELAXUV_ERROR_MESSAGE 1029
#define UVCOMMAND_PACK_UV 10016
#define UVCOMMAND_AUTOMATICUV 10017
#define UVCOMMAND_PACK_RASTERIZED 10018
#define UVCOMMAND_PACK_GEOMETRIC 10019
#define UVCOMMAND_PACK_BOUNDINGBOX 10020
{
static PaintTexture* GetTexture(const String &name, const Filename &filename, Bool create);
BaseBitmap* GetVisibleBitmap(Bool recalc = true);
BaseBitmap* GetSelectionMaskTexture(UInt64 width, UInt64 height, Int32& dirtyCount);
static Bool GetProjectionPaintTextures(const ViewWindow* viewWindow, PaintTexture*& paintTexture);
}
{
static void GetSelectionMaskState(Bool& hasSelectionMask, Bool& isEditMaskActive);
}
{
};

c4d_resource.h

GeData* SearchPluginMenuResource(const maxon::String& identifier = "IDS_EDITOR_PLUGINS"_s);
// Changed to
GeData* SearchPluginMenuResource(const maxon::String& identifier = "IDS_EDITOR_PIPELINE"_s);
GeData* SearchPluginSubMenuResource(const maxon::String& identifier = "IDS_EDITOR_PLUGINS"_s, BaseContainer* bc = nullptr);
// Changed to
GeData* SearchPluginSubMenuResource(const maxon::String& identifier = "IDS_EDITOR_PIPELINE"_s, BaseContainer* bc = nullptr);

c4d_scenehookdata.h

{
// Changed to
virtual Bool DisplayControl(BaseDocument* doc, BaseObject* op, BaseObject* chainstart, BaseDraw* bd, BaseDrawHelp* bh, ControlDisplayStruct& cds) const;
}

c4d_shaderdata.h

{
// Removed
virtual GL_MESSAGE GlMessage(BaseShader* sh, Int32 type, void* msgdata);
}

c4d_tooldata.h

{
// Changed to
}
#define PLUGINFLAG_TOOL_IS_SELECTION (1 << 14)
#define PLUGINFLAG_TOOL_NO_TOPOLOGY_EDIT (1 << 15)
class ToolData
{
// Changed to
virtual Bool DisplayControl(BaseDocument* doc, BaseObject* op, BaseObject* chainstart, BaseDraw* bd, BaseDrawHelp* bh, ControlDisplayStruct& cds) const;
}

c4d_tools.h

c4d_videopostdata.h

#define VPbloom 1040365
#define VPPRIORITY_BLOOM 200
// Removed
#define PLUGINFLAG_VIDEOPOST_GL (1 << 2)
// Removed
enum class VIDEOPOST_GLINFO
// Removed
enum class VIDEOPOST_GLDRAW
{
// Removed
virtual Bool GlDraw(BaseVideoPost* node, BaseDraw* bd, GlFrameBuffer* fbuf, Int32 colortex, Int32 depthtex, VIDEOPOST_GLDRAW flags);
// Removed
virtual VIDEOPOST_GLINFO GetGlInfo(BaseVideoPost* node, BaseDocument* doc, BaseDraw* bd);
}

ge_prepass.h

enum class ASSETDATA_FLAG
{
MISSING = (1 << 7),
// Changed to
NOMISSING = (1 << 7),
}
enum class SAVEBIT
{
KEEP_COLOR_MODE = (1 << 11)
}
#define Tbasedraw 110305
#define MCOMMAND_MIRRORSELECTION 266
#define MCOMMAND_UVUNWRAP 267
#define MCOMMAND_UVWELDRELAX 268
#define MDATA_SUBDIVIDE_SIMPLESUB 2102
#define MDATA_SUBDIVIDE_PATTERN 2103
#define MDATA_SUBDIVIDE_PATTERN_CATMULL_CLARK 0
#define MDATA_SUBDIVIDE_PATTERN_LOOP 1
#define MDATA_SUBDIVIDE_PATTERN_OPPOSITE 2
#define MDATA_MIRRORSELECTION_TOLERANCE 2230
#define MDATA_MIRRORSELECTION_MODE 2231
#define MDATA_MIRRORSELECTION_SPACE 2232
#define MDATA_MIRRORSELECTION_PLANE 2233
#define MDATA_AUTOMATICUV_TAGINDEX 2240
#define MDATA_AUTOMATICUV_OVERLAPIDENTICAL 2241
#define MDATA_AUTOMATICUV_OVERLAPMIRRORED 2242
#define MDATA_AUTOMATICUV_SPACING 2243
#define MDATA_AUTOMATICUV_USENORMALS 2244
#define MDATA_AUTOMATICUV_SPACINGASPECT 2245
#define MDATA_AUTOMATICUV_FORCESEAMS 2246
#define MDATA_UVUNWRAP_POLYGON 2250
#define MDATA_UVUNWRAP_PIN 2251
#define MDATA_UVUNWRAP_REALIGN 2252
#define MDATA_UVWELDRELAX_PIN 2260
#define MDATA_UVWELDRELAX_REALIGN 2261
#define MDATA_UVWELDRELAX_POLYGON 2262
#define MDATA_LEGACY 2300
// Removed
#define WPREF_LEGACY_VIEWPORT 1008
// Removed
#define WPREF_LEGACY_VIEWPORT_TEMP 1092
// Removed
#define WPREF_OPENGL_POLYLINES 1034
// Removed
#define WPREF_OPENGL_LIGHTING 1035
// Removed
#define WPREF_OPENGL_GLPOINTS 1037
// Removed
#define WPREF_OPENGL_DUALPLANES_ARB 1047
// Removed
#define WPREF_OPENGL_ROTATEQUADS 1064
// Removed
// #define WPREF_OPENGL_HIGHQUALITY 1069 ///< ::Bool
// Removed
#define WPREF_OPENGL_COMPILER 1070
// Removed
#define WPREF_OPENGL_COMPILER_GLSL 0
// Removed
#define WPREF_OPENGL_COMPILER_CG 1
// Removed
#define WPREF_SAVE_CACHES 1074
// Removed
#define WPREF_SAVE_CACHES_ANIM 1075
// Removed
#define WPREF_OPENGL_MULTITHREADED 1085
#define WPREF_MOUSE_TOUCHDEVICES 21084
// Changed to
#define DEPRECATED_WPREF_MOUSE_TOUCHDEVICES 21084
#define WPREF_UV_PACKING_DATA 21089
#define WPREF_MOUSE_TOUCHSUPPORT 21090
#define WPREF_MOUSE_TS_AUTOMATIC 0
#define WPREF_MOUSE_TS_TOUCH 1
#define WPREF_MOUSE_TS_WHEEL 2
#define WPREF_SHOW_OUTDATED_GFX_WARNING 1054695
{
TEMPORARY = 0x00000100,
}
#define VIEWCOLOR_UV_BACKGROUND 92
#define VIEWCOLOR_UV_OVERLAPS 93
#define VIEWCOLOR_UV_SOFTSELECTION_MIN 94
#define VIEWCOLOR_UV_SOFTSELECTION_MAX 95
#define VIEWCOLOR_BRUSH_PREVIEW 96
#define VIEWCOLOR_UV_STRETCH_MAP_STRETCHED 97
#define VIEWCOLOR_UV_STRETCH_MAP_COMPRESSED 98
#define VIEWCOLOR_UV_WORLD_AXIS_U 99
#define VIEWCOLOR_UV_WORLD_AXIS_V 100
#define VIEWCOLOR_UV_SEAMS 101
#define VIEWCOLOR_UVMESH_IAFILLEDPOLY 102
#define VIEWCOLOR_UVMESH_BACKFACEPOLY 103
#define VIEWCOLOR_UV_PINS 104
#define VIEWCOLOR_UV_REFERENCE_CANVAS 105
#define FORMAT_STL_IMPORT 1001020
#define FORMAT_STL_EXPORT 1001021
#define FORMAT_BVH_IMPORT 1001048
#define FORMAT_AI_EXPORT 1012074
#define FORMAT_ALLPLAN_EXPORT 1016440
#define FORMAT_DWG_IMPORT 1021372
#define FORMAT_FBX_IMPORT 1026369
#define FORMAT_FBX_EXPORT 1026370
#define FORMAT_VDB_IMPORT 1039864
#define FORMAT_VDB_EXPORT 1039865
#define FORMAT_GLTFEXPORT 1041129
#define HIGHLIGHT_TRANSPARENCY -140
// Changed to
static const Int32 HIGHLIGHT_TRANSPARENCY = -140;
enum class OBJECTCATEGORY
{
POLYGON = 1,
SPLINE = 2,
GENERATOR = 3,
UNUSED1 = 5,
DEFORMER = 6,
CAMERA = 7,
LIGHT = 8,
SCENE = 9,
PARTICLE = 10,
OTHER = 11,
UNUSED2 = 12,
GRID = 13,
HORIZON = 14,
WORLDAXIS = 15,
BOUNDS = 16,
HUD = 17,
SDS = 18,
MULTIAXIS = 20,
SDSCAGE = 23,
NGONLINES = 24,
JOINT = 25,
GUIDELINES = 27,
POI = 28,
GRADIENT = 29,
BASEGRID = 30,
HANDLES = 31,
HAIR = 32,
FIELD = 33
enum class OBJECTSTATE
{
}
enum class DISPLAYFILTER
{
}
// Removed
enum GlVertexBufferSubBufferType
// Removed
enum GlVertexBufferAccessFlags
// Removed
enum GlProgramType
// Removed
enum GlUniformParamType
{
UVEDGES = 6
}
{
{
FAILED = 0,
OK = 1,
MISSING = 2

gui.h

DR_MULTILINE_BOLD = 16384, ///< Bold font. @since S22

matrix4.h

using Matrix4d = maxon::SqMat4<Vector4d64>;
// Changed to
using Matrix4d = maxon::SqMat4<Vector4d>;

modelingids.h

// Removed
#define ID_OBJECTHANDLES_ONOFF_MENU 1016176
#define ID_MODELING_PATH 1053985

command.framework

commandbase.h

class CommandCacheData
CommandCacheInterface
namespace COMMAND
{
MAXON_ATTRIBUTE(Bool, USECACHE, "net.maxon.command.usecache", RESOURCE_DEFAULT(false));
MAXON_ATTRIBUTE(CommandCacheDataRef, CACHEDATA, "net.maxon.command.cache");
}
MAXON_REGISTRY(Class<CommandCacheRef>, CommandCacheClasses, "net.maxon.command.registry.commandcacheclasses");

commandobservable.h

template<>
class NullValueFunctionsHelper<const Result<COMMANDRESULT>&>
{
static const Result<COMMANDRESULT>& Get();
}
class CommandObserverInterface : MAXON_INTERFACE_BASES(ObserverObjectInterface)
{
MAXON_OBSERVABLE(Result<void>, ObservableCommandStatus, (const Id& commandId, const DataDictionary& statusMessage), ObservableCombinerRunAllComponent);
MAXON_OBSERVABLE(Result<void>, ObservableCommandInvoked, (const Id& commandId, const Result<COMMANDRESULT>& result), ObservableCombinerRunAllComponent);
}

core.framework

dynamic_tuples.h, genericfunction.h, interfacetemplate.h, interfacetemplate_instantiation.h removed

apibase.h

class LiteralId
{
UInt GetHashCode() const
// Changed to
constexpr UInt GetHashCode() const
}
class Id
{
void Init(const RefCountedCString* str);
}

compilerdetection.h

#define MAXON_MAX_MACRO(a, b) ((a) > (b) ? (a) : (b))

resultbase.h

template <typename T> struct RemoveResult
template <typename T> struct RemoveResult<Result<T>>
template <typename T> struct RemoveResult<ResultOk<T>>

algorithms.h

// Moved to algorithms_base.h
inline auto Fill(ITERATOR first, SENTINEL sentinel, const T& value) -> ITERATOR
// Moved to algorithms_base.h
inline auto Reverse(ITERATOR first, ITERATOR last) -> ITERATOR
// Moved to algorithms_base.h
inline auto RemoveIf(ITERATOR first, SENTINEL sentinel, PREDICATE pred) -> ITERATOR

application.h

applicationid.h added

array.h

template <typename TYPE> class VArrayInterface
// Changed to
template <typename TYPE> class StaticArrayInterface
class StaticArrayInterface
{
MAXON_METHOD Result<VArrayInterface*> Clone(Bool cloneElements = true) const;
// Changed to
MAXON_METHOD Result<StaticArrayInterface*> MakeWritable(Bool cloneElements = true) const;
}

arraymap.h

class template <typename K, typename V, Bool SORTED = true, typename COMPARE = DefaultCompare, typename ARRAY = BaseArraySelector<>>
class ArrayMap:
{
static const Entry* GetEntry(const V* value);
static Entry* GetEntry(typename std::remove_const<V>::type* value);
}

basebitset.h

class BaseBitSet
{
Result<void> MergeOrNot(const BaseBitSet<ALLOCATOR>& src);
Result<void> MergeAndNot(const BaseBitSet<ALLOCATOR>& src);
void Invert();
}
using BitSet = BaseBitSet<DefaultAllocator>;
MAXON_DATATYPE(BitSet, "net.maxon.datatype.bitset");

collection.h

{
ON_GROW_UNSPECIFIED = (1 << 3),
ON_RESIZE_UNSPECIFIED = (1 << 4),
}
template <typename COLLECTION, typename VALUETYPE, typename SUPER>
class Collection:
{
template <typename FN> Result<Bool> ForEach(FN&& callback) const
}

configurationdatabase.h

static MAXON_METHOD Bool QueryBool(const String& key, Bool& result, CONFIGURATIONENTRY_ORIGIN& origin, CONFIGURATIONENTRY_STATE& state);
// Changed to
static MAXON_METHOD Result<void> QueryBool(const String& key, Bool& result, CONFIGURATIONENTRY_ORIGIN& origin, CONFIGURATIONENTRY_STATE& state);
static MAXON_METHOD Bool QueryInt(const String& key, Int& result, CONFIGURATIONENTRY_ORIGIN& origin, CONFIGURATIONENTRY_STATE& state);
// Changed to
static MAXON_METHOD Result<void> QueryInt(const String& key, Int& result, CONFIGURATIONENTRY_ORIGIN& origin, CONFIGURATIONENTRY_STATE& state);
static MAXON_METHOD Bool QueryFloat(const String& key, Float& result, CONFIGURATIONENTRY_ORIGIN& origin, CONFIGURATIONENTRY_STATE& state);
// Changed to
static MAXON_METHOD Result<void> QueryFloat(const String& key, Float& result, CONFIGURATIONENTRY_ORIGIN& origin, CONFIGURATIONENTRY_STATE& state);
static MAXON_METHOD Bool QueryString(const String& key, String& result, CONFIGURATIONENTRY_ORIGIN& origin, CONFIGURATIONENTRY_STATE& state);
// Changed to
static MAXON_METHOD Result<void> QueryString(const String& key, String& result, CONFIGURATIONENTRY_ORIGIN& origin, CONFIGURATIONENTRY_STATE& state);

datadescription_data.h

namespace maxon
{
namespace DESCRIPTION
{
namespace DATA
{
namespace BASE
{
MAXON_ATTRIBUTE(Int, ICON, "net.maxon.description.data.info.icon");
}
}
}
}

datadictionary.h

class DataDictionaryInterface
{
MAXON_METHOD Result<void> SetData(ForwardingDataPtr&& key, ForwardingDataPtr&& data);
}

datatype.h

class UnregisteredDataTypeErrorInterface : MAXON_INTERFACE_BASES(ErrorInterface)

datatypebase.h

class DataTypeImpl
{
const DataType& ResolveRecursiveType() const
}
class InternedId
{
template <typename INPUTTYPE>
static Result<InternedId> Create(INPUTTYPE&& inputId)
}
class DataTypeLib
{
static MAXON_METHOD Result<Tuple<Member, const Char*>> ParseMember(const Char* str);
static MAXON_METHOD Result<Tuple<Int64, const Char*>> ParseInt(const Char* str);
}

descriptionmessagecallback.h

class DescriptionMessageCallbackInterface
{
MAXON_METHOD Result<Tuple<Bool, Bool>> DescriptionMessage(const InternedId& id, const Id& cmdId, Int32 type, void* data);
}

errorbase.h

// Moved to errortypes.h
UnresolvedErrorInterface
UnsupportedOperationErrorInterface
UnsupportedArgumentErrorInterface
UnknownErrorInterface
ShutdownErrorInterface
DisabledErrorInterface
ErrnoErrorInterface
// Moved to datatype.h
UnregisteredDataTypeErrorInterface
// Moved to threadservices.h
ThreadCancelledErrorInterface

general_math.h

inline Bool CompareFloat(Float32 a, Float32 b, Float32 epsilon = 1e-10f);
inline Bool CompareFloat(Float64 a, Float64 b, Float64 epsilon = 1e-10);

getextradatacallback.h

class GetExtraDataCallbackInterface
{
MAXON_METHOD Result<DelegateBase> GetExtraDataMessage(const Id& cmdId);
}

global.h

class GlobalBase

hashmap.h

//----------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------
enum class HASHMAP_MODE
{
MapBase<HashMap<K, V, HASH, ENTRY_HANDLER, ALLOCATOR, SYNCHRONIZED>, K, V, EmptyClass, HASH>
// Changed to
MapBase<HashMap<K, V, HASH, ENTRY_HANDLER, ALLOCATOR, MODE, INITIAL_CAPACITY, LOAD_FACTOR>, K, V, EmptyClass, HASH>
class MapBase
{
Result<void> CopyFromImpl(HASHMAP&& other, COLLECTION_RESIZE_FLAGS resizeFlags, OverloadRank1);
}
HashMap::Get // Deprecated use HashMap::GetEntry

hierarchyobject.h

class HierarchyObjectInterface : MAXON_INTERFACE_BASES(ObserverObjectInterface)
{
MAXON_METHOD ConstDataPtr GetBranchId() const;
MAXON_METHOD void SetLocking(const Bool locking);
MAXON_METHOD Bool IsLocked() const;
MAXON_METHOD typename HIERARCHY::template Sibling<Interface>::type GetFirst() const;
MAXON_METHOD typename HIERARCHY::template Sibling<Interface>::type GetLast() const;
MAXON_METHOD std::add_pointer<HierarchyObjectInterface>::type FindNextLeaf(const HierarchyObjectInterface* stopAtParent) const;
MAXON_OBSERVABLE(Result<void>, ObservableHierarchyInsert, (const HierarchyObjectRef<>& sender, const HierarchyObjectRef<>& object), ObservableCombinerRunAllComponent);
// Changed to
MAXON_OBSERVABLE(Result<void>, ObservableHierarchyInsert, (const HierarchyObjectRef<>& sender, const HierarchyObjectRef<>& object, const ConstDataPtr& branchId), ObservableCombinerRunAllComponent);
MAXON_OBSERVABLE(Result<void>, ObservableHierarchyRemove, (const HierarchyObjectRef<>& sender, const HierarchyObjectRef<>& object), ObservableCombinerRunAllComponent);
// Changed to
MAXON_OBSERVABLE(Result<void>, ObservableHierarchyRemove, (const HierarchyObjectRef<>& sender, const HierarchyObjectRef<>& object, const ConstDataPtr& branchId), ObservableCombinerRunAllComponent);
}
static Result<Bool> TraverseChildren(const REFTYPE& t, const ConstDataPtr& branch, const Delegate<Result<Bool>(const REFTYPE& child, const REFTYPE& parent, const ConstDataPtr& branch, Int depth)>& func, Int depth)
// Changed to
static Result<Bool> TraverseChildren(const REFTYPE& object, const Delegate<Result<Bool>(const REFTYPE& object, const REFTYPE& parent, const ConstDataPtr& branchId, Int depth)>& function, const ConstDataPtr& branchId = ConstDataPtr(), Int depth = Int(0))
static Result<Bool> TraverseMeAndChildren(const REFTYPE& t, const REFTYPE& parent, const ConstDataPtr& branch, const Delegate<Result<Bool>(const REFTYPE& child, const REFTYPE& parent, const ConstDataPtr& branch, Int depth)>& func, Int depth = 0)
// Changed to
static Result<Bool> TraverseMeAndChildren(const REFTYPE& object, const Delegate<Result<Bool>(const REFTYPE& object, const REFTYPE& parent, const ConstDataPtr& branchId, Int depth)>& function, const ConstDataPtr& branchId = ConstDataPtr(), Int depth = Int(0))

job.h

class JobStatusInterface
{
JobGroupInterface* GetJobGroup() const;
}
class JobStatusRef
{
Bool IsCancelled() const;
JobGroupInterface* GetJobGroup() const;
static const JobStatusRef& NullValue();
String ToString(const FormatStatement* formatStatement) const;
}

lib_math.h

template <typename FLOAT> MATH_VECTOR RGBToHSL(const MATH_COLOR& color);
template <typename FLOAT> MATH_COLOR HSLToRGB(const MATH_VECTOR& color);
template <typename MATRIXTYPE>
Bool IsMatrixRectangular(const MATRIXTYPE& m, typename MATRIXTYPE::ValueType epsilon = 1e-10_f);

module.h

class GlobalBase // moved global.h

multiindex.h

template <typename INT_TYPE> class MultiIndex
{
MultiIndex Prepend(Int index) const;
MultiIndex Concat(Int index) const;
MultiIndex Concat(const MultiIndex& index) const;
Int GetFirst() const;
}

register.h

#define MAXON_REGISTRY_REGISTER(R) namespace R { const maxon::DataType& Registry::GetDataType() { return maxon::GetDataType<EntryType>(); } maxon::RegistryReference Registry::_reference(Registry::GetId(), &maxon::g_translationUnit, Registry::ENTRY_FLAGS); }
// Changed to
#define MAXON_REGISTRY_REGISTER(R) namespace R { const maxon::DataType& Registry::GetDataType() { return maxon::GetDataType<EntryType>(); } maxon::RegistryReference Registry::_reference(Registry::GetId(), &maxon::g_translationUnit); }

registrybase.h

#define MAXON_DEPENDENCY_ON_REGISTRY(registry) MAXON_DEPENDENCY_ON_MODULE(registry::Registry::GetId().GetCString())

stringconversion.h

static MAXON_METHOD StringProxy* FormatXArgs(const String& formatString, Int argsCnt, const void** args, TOSTR* argFuncs);
// Changed to
static MAXON_METHOD StringProxy* FormatXArgs(const String& formatString, Int argsCnt, const void** args, const TOSTR* argFuncs);

system.h

// Removed
APPLICATIONID

thread.h

class ThreadInterface
{
static THREADTYPE GetCurrentThreadType(Int& threadIdentifier);
}
class template <typename INTERFACE> class ThreadRefTemplate : public StrongRef<INTERFACE>
{
static THREADTYPE GetCurrentThreadType(Int& threadIdentifier);
}

threadservices.h

class ThreadCancelledErrorInterface : MAXON_INTERFACE_BASES(ErrorInterface);
class ThreadServices
{
static MAXON_METHOD THREADTYPE GetCurrentThreadType(Int& threadIdentifier);
private:
static MAXON_METHOD void AddJobStatusReference(const JobInterfacePOD& pod);
static MAXON_METHOD void RemoveJobStatusReference(const JobInterfacePOD& pod);
}

tuple.h

inline UInt TupleGetHashCode();
// Changed to
template <typename HASH> inline UInt TupleGetHashCode();
template <typename... T>
class Tuple :
{
template <typename HASH>
UInt GetHashCode() const;
}

valuechangedcallback.h added

class ValueChangedCallbackInterface : MAXON_INTERFACE_BASES(ObjectInterface)
{
MAXON_METHOD Result<void> ValueChangedMessage(const InternedId& id);
}

corenode.framework

corenodes.h

class CoreNodeBaseInterface
{
MAXON_ATTRIBUTE_CLASS(DataType, InType, "in");
MAXON_ATTRIBUTE_CLASS(DataType, OutType, "out");
MAXON_ATTRIBUTE_CLASS(Id, VariableId, "net.maxon.corenode.variableid");
MAXON_ATTRIBUTE_CLASS(Array<Id>, Filters, "net.maxon.corenode.filters");
}
class MicroNodeGroupInterface
{
MAXON_FUNCTION Result<MicroNodePtr<>> CreatePort(const Id& name, MicroNode::TYPE type, MicroNode::FLAGS flags, const DataType& vtype)
}
template <typename CORENODE>
inline Result<CoreNodeFactory> CreateCoreNodeFactory(DataDictionary&& meta = DataDictionary())

corenodes_conversion.h

class ConversionSequence
{
ConversionSequence(const Block<const CoreNode>& seq, CONVERSION_FLAGS flags) : _flags(flags), _count(seq.GetCount());
}
@encode
corenodes_helpers.h
@code
enum class WIRETYPE
{
BLOCK_NESTING = 0x20000,
}

corenodes_lib.h

class CoreNodesLib
{
static MAXON_METHOD Result<const ConversionSequence*> GetConversion(const DataType& to, const DataType& from, Bool allowIterations);
}

micronodes_ports.h

class Members
{
Int GetCount() const;
}
class BatchIterator
{
Int GetCount() const;
}

micronodes_runtime.h

class FrameData
{
Int GetCount() const
}
class VarAccess
{
Int GetCount() const
const Generic& GetMemberValue(ACCESS_INDEX member) const
Generic& GetMemberValue(ACCESS_INDEX member)
}

variadic_port.h

class VariadicPort
{
static Result<VariadicPort> Create(MicroNodeGroupInterface* node, const CString& prefix, const Data& arg)
// Changed to
static Result<VariadicPort> Create(MicroNodeGroupInterface* node, const CString& prefix, const Data& arg, const DataType& type = GetPortType<T>())
}
class Access
{
static void Assign(InPortId& p, MicroNodePtr<> ptr, MicroNodeGroupInterface* node, const Id& name);
static void Assign(MicroNodePtr<>& p, MicroNodePtr<> ptr, MicroNodeGroupInterface* node, const Id& name)
}

geom.framework

geometryutils.h

{
GEOM_FALSE = 0,
{
class GeometryUtilsInterface
{
static MAXON_METHOD GEOMETRY_TEST_EXACT IsVertexConvexExact(const Vector& vertex, const Vector& next, const Vector& pred, const Vector& up = Vector(0, 1, 0), Float epsilon = GeomConstants::EPSILON4);
static MAXON_METHOD Result<void> CalculateMeanValueCoordinatesWeights(const Vector& point, const Block<const Vector>& points, const Block<const UInt32>& outlineIndices, const Vector& normal, WritableArrayInterface<Float>& weights);
static MAXON_METHOD GEOMETRY_TEST_EXACT IsVertexConvexExact2D(const Vector2d& vertex, const Vector2d& next, const Vector2d& pred, Float epsilon = GeomConstants::EPSILON4);
static MAXON_METHOD Bool PointInOutlineRobust2D(const Vector& point, const Block<const Vector2d>& outline);
static MAXON_METHOD Bool SegmentRayIntersectionTest2D(const Vector2d& segmentPoint1, const Vector2d& segmentPoint2, const Vector2d& rayStartPoint, const Vector2d& rayDirection);
static MAXON_METHOD Float CalculatePerimeterLength2D(const Block<const Vector2d>& outlinePoints);
static MAXON_METHOD Result<Bool> IsWoundClockwise2D(const Block<const Vector2d>& outlinePoints);
static MAXON_METHOD Vector2d CalculateOutlineCentroidAndArea2D(const Block<const Vector2d>& outlinePoints, Float* area = nullptr, Bool* windingPolarity = nullptr);
static MAXON_METHOD Result<Vector2d> CalculateMultiOutlineCentroidAndAreas2D(const Block<const Vector2d>& loopVertices, const Block<const Int>& loopVertexCounts, Bool includeHolesInCogCalcs, Float* overallArea = nullptr, BaseArray<Float>* loopSoloAreas = nullptr, BaseArray<Bool>* windingPolarity = nullptr);
static MAXON_METHOD Result<BaseArray<Int>> CalculateConvexHull2D(const Block<const Vector2d>& outlinePoints);
static MAXON_METHOD Result<BaseArray<BaseArray<Int>>> CalculateConvexDecomposition2D(const Block<const Vector2d>& outlinePoints);
static MAXON_METHOD Result<Bool> CleanLoop2DInPlace(BaseArray<Vector2d>& outlinePoints, Bool maintainStart);
static MAXON_METHOD Result<BaseArray<Vector2d>> CalculateNoFitPolygonForConvex(const Block<const Vector2d>& outlinePointsA, const Block<const Vector2d>& outlinePointsB, Bool relativeBToA = true);
static MAXON_METHOD Result<BaseArray<Vector2d>> CalculateNoFitPolygonUsingSliding(const Block<const Vector2d>& outlinePointsA, const Block<const Vector2d>& outlinePointsB, Bool relativeBToA = true);
static MAXON_METHOD Result<BaseArray<Vector2d>> CalculateInnerFitPolygonUsingSliding(const Block<const Vector2d>& outlinePointsCcwA, const Block<const Vector2d>& outlinePointsB);
static MAXON_METHOD Result<BaseArray<Vector2d>> CalculateNoFitPolygonForConvex(const Block<const Vector2d>& outlinePointsA, const Block<const Vector2d>& outlinePointsB, const Matrix2d& transformA, const Matrix2d& transformB, Bool relativeBToA = true);
static MAXON_METHOD Result<BaseArray<Vector2d>> CalculateNoFitPolygonUsingSliding(const Block<const Vector2d>& outlinePointsA, const Block<const Vector2d>& outlinePointsB, const Matrix2d& transformA, const Matrix2d& transformB, Bool relativeBToA = true);
static MAXON_METHOD Result<BaseArray<BaseArray<Vector2d>>> CalculateUnionOfPolygons(const Block<const Vector2d>& outlinePointsA, const Block<const Vector2d>& outlinePointsB, Bool includeHolesInResult, Bool createOuterLoop = true);
static MAXON_METHOD Bool IntersectsSegmentsExact2D(const Vector2d& segment1Point1, const Vector2d& segment1Point2, const Vector2d& segment2Point1, const Vector2d& segment2Point2, Vector2d& intersectionPoint, Bool& areParallel, Vector2d* intersectionPoint2 = nullptr, Float tolerance = 0.0_f);
static MAXON_METHOD LOOP_OVERLAP_STATE GetContainmentStateForNonIntersectingLoops(const Block<const Vector2d>& outlinePointsA, const Block<const Vector2d>& outlinePointsB);
static MAXON_METHOD Bool AreLoopsEqualToWithinTolerance(const Block<const Vector2d>& loopA, const Block<const Vector2d>& loopB, Bool allowCyclicRotation = true, Bool ignoreTranslationOffset = true, maxon::Float tol = maxon::GeomConstants::EPSILON5);
static MAXON_METHOD void CalculateBoundingBoxIndices(const Block<const Vector2d>& verts, Int& minIdxX, Int& maxIdxX, Int& minIdxY, Int& maxIdxY, Bool findMostCounterClockwise);
}

image.framework

gfx_image.h

const Class<ImagePixelStorage>& GetNormalPixelStorageClass();

gfx_image_pixelformat.h

PixelFormatGroupInterface // Moved to gfx_image_pixelformat_group.h
PixelFormatIndexedColorInterface // Moved to gfx_image_pixelformat_indexed.h

gfx_image_pixelformat_group.h and gfx_image_pixelformat_indexed.h added

mediasession_base.h

template <typename REFTYPE>
static Result<Bool> MediaTraverseChildren(const REFTYPE& t, const ConstDataPtr& branch,
const Delegate<Result<Bool>(const REFTYPE& child, const REFTYPE& parent, const ConstDataPtr& branch, Int depth)>& func, Int depth = 0)
template <typename REFTYPE>
static Result<Bool> MediaTraverseMeAndChildren(const REFTYPE& t, const REFTYPE& parent, const ConstDataPtr& branch,
const Delegate<Result<Bool>(const REFTYPE& child, const REFTYPE& parent, const ConstDataPtr& branch, Int depth)>& func, Int depth = 0)

mesh_misc.framework

mesh_attribute_base.h

class CustomDataTagDisplayInterface
{
MAXON_METHOD Result<void> DisplayControl(BaseTag* tag, BaseDocument* doc, BaseObject* op, BaseDraw* bd, BaseDrawHelp* bh, ControlDisplayStruct& cds);
// Changed to
MAXON_METHOD Result<void> DisplayControl(BaseTag* tag, BaseDocument* doc, BaseObject* op, BaseDraw* bd, BaseDrawHelp* bh, ControlDisplayStruct& cds) const;
}
class CustomDataTagClassInterface
{
MAXON_METHOD Bool Message(GeListNode* node, Int32 type, void* data) const;
}

misc.framework

imageregionobserver.h and imageregionobserver_helpers.h added

network.framework

network_httperror.h

network_ip_ssl.h

{
OPTIONAL = 1,
// Changed to
ISOPTIONAL = 1,
REQUIRED = 2,
// Changed to
ISREQUIRED = 2,
}

network_proxy.h

class NetworkProxyInterface
{
MAXON_OBSERVABLE_STATIC(Result<Bool>, ObservableEnterCredentials, (const String& target, String* username, String* password), ObservableCombinerRunAllBoolUntilTrue);
}

network_url.h

namespace URLFLAGS
{
MAXON_ATTRIBUTE(Bool, HTTP_NO_KEEP_ALIVE, "net.maxon.url.http_no_keep_alive");
}

API Changes in S22.114

core.framework

machineinfo.h

namespace MACHINEINFO
{
MAXON_ATTRIBUTE(Id, UNIQUEOSIDENTIFIERSOURCE, "net.maxon.machineinfo.uniqueosidentifiersource",
RESOURCE_DEFINE(ENUM_NONE, Id("none"))
RESOURCE_DEFINE(ENUM_TPM, Id("tpm"))
RESOURCE_DEFINE(ENUM_UEFI, Id("uefi"))
RESOURCE_DEFINE(ENUM_REGISTRY, Id("registry"))
RESOURCE_DEFINE(ENUM_CRYPTOGRAPHYID, Id("cryptographyid"))
RESOURCE_DEFINE(ENUM_CRYPTOGRAPHYID_FALLBACK, Id("cryptographyid_fallback"))
RESOURCE_DEFINE(ENUM_SERIALKEY, Id("serialkey"))
RESOURCE_DEFINE(ENUM_UUIDKEY, Id("uuidkey")));
}

cinema.framework

c4d_fielddata.h

c4d_fielddata.cpp

static inline UInt AddValueToCallerStackId(UInt currentValue, UInt newValue);

c4d_basetag.h

class UVWTag
{
static void Get(ConstUVWHandle dataptr, Int32 i, SUVWStruct& res);
}

c4d_basedraw.h

operatingsystem.h

struct SUVWStruct;
PaintBrushData::projectionPaint
Bool projectionPaint
Definition: c4d_painter.h:1042
CameraObject::GetTargetDistance
Float GetTargetDistance(BaseDocument *doc)
OVERVIEW::SCENE
@ SCENE
ViewportPixel
Definition: c4d_basedraw.h:1869
BaseShader
Definition: c4d_basechannel.h:35
ToolPlugin::FreeDisplayControl
void FreeDisplayControl()
Private.
VIEWPORT_RENDER_ID
VIEWPORT_RENDER_ID
Definition: ge_prepass.h:5513
OBJECTCATEGORY::NGONLINES
@ NGONLINES
CameraObject::GetProjection
Int32 GetProjection() const
GEOM_INVALID_INPUT
GEOM_INVALID_INPUT
< Input is non-valid in some way making it impossible to proceed
Definition: geometryutils.h:11
MAXON_REGISTRY
#define MAXON_REGISTRY(T, Name, id)
Definition: registrybase.h:384
PaintMaterial
A class for paint materials. It represents a paintable material.
Definition: c4d_painter.h:906
BaseList2D
Definition: c4d_baselist.h:2144
GEOM_ANTIPARALLEL
GEOM_ANTIPARALLEL
Degenerate colinear, ordered in opposite direction.
Definition: geometryutils.h:5
BaseDrawHelp::SetVectorDisplayMode
void SetVectorDisplayMode(Int32 vectorDisplayMode)
Definition: c4d_basedraw.h:172
maxon::HSLToRGB
Col3< FLOAT > HSLToRGB(const Vec3< FLOAT > &color)
OBJECTCATEGORY::GENERATOR
@ GENERATOR
BaseView::ZSensitiveNearClipping
Float ZSensitiveNearClipping(void) const
Definition: c4d_basedraw.h:543
BaseView::SW
Vector SW(const Vector &p) const
Definition: c4d_basedraw.h:417
BaseView
Definition: c4d_basedraw.h:265
GEOM_FALSE
GEOM_FALSE
Test result is false.
Definition: geometryutils.h:2
UVWTag::AddToPinSelection
Bool AddToPinSelection(const BaseSelect &pinSelection)
Definition: c4d_basetag.h:541
BaseObject::GetEditObject
BaseObject * GetEditObject(BaseObject **psds, DISPLAYEDITSTATE state, Bool safetey=true)
Private.
ToolPlugin::InitDisplayControl
Bool InitDisplayControl(BaseDocument *doc, BaseDraw *bd, const AtomArray *active)
Private.
BaseDraw::GetDrawStatistics
Bool GetDrawStatistics(maxon::DataDictionary &statistics) const
Definition: c4d_basedraw.h:1621
BaseView::PW_W
Float PW_W(const Vector &p, Bool horizontal) const
BaseTime
Definition: c4d_basetime.h:24
CameraObject::GetAperture
Float GetAperture() const
Int
maxon::Int Int
Definition: ge_sys_math.h:62
maxon::BaseArraySelector<>
maxon::end
MAXON_ATTRIBUTE_FORCE_INLINE auto end(COLLECTION &&c) -> decltype(c.End())
Definition: foreach.h:360
BaseDraw::SetDrawPass
void SetDrawPass(DRAWPASS drawPass)
Definition: c4d_basedraw.h:1607
DISPLAYMODE
DISPLAYMODE
Definition: ge_prepass.h:4108
BaseObject::GetTagsWithFlags
const maxon::BaseArray< BaseTag * > * GetTagsWithFlags(Int32 flags) const
Definition: c4d_baseobject.h:688
maxon::CONVERSION_FLAGS
CONVERSION_FLAGS
Definition: datatypebase.h:59
GetAllAssets
GETALLASSETSRESULT GetAllAssets(BaseDocument *doc, Bool allowDialogs, maxon::BaseArray< AssetEntry > &assets, Filename &lastPath, ASSETDATA_FLAG flags=ASSETDATA_FLAG::NONE)
GL_MESSAGE
GL_MESSAGE
Definition: ge_prepass.h:4513
BaseDrawHelp::IsRenderOnlyGeometry
Bool IsRenderOnlyGeometry() const
Definition: c4d_basedraw.h:193
UVWTag::RemoveFromPinSelection
Bool RemoveFromPinSelection(const BaseSelect &pinSelection)
Definition: c4d_basetag.h:549
maxon::corenodes::WIRETYPE
WIRETYPE
Definition: corenodes_helpers.h:42
SculptBrushToolData::DisplayControl
virtual Bool DisplayControl(BaseDocument *doc, BaseObject *op, BaseObject *chainstart, BaseDraw *bd, BaseDrawHelp *bh, ControlDisplayStruct &cds) const
If this method is overridden then make sure to call SculptBrushToolData::DisplayControl(doc,...
OBJECTCATEGORY::HIGHLIGHTING
@ HIGHLIGHTING
BaseDraw::DrawPostPass
Bool DrawPostPass()
Definition: c4d_basedraw.h:1354
BaseDrawHelp
Definition: c4d_basedraw.h:39
CameraObject
Definition: c4d_baseobject.h:1232
TempUVHandle
Definition: c4d_painter.h:62
BaseDraw::ScreenToClipSpace
Vector4d ScreenToClipSpace(const Vector &screenCoordinates, Int32 sampleLocation) const
Definition: c4d_basedraw.h:1661
maxon::APPLICATION_URLTYPE
APPLICATION_URLTYPE
Possible values for GetUrl() function.
Definition: application.h:28
OBJECTCATEGORY::GUIDELINES
@ GUIDELINES
ON_RESIZE_UNSPECIFIED
ON_RESIZE_UNSPECIFIED
The resize operation may use unspecified (but legal) values for existing elements as well as for adde...
Definition: collection.h:121
OBJECTCATEGORY::SDS
@ SDS
BaseObject
Definition: c4d_baseobject.h:224
C4DObjectList
Definition: lib_editortools.h:27
PaintBitmap
The base class of all paint classes. Can be a texture, material, layer or mask.
Definition: c4d_painter.h:426
maxon::Mat3< maxon::Vector64 >
maxon
The maxon namespace contains all declarations of the MAXON API.
Definition: c4d_basedocument.h:15
maxon::CommandCacheMap
HashMap< Id, CommandCacheRef > CommandCacheMap
Definition: commandbase.h:334
CameraObject::GetZoom
Float GetZoom() const
MAXON_INTERFACE_BASES
#define MAXON_INTERFACE_BASES(...)
Definition: objectbase.h:977
DR_MULTILINE_NO_DARK_BACKGROUND
@ DR_MULTILINE_NO_DARK_BACKGROUND
Uses not dark but normal background color.
Definition: gui.h:324
BaseObject::GetDeformMode
Bool GetDeformMode(void) const
BaseDraw::GetHandleSize
Float GetHandleSize(DRAWHANDLE type) const
Definition: c4d_basedraw.h:994
OBJECTCATEGORY::SDSCAGE
@ SDSCAGE
BaseView::WC
Vector WC(const Vector &p) const
Definition: c4d_basedraw.h:434
BaseDraw::PointInRange
Bool PointInRange(const Vector &p, Int32 x, Int32 y, Float range=10.0_f) const
Definition: c4d_basedraw.h:1684
UInt32
maxon::UInt32 UInt32
Definition: ge_sys_math.h:59
SceneHookData
Definition: c4d_scenehookdata.h:48
BaseView::SC
Vector SC(const Vector &p) const
Definition: c4d_basedraw.h:449
BaseDraw::SetViewportRender
void SetViewportRender(const maxon::Id &draw, const maxon::Id &pick)
Definition: c4d_basedraw.h:1820
VIEWPORT_RENDER_ID::DATA_SETTER
@ DATA_SETTER
Return the Id of the data setter.
PainterGetBrush
maxon::Result< maxon::DrawportTextureInterface * > PainterGetBrush(BaseDraw *bd, PaintBrushData &brushData)
FieldOutputBlock
Definition: c4d_fielddata.h:342
BaseDraw::GetPreferredHUDTextureFlags
DRAW_TEXTUREFLAGS GetPreferredHUDTextureFlags() const
Definition: c4d_basedraw.h:1705
ToolData
Definition: c4d_tooldata.h:214
PaintBrushData::projectionPaintFreezeFactor
Float projectionPaintFreezeFactor
Definition: c4d_painter.h:1046
RESOURCE_DEFINE
#define RESOURCE_DEFINE(ID, VAL)
Definition: fid.h:93
BaseDraw::DrawBoxEdges
void DrawBoxEdges(BaseDocument *doc, BaseObject *op, const Matrix &mg, Bool inversez, Bool inherit, Int32 vis, Bool child)
Definition: c4d_basedraw.h:1342
ConstUVWHandle
const typedef void * ConstUVWHandle
Handle for read-only UVW data. See also: UVWTag.
Definition: operatingsystem.h:453
ControlDisplayStruct
DisplayControl data.
Definition: c4d_tooldata.h:29
ACTIVEOBJECTMODE::CAMERA
@ CAMERA
Editor camera mode.
Float
maxon::Float Float
Definition: ge_sys_math.h:64
MATH_COLOR
#define MATH_COLOR
Definition: lib_math.h:77
BaseView::WP_S
Float WP_S(Float z, Bool horizontal) const
PROXYAUTHENTICATIONREQUIRED
PROXYAUTHENTICATIONREQUIRED
a connection requires proxy authentication
Definition: network_httperror.h:16
GEOM_COINCIDENT_PREV
GEOM_COINCIDENT_PREV
Degenerate coincident points.
Definition: geometryutils.h:6
maxon::HTTPCODE
HTTPCODE
Return codes for http functions.
Definition: network_httperror.h:15
ON_GROW_UNSPECIFIED
ON_GROW_UNSPECIFIED
Initialize added elements with unspecified (but legal) values. For example PODs can be left uninitial...
Definition: collection.h:119
ARRAY
ARRAY
Array.
Definition: ge_prepass.h:3360
BaseDrawHelp::GetDisplayMode
DISPLAYMODE GetDisplayMode(Bool original) const
Definition: c4d_basedraw.h:141
maxon::String
Definition: string.h:1197
DIRTYFLAGS::DESCRIPTION
@ DESCRIPTION
Description changed.
RESOURCE_DEFAULT
#define RESOURCE_DEFAULT(...)
defines the default value
Definition: fid.h:95
DRAWFLAGS
DRAWFLAGS
Definition: ge_prepass.h:2598
ComputeLightColor
Vector ComputeLightColor(BaseObject *op, Bool editor, Float reference)
PolygonObject::GetPolygonR
const CPolygon * GetPolygonR(void) const
Definition: c4d_baseobject.h:1738
PaintTexture::GetSelectionMaskTexture
BaseBitmap * GetSelectionMaskTexture(UInt64 width, UInt64 height, Int32 &dirtyCount)
Private.
Definition: c4d_painter.h:815
DISPLAYFILTER
DISPLAYFILTER
Definition: ge_prepass.h:4279
maxon::RemoveIf
auto RemoveIf(ITERABLE &&iterable, PREDICATE pred) -> decltype(begin(iterable))
Equivalent to RemoveIf(begin(iterable), end(iterable), pred).
Definition: algorithms.h:1627
OBJECTCATEGORY::DEFORMER
@ DEFORMER
maxon::SSLCERTREQUIREMENTS
SSLCERTREQUIREMENTS
Defines possible ssl certificate verification options.
Definition: network_ip_ssl.h:26
GEOM_DEGENERATE
GEOM_DEGENERATE
Other degeneracy.
Definition: geometryutils.h:9
Float32
maxon::Float32 Float32
Definition: ge_sys_math.h:66
GETALLASSETSRESULT::FAILED
@ FAILED
Function call went wrong.
Unlock
void Unlock(LockList *&lockList)
MAXON_DATATYPE
#define MAXON_DATATYPE(type, id)
Definition: datatype.h:309
CPolygon
Represents a polygon that can be either a triangle or a quadrangle.
Definition: c4d_baseobject.h:43
BaseThread
Definition: c4d_thread.h:27
maxon::NullValue
T NullValue()
Definition: nullvalue.h:214
BaseDocument::GetDefaultClippingPlanes
void GetDefaultClippingPlanes(Float &nearPlane, Float &farPlane, const GeData *preset=nullptr) const
Definition: c4d_basedocument.h:1163
UVWTag::Get
static void Get(ConstUVWHandle dataptr, Int32 i, UVWStruct &res)
Definition: c4d_basetag.h:469
DisplayTag
Definition: c4d_basetag.h:1130
BaseTag
Definition: c4d_basetag.h:46
Filename
Manages file and path names.
Definition: c4d_file.h:93
BaseDraw::IsEnhancedOpenGL
Bool IsEnhancedOpenGL() const
Extended OpenGL mode. This mode is not documented. See c4d_gl.h for definitions.
Definition: c4d_basedraw.h:1736
CustomDataTag::DisplayControl
maxon::Result< void > DisplayControl(BaseDocument *doc, BaseObject *op, BaseDraw *bd, BaseDrawHelp *bh, ControlDisplayStruct &cds) const
Private.
BaseDrawHelp::GetColorObject
BaseObject * GetColorObject() const
Definition: c4d_basedraw.h:211
SculptBrushToolData
Definition: lib_sculptbrush.h:1213
CAMORPH_PSDINTERPOLATION_MODE::JOINT
@ JOINT
Per joint interpolation (joint axis average).
OBJECTCATEGORY::GRID
@ GRID
CustomSculptBrushBase::DisplayControl
Bool DisplayControl(BaseDocument *doc, BaseObject *op, BaseObject *chainstart, BaseDraw *bd, BaseDrawHelp *bh, ControlDisplayStruct &cds, const SculptBrushToolData *tool) const
CAMORPH_PSDINTERPOLATION_MODE::DEFAULT
@ DEFAULT
Default.
maxon::Fill
auto Fill(ITERABLE &&iterable, const T &value) -> decltype(begin(iterable))
Equivalent to Fill(begin(iterable), end(iterable), value).
Definition: algorithms.h:601
ShaderData
Definition: c4d_shaderdata.h:42
BaseObject::GetTagsOfType
const maxon::BaseArray< BaseTag * > * GetTagsOfType(Int32 type) const
Definition: c4d_baseobject.h:681
DRAW_ALPHA
DRAW_ALPHA
Definition: ge_prepass.h:2745
GetUVSeams
const EdgeBaseSelect * GetUVSeams(const BaseObject *obj)
DisplayTag::GetVectorDisplayMode
Int32 GetVectorDisplayMode() const
SearchPluginMenuResource
GeData * SearchPluginMenuResource(const maxon::String &identifier="IDS_EDITOR_PIPELINE"_s)
UpdateMeshUV
Bool UpdateMeshUV(Bool fullUpdate=false)
DRAW_TEXTUREFLAGS::TEMPORARY
@ TEMPORARY
Texture is a temporary object.
BaseView::SW_V
Vector SW_V(const Vector &v, const Vector &p) const
Definition: c4d_basedraw.h:489
maxon::COMMANDRESULT
COMMANDRESULT
Defines the result of the command after execution.
Definition: commandbase.h:35
maxon::Vec4
A vector consisting of four components X, Y, Z and W.
Definition: vec4.h:14
BaseList2D::SetBitEx
void SetBitEx(Int32 mask, Int32 flags)
Definition: c4d_baselist.h:2238
BaseDocument::GetAction
Int32 GetAction(void) const
maxon::Id
Definition: apibaseid.h:250
UVWTag::GetPinSelection
BaseSelect & GetPinSelection()
Definition: c4d_basetag.h:528
MDDIRTY::DATA
@ DATA
Data in the arrays changed, must be manually set.
OBJECTCATEGORY::HYPERNURBS
@ HYPERNURBS
GEOM_PARALLEL
GEOM_PARALLEL
Degenerate colinear, ordered in same direction.
Definition: geometryutils.h:4
BaseDrawHelp::GetVertexColorShading
Bool GetVertexColorShading()
Definition: c4d_basedraw.h:128
OBJECTCATEGORY::UNUSED1
@ UNUSED1
BaseView::ZSensitiveNear
Bool ZSensitiveNear(void) const
Definition: c4d_basedraw.h:537
BaseTag::Draw
Bool Draw(BaseObject *op, BaseDraw *bd, BaseDrawHelp *bh)
Draws a tag.
Definition: c4d_basetag.h:109
BaseObject::GetRenderMode
Int32 GetRenderMode(void) const
PaintMaterial::GetSelectionMaskState
static void GetSelectionMaskState(Bool &hasSelectionMask, Bool &isEditMaskActive)
Private.
Definition: c4d_painter.h:982
ToolPlugin::DisplayControl
Bool DisplayControl(BaseDocument *doc, BaseObject *op, BaseObject *chainstart, BaseDraw *bd, BaseDrawHelp *bh, ControlDisplayStruct &cds) const
Private.
GetAdditionalWorldContainerData
void GetAdditionalWorldContainerData(BaseContainer &bc)
BaseDrawHelp::SetActiveFlags
void SetActiveFlags(Bool active, Bool hierarchyActive, Bool highlighted, Bool hierarchyHighlighted)
Definition: c4d_basedraw.h:181
ToString
maxon::String ToString(const Filename &val, const maxon::FormatStatement *formatStatement, maxon::Bool checkDatatype=false)
PaintBrushData
Definition: c4d_painter.h:1039
BaseDrawHelp::GetVertexColor
const maxon::Color32 * GetVertexColor()
Definition: c4d_basedraw.h:115
maxon::HASHMAP_MODE
HASHMAP_MODE
HASHMAP_MODE can be used as template argument for HashMap to control its behavior.
Definition: hashmap.h:732
TempUVHandle::GetUVEdgeSel
EdgeBaseSelect * GetUVEdgeSel()
ControlDisplayStruct::vertex_color
maxon::Color32 * vertex_color
An array of vertex colors for each point.
Definition: c4d_tooldata.h:39
BAKE_TEX_OPTIMAL_MAPPING_PACKED
@ BAKE_TEX_OPTIMAL_MAPPING_PACKED
Packed.
Definition: c4d_tools.h:2756
SearchPluginSubMenuResource
GeData * SearchPluginSubMenuResource(const maxon::String &identifier="IDS_EDITOR_PIPELINE"_s, BaseContainer *bc=nullptr)
maxon::Float
Float64 Float
Definition: apibase.h:193
CameraObject::GetOffset
Vector GetOffset() const
BaseObject::GetEditorMode
Int32 GetEditorMode(void) const
GeDialog
Definition: c4d_gui.h:1071
MAXON_OBSERVABLE
#define MAXON_OBSERVABLE(RETTYPE, NAME,...)
Defined Observables for the source processor.
Definition: observable.h:736
maxon::BaseArray
Definition: basearray.h:366
OBJECTCATEGORY::GRADIENT
@ GRADIENT
COINCIDENT
COINCIDENT
Loops are coincident - they lie on each other's perimeter, e.g. A and B are the same.
Definition: geometryutils.h:6
maxon::CONFIGURATIONENTRY_ORIGIN
CONFIGURATIONENTRY_ORIGIN
Source where a configuration value was defined.
Definition: configuration.h:26
maxon::TraverseMeAndChildren
static Result< Bool > TraverseMeAndChildren(const REFTYPE &object, const Delegate< Result< Bool >(const REFTYPE &object, const REFTYPE &parent, const ConstDataPtr &branchId, Int depth)> &function, const ConstDataPtr &branchId=ConstDataPtr(), Int depth=Int(0))
Definition: hierarchyobject.h:539
OBJECTCATEGORY::HORIZON
@ HORIZON
PaintBrushData::brushHeight
Int32 brushHeight
Definition: c4d_painter.h:1045
SCENEHOOKDRAW
SCENEHOOKDRAW
Definition: ge_prepass.h:3064
BaseView::WC_V
Vector WC_V(const Vector &v) const
Definition: c4d_basedraw.h:464
maxon::Reverse
auto Reverse(ITERABLE &&iterable) -> decltype(begin(iterable))
Equivalent to Reverse(begin(iterable), end(iterable)).
Definition: algorithms.h:1041
BaseObject::GetCacheTopParent
BaseObject * GetCacheTopParent(void) const
PaintTexture::GetVisibleBitmap
BaseBitmap * GetVisibleBitmap(Bool recalc=true)
Private.
Definition: c4d_painter.h:810
PaintBrushData::bitmapHeight
Int32 bitmapHeight
Definition: c4d_painter.h:1043
OBJECTCATEGORY::POLYGON
@ POLYGON
BaseView::CW
Vector CW(const Vector &p) const
Definition: c4d_basedraw.h:441
SceneHookData::DisplayControl
virtual Bool DisplayControl(BaseDocument *doc, BaseObject *op, BaseObject *chainstart, BaseDraw *bd, BaseDrawHelp *bh, ControlDisplayStruct &cds) const
BaseDraw::DrawTexture
void DrawTexture(const BaseBitmap *bmp, const Vector *padr4, const Vector *cadr, const Vector *vnadr, const Vector *uvadr, Int32 pntcnt, DRAW_ALPHA alphamode, DRAW_TEXTUREFLAGS flags)
Definition: c4d_basedraw.h:1247
AssetEntry
Definition: c4d_baselist.h:1008
SAVEBIT::KEEP_COLOR_MODE
@ KEEP_COLOR_MODE
Private.
BaseDraw::IsOpenGL
Bool IsOpenGL() const
Extended OpenGL mode. This mode is not documented. See c4d_gl.h for definitions.
Definition: c4d_basedraw.h:1731
B_INSIDE_A
B_INSIDE_A
B is entirely within A.
Definition: geometryutils.h:5
BaseDraw
Definition: c4d_basedraw.h:747
BaseDrawHelp::SetVertexColorShading
void SetVertexColorShading(Bool vertexcolorShading)
Definition: c4d_basedraw.h:134
GETALLASSETSRESULT
GETALLASSETSRESULT
Definition: ge_prepass.h:5530
MAXON_OBSERVABLE_STATIC
#define MAXON_OBSERVABLE_STATIC(RETTYPE, NAME,...)
Definition: observable.h:740
RGBToHSL
Vector RGBToHSL(const Vector &col)
maxon::CompareFloat
Bool CompareFloat(Float32 a, Float32 b, Float32 epsilon=1e-10f)
Definition: general_math.h:24
maxon::TOSTR
void(*)(String &result, const void *ptr, const FormatStatement *formatStatement) TOSTR
Definition: debugdiagnostics.h:84
maxon::py::REFTYPE
REFTYPE
Definition: cpython_ref.h:30
CustomSculptBrushBase
Private. Internal.
Definition: lib_sculptbrush.h:756
GeListNode
Represents a C4DAtom that resides in a 4D list.
Definition: c4d_baselist.h:1767
COMPONENT_SELECTION_MODES
COMPONENT_SELECTION_MODES
Definition: ge_prepass.h:5458
Material::RenderViewportImage
static Bool RenderViewportImage(Material *material, BaseDocument *baseDocument, Int32 sizeExponent, Int32 xMin, Int32 yMin, Int32 xMax, Int32 yMax, BaseThread *parentThread, BaseBitmap &bitmap)
Private.
Definition: c4d_basematerial.h:370
PROXYERROR
PROXYERROR
a proxy configuration error
Definition: network_httperror.h:5
OBJECTCATEGORY::HUD
@ HUD
BaseView::WP_W
Float WP_W(const Vector &p, Bool horizontal) const
BLOCK_NESTING
BLOCK_NESTING
Definition: corenodes_helpers.h:46
ASSETDATA_FLAG::NOMISSING
@ NOMISSING
Only existing assets will be included.
String
Definition: c4d_string.h:38
DRAWPASS
DRAWPASS
Definition: ge_prepass.h:3258
GETALLASSETSRESULT::OK
@ OK
Function succeeded and all assets exists.
maxon::GetCount
Int GetCount(const ITERABLE &iterable)
Definition: collection.h:37
BaseDrawHelp::SetDisplayMode
void SetDisplayMode(DISPLAYMODE mode, Bool original)
Definition: c4d_basedraw.h:148
DR_MULTILINE_BOLD
@ DR_MULTILINE_BOLD
Bold font.
Definition: gui.h:327
maxon::src
const T & src
Definition: apibase.h:2525
UVWTag
Definition: c4d_basetag.h:379
PaintTexture::GetTexture
static PaintTexture * GetTexture(const String &name, const Filename &filename, Bool create)
Private.
Definition: c4d_painter.h:805
maxon::BitSet
BaseBitSet< DefaultAllocator > BitSet
Definition: basebitset.h:680
maxon::Result< void >
MAXON_METHOD
#define MAXON_METHOD
Definition: interfacebase.h:855
maxon::COLLECTION_RESIZE_FLAGS
COLLECTION_RESIZE_FLAGS
Flags for Resize(). Depending on the type of collection the flags might be ignored (except for ON_GRO...
Definition: collection.h:125
BaseDraw::SetDisplayFilter
void SetDisplayFilter(DISPLAYFILTER displayFilter)
Definition: c4d_basedraw.h:1595
ToolPlugin
Definition: c4d_baseplugin.h:148
IsUVToolMode
Bool IsUVToolMode(const BaseDocument *document)
maxon::Vec3< maxon::Float32, 1 >
ISOPTIONAL
ISOPTIONAL
mode: a certificate is optional. If this flag is set you need to deliver a valid caCertsFile file in ...
Definition: network_ip_ssl.h:3
maxon::SqrMat4
Definition: matrix4d.h:12
Material
Definition: c4d_basematerial.h:240
EditorLight
Definition: c4d_basedraw.h:255
Vector32
maxon::Vec3< maxon::Float32, 1 > Vector32
Definition: ge_math.h:139
MaterialData
Definition: c4d_materialdata.h:60
BaseDocument::GetTime
BaseTime GetTime(void) const
SUVWStruct
Definition: operatingsystem.h:527
OVERRIDEENABLING::OTHER
@ OTHER
Other types override enabled.
BaseDocument::IsEditMode
Bool IsEditMode(void) const
PaintTexture::GetProjectionPaintTextures
static Bool GetProjectionPaintTextures(const ViewWindow *viewWindow, PaintTexture *&paintTexture)
Private.
Definition: c4d_painter.h:820
OBJECTCATEGORY::BASEGRID
@ BASEGRID
LayerSet
Layer set custom data type (CUSTOMDATATYPE_LAYERSET).
Definition: customgui_layerset.h:32
DRAWRESULT
DRAWRESULT
Definition: ge_prepass.h:4097
BaseDraw::SetRedrawHelper
void SetRedrawHelper(const maxon::DrawportRedrawHelperRef &redrawHelper)
Definition: c4d_basedraw.h:1769
PaintBrushData::mousePosY
Int32 mousePosY
Definition: c4d_painter.h:1044
maxon::Classes::Get
const Class< R > & Get(const Id &cls)
Definition: objectbase.h:1903
FILTERSETTINGS::SPLINE
@ SPLINE
SplineData* Pointer to the spline for spline remapping.
PolygonObject::GetPolygonCount
Int32 GetPolygonCount(void) const
Definition: c4d_baseobject.h:1752
PaintBrushData::hoveredBitmap
PaintBitmap * hoveredBitmap
Definition: c4d_painter.h:1041
BaseView::SW_Reference
Vector SW_Reference(Float x, Float y, const Vector &wp) const
Definition: c4d_basedraw.h:427
SplineHelp
Definition: lib_splinehelp.h:50
COMPONENT_SELECTION_MODES::UVEDGES
@ UVEDGES
UV Edges selection mode.
BaseVideoPost
Definition: c4d_videopost.h:23
LIMIT
Definition: apibasemath.h:33
BaseView::WS
Vector WS(const Vector &p) const
Definition: c4d_basedraw.h:409
CustomDataTag
Definition: lib_customdatatag.h:47
BaseShader::ProcessEditorPreviewImage
void ProcessEditorPreviewImage(const ProcessEditorPreviewImageFn &fn)
Extended OpenGL mode. This mode is not documented. See c4d_gl.h for definitions.
Definition: c4d_basechannel.h:228
TYPE
TYPE
Int32.
Definition: c4d_basebitmap.h:6
BaseSceneHook
Definition: c4d_basedocument.h:43
OBJECTCATEGORY::POI
@ POI
maxon::OverloadRank1
PrivateOverloadRank1 * OverloadRank1
See OverloadRank0.
Definition: apibase.h:612
GEOM_TRUE
GEOM_TRUE
Test result is true.
Definition: geometryutils.h:3
maxon::Vec2< maxon::Float64, 1 >
BaseDraw::GetXRefObjects
const AtomArray & GetXRefObjects() const
Definition: c4d_basedraw.h:874
maxon::corenodes::ACCESS_INDEX
ACCESS_INDEX
Definition: corenodes_helpers.h:28
INTERSECTING
INTERSECTING
Loops intersect each other. Contact points do not count as intersections, only actual crossings of th...
Definition: geometryutils.h:2
OBJECTCATEGORY::UNUSED2
@ UNUSED2
BaseSelect
Definition: c4d_baseselect.h:31
FieldOutput
Definition: c4d_fielddata.h:119
BaseDrawHelp::GetVectorDisplayMode
Int32 GetVectorDisplayMode() const
Definition: c4d_basedraw.h:166
DisplayTag::GetDisplayMode
DISPLAYMODE GetDisplayMode(Bool original) const
BaseDraw::GetEditorLights
const maxon::BaseArray< EditorLight > & GetEditorLights() const
Definition: c4d_basedraw.h:1781
GEOM_COINCIDENT_ALL
GEOM_COINCIDENT_ALL
Degenerate coincident points.
Definition: geometryutils.h:8
BaseDrawHelp::SetColorObject
void SetColorObject(BaseObject *colorObject)
Definition: c4d_basedraw.h:217
DRAWHANDLE
DRAWHANDLE
Definition: ge_prepass.h:2730
SYNCHRONIZED
SYNCHRONIZED
Use atomic access to implement a lock-free hash map.
Definition: hashmap.h:3
GeData
Definition: c4d_gedata.h:82
VolumeData
Definition: c4d_tools.h:1299
DISPLAYEDITSTATE
DISPLAYEDITSTATE
Definition: ge_prepass.h:4323
BaseDrawHelp::GetPainterMesh
BaseObject * GetPainterMesh(Bool &enabled) const
Definition: c4d_basedraw.h:224
Material::ComputeFresnelDielectric
static Float ComputeFresnelDielectric(Int32 fresnelPreset)
Private.
Definition: c4d_basematerial.h:380
MDDIRTY::NONE
@ NONE
GEOM_COINCIDENT_NEXT
GEOM_COINCIDENT_NEXT
Degenerate coincident points.
Definition: geometryutils.h:7
BaseBitmap::GetPixelDirect
Vector32 GetPixelDirect(Int32 x, Int32 y) const
Definition: c4d_basebitmap.h:692
BaseView::PW_S
Float PW_S(Float z, Bool horizontal) const
BaseView::CW_V
Vector CW_V(const Vector &v) const
Definition: c4d_basedraw.h:471
maxon::corenodes::CreateCoreNodeFactory
Result< CoreNodeFactory > CreateCoreNodeFactory(DataDictionary &&meta=DataDictionary())
Definition: corenodes.h:924
DRAW_TEXTUREFLAGS
DRAW_TEXTUREFLAGS
Definition: ge_prepass.h:2758
IsAnimationRunning
Bool IsAnimationRunning(const BaseDocument *document)
Int32
maxon::Int32 Int32
Definition: ge_sys_math.h:58
PaintTexture
A class for paint textures, can contain layers and may represent the channel of a material.
Definition: c4d_painter.h:728
OBJECTCATEGORY::LIGHT
@ LIGHT
BaseBitmap::GetUpdateRegion
void GetUpdateRegion(Int32 &xMin, Int32 &xMax, Int32 &yMin, Int32 &yMax, Bool reset)
Definition: c4d_basebitmap.h:869
BaseDocument::GetFirstSceneHook
BaseSceneHook * GetFirstSceneHook()
BaseDraw::GetViewportRender
void GetViewportRender(maxon::ViewportRenderRef &viewportRender, Bool draw) const
Definition: c4d_basedraw.h:1832
BaseObject::GetCacheParent
BaseObject * GetCacheParent(void) const
FieldCallerStack::Add
maxon::Result< void > Add(const BaseList2D *caller)
PaintMaterial::GetBaseMaterial
BaseMaterial * GetBaseMaterial(BaseDocument *doc)
Private.
Definition: c4d_painter.h:977
maxon::LOOP_OVERLAP_STATE
LOOP_OVERLAP_STATE
Return type for loop overlap state queries.
Definition: geometryutils.h:28
UVWTag::ClearPinSelection
void ClearPinSelection()
Clears the pin point selection for this tag.
Definition: c4d_basetag.h:515
maxon::GeomConstants::EPSILON5
static constexpr Float EPSILON5
Definition: geomconstants.h:18
BaseObject::ObjDraw
DRAWRESULT ObjDraw(DRAWPASS drawpass, BaseDraw *bd, BaseDrawHelp *bh)
Private.
PaintBrushData::brushWidth
Int32 brushWidth
Definition: c4d_painter.h:1045
BaseSceneHook::FreeDisplayControl
void FreeDisplayControl()
Private.
maxon::IsMatrixRectangular
Bool IsMatrixRectangular(const MATRIXTYPE &m, typename MATRIXTYPE::ValueType epsilon=1e-10_f)
MAXON_ATTRIBUTE_CLASS
#define MAXON_ATTRIBUTE_CLASS(TYPE, NAME, RID,...)
Definition: fid.h:165
maxon::Col3
A color consisting of three components R, G and B.
Definition: col.h:14
UVWTag::CalculateBoundingBox
maxon::Range< Vector32 > CalculateBoundingBox() const
maxon::DESCRIPTION::DATA::BASE::MAXON_ATTRIBUTE
MAXON_ATTRIBUTE(Id, DATATYPE, "net.maxon.description.data.base.datatype", RESOURCE_DEFINE(ENUM_REGISTRY_MAXON_DB_DATADESCRIPTIONS, Id("registry#maxon.db.datadescriptions")))
OBJECTCATEGORY::PARTICLE
@ PARTICLE
BaseDraw::GetDrawFlags
DRAWFLAGS GetDrawFlags() const
Definition: c4d_basedraw.h:1627
ISREQUIRED
ISREQUIRED
mode: a server certificate is required and need to have a valid ca root. If this flag is set you need...
Definition: network_ip_ssl.h:4
GetGlobalTexturePaths
maxon::Result< TexturePathList > GetGlobalTexturePaths(const Filename *docPath)
BaseView::ZSensitiveFarClipping
Float ZSensitiveFarClipping(void) const
Definition: c4d_basedraw.h:555
PolygonObject
Definition: c4d_baseobject.h:1597
OBJECTCATEGORY::NULLOBJECT
@ NULLOBJECT
NO_NONEMPTY_BUCKET_TABLE
NO_NONEMPTY_BUCKET_TABLE
< Don't maintain a table of non-empty buckets. This reduces memory consumption, but makes iterations ...
Definition: hashmap.h:5
ID_DISPLAYFILTER_BROWSERPRESET
static const Int32 ID_DISPLAYFILTER_BROWSERPRESET
BaseDraw Display Filter preset ID.
Definition: c4d_basedraw.h:740
BaseSceneHook::InitDisplayControl
Bool InitDisplayControl(BaseDocument *doc, BaseDraw *bd, const AtomArray *active)
Private.
ToolData::DisplayControl
virtual Bool DisplayControl(BaseDocument *doc, BaseObject *op, BaseObject *chainstart, BaseDraw *bd, BaseDrawHelp *bh, ControlDisplayStruct &cds) const
maxon::GEOMETRY_TEST_EXACT
GEOMETRY_TEST_EXACT
Return type for geometric tests when degenerate cases need to be reported.
Definition: geometryutils.h:13
FieldCallerStack
Definition: c4d_fielddata.h:739
ASSETDATA_FLAG
ASSETDATA_FLAG
Definition: ge_prepass.h:246
GeDialog::GetTitle
maxon::String GetTitle()
ViewportSelect
Definition: c4d_basedraw.h:1892
BaseDrawHelp::GetMatrices
maxon::Block< const Matrix > GetMatrices(void)
Definition: c4d_basedraw.h:91
maxon::Crc32C
Definition: crc32c.h:26
BaseList2D::GetViewportRenderId
const Char * GetViewportRenderId(VIEWPORT_RENDER_ID typeId) const
Vector
maxon::Vec3< maxon::Float64, 1 > Vector
Definition: ge_math.h:145
PREFS_DIR_STATIC
PREFS_DIR_STATIC
Definition: application.h:92
MAXON_ENUM_LIST
#define MAXON_ENUM_LIST(E,...)
Definition: enumflags.h:104
VolumeData::HasVolumeDataFake
Bool HasVolumeDataFake() const
Definition: c4d_tools.h:2237
GETALLASSETSRESULT::MISSING
@ MISSING
Function succeeded but some assets cannot be found.
maxon::Invert
MAXON_ATTRIBUTE_FORCE_INLINE enable_if_float< T > Invert(T value)
Definition: apibasemath_extension.h:12
VIEWPORT_PICK_FLAGS
VIEWPORT_PICK_FLAGS
Definition: ge_prepass.h:4524
BaseBitmap
Definition: c4d_basebitmap.h:410
BaseView::CS
Vector CS(const Vector &p, Bool z_inverse) const
Definition: c4d_basedraw.h:457
ViewportSelect::PickObject
static Bool PickObject(BaseDraw *bd, BaseDocument *doc, Int32 x, Int32 y, Int32 rad, VIEWPORT_PICK_FLAGS flags, LassoSelection *ls, C4DObjectList *list, maxon::SquareMatrix4d *m=nullptr, Int32 *sampleLocation=nullptr)
BaseDraw::GetTransparency
Int32 GetTransparency(void) const
Definition: c4d_basedraw.h:969
MAXON_FUNCTION
#define MAXON_FUNCTION
Definition: interfacebase.h:873
DR_MULTILINE_NO_SCROLLBARS
@ DR_MULTILINE_NO_SCROLLBARS
Shows all the text without scrollbars.
Definition: gui.h:326
OBJECTSTATE::REAL_DEFORM
@ REAL_DEFORM
Real Deform state (MODE_ON, MODE_OFF, MODE_UNKNOWN).
OBJECTCATEGORY::MULTIAXIS
@ MULTIAXIS
maxon::MediaTraverseChildren
static Result< Bool > MediaTraverseChildren(const REFTYPE &t, const ConstDataPtr &branch, const Delegate< Result< Bool >(const REFTYPE &child, const REFTYPE &parent, const ConstDataPtr &branch, Int depth)> &func, Int depth=0)
Definition: mediasession_base.h:77
maxon::Range
Definition: range.h:25
DISJOINT
DISJOINT
Loops are completely disjoint from each other.
Definition: geometryutils.h:3
SplineObject
Represents a spline object.
Definition: c4d_baseobject.h:2009
PaintBrushData::bitmapWidth
Int32 bitmapWidth
Definition: c4d_painter.h:1043
DR_MULTILINE_NO_BORDER
@ DR_MULTILINE_NO_BORDER
No border.
Definition: gui.h:325
VIEWPORT_RENDER_ID::RENDER_OBJECT
@ RENDER_OBJECT
Return the Id of the render object.
OBJECTCATEGORY::OBJECTHIGHLIGHTING
@ OBJECTHIGHLIGHTING
A_INSIDE_B
A_INSIDE_B
A is entirely within B.
Definition: geometryutils.h:4
maxon::Delegate
Definition: delegate.h:235
BaseDraw::GetDrawport
void GetDrawport(maxon::DrawportRef &drawport) const
Definition: c4d_basedraw.h:1840
UVWTag::SetPinSelection
Bool SetPinSelection(const BaseSelect &pinSelection)
Definition: c4d_basetag.h:522
Bool
maxon::Bool Bool
Definition: ge_sys_math.h:53
MAXON_ATTRIBUTE
#define MAXON_ATTRIBUTE(TYPE, NAME, RID,...)
Definition: fid.h:146
UInt
maxon::UInt UInt
Definition: ge_sys_math.h:63
FieldOutput::CalculateCrc
UInt32 CalculateCrc() const
LassoSelection
Used to select any GUI element with a lasso.
Definition: c4d_general.h:1324
BaseDrawHelp::SetLod
void SetLod(Float32 lod)
Definition: c4d_basedraw.h:160
BaseView::WS_V
Vector WS_V(const Vector &v, const Vector &p) const
Definition: c4d_basedraw.h:480
GATEWAYTIMEOUT
GATEWAYTIMEOUT
return a http gateway timeout error.
Definition: network_httperror.h:20
OBJECTCATEGORY::FIELD
@ FIELD
BaseDrawHelp::GetLod
Float32 GetLod() const
Definition: c4d_basedraw.h:154
BaseDraw::GetRedrawHelper
const maxon::DrawportRedrawHelperRef & GetRedrawHelper() const
Definition: c4d_basedraw.h:1775
BaseView::ZSensitiveFar
Bool ZSensitiveFar(void) const
Definition: c4d_basedraw.h:549
BaseDrawHelp::SetVertexColor
void SetVertexColor(maxon::Color32 *vertexcolor, Bool perPolygon)
Definition: c4d_basedraw.h:122
Material::GetReflectionLayerCount
Int32 GetReflectionLayerCount()
Definition: c4d_basematerial.h:322
AtomArray
Definition: c4d_baselist.h:1587
BaseDraw::DrawHandleWorld
void DrawHandleWorld(const Vector &vp, const Vector &col, DRAWHANDLE type)
Definition: c4d_basedraw.h:1190
HIGHLIGHT_TRANSPARENCY
static const Int32 HIGHLIGHT_TRANSPARENCY
A special constant that sets the (yellowish) highlight transparency mode.
Definition: ge_prepass.h:3322
maxon::TraverseChildren
static Result< Bool > TraverseChildren(const REFTYPE &object, const Delegate< Result< Bool >(const REFTYPE &object, const REFTYPE &parent, const ConstDataPtr &branchId, Int depth)> &function, const ConstDataPtr &branchId=ConstDataPtr(), Int depth=Int(0))
Definition: hierarchyobject.h:500
GetBitmapFromLockList
BaseBitmap * GetBitmapFromLockList(BaseDocument *doc, Filename &fn, Int32 frame, LayerSet *lsl, LockList *&lockList)
OBJECTCATEGORY
OBJECTCATEGORY
Definition: ge_prepass.h:4200
OBJECTSTATE
OBJECTSTATE
Definition: ge_prepass.h:4263
BaseMaterial
Definition: c4d_basematerial.h:27
EdgeBaseSelect
Definition: c4d_baseselect.h:316
VideoPostData
Definition: c4d_videopostdata.h:352
THREADTYPE
THREADTYPE
Definition: ge_prepass.h:4336
OBJECTCATEGORY::WORLDAXIS
@ WORLDAXIS
BaseDraw::DrawAnimationPath
void DrawAnimationPath(BaseDocument *doc, BaseObject *op, const Matrix &upmg, Bool showActivation, Bool global, DRAWPASS drawpass, const BaseDrawHelp *bh)
Definition: c4d_basedraw.h:1341
SAVEBIT
SAVEBIT
Definition: ge_prepass.h:265
BaseDocument::GetMode
Int32 GetMode(void) const
COMMAND
COMMAND
Command. (CommandData)
Definition: ge_prepass.h:3327
Material::ComputeFresnelMetal
static void ComputeFresnelMetal(Int32 fresnelMetal, Vector &fresnelIOR, Vector &fresnelK)
Private.
Definition: c4d_basematerial.h:375
OBJECTCATEGORY::HANDLEBANDS
@ HANDLEBANDS
Char
maxon::Char Char
Definition: ge_sys_math.h:54
BaseDraw::DrawSceneHook
Bool DrawSceneHook(BaseDocument *doc, BaseDrawHelp *bh, BaseThread *bt, SCENEHOOKDRAW flags, Int32 start=LIMIT< Int32 >::MAX, Int32 end=LIMIT< Int32 >::MIN)
Definition: c4d_basedraw.h:1360
PaintBrushData::mousePosX
Int32 mousePosX
Definition: c4d_painter.h:1044
OBJECTCATEGORY::OBJECTHANDLES
@ OBJECTHANDLES
PaintMaterial::GetAllPaintMaterialsFromTexture
static Bool GetAllPaintMaterialsFromTexture(PaintTexture *tex, AtomArray &materials)
Definition: c4d_painter.h:944
BaseDocument
Definition: c4d_basedocument.h:490
MATH_VECTOR
#define MATH_VECTOR
Definition: lib_math.h:76
TOOLDRAW::HANDLES
@ HANDLES
The active objects handles will be drawn.
FieldOutputBlock::CalculateCrc
UInt32 CalculateCrc() const
maxon::StrongRef
BaseRef< T, StrongRefHandler > StrongRef
Definition: baseref.h:918
BaseObject::GetRealDeformMode
Int32 GetRealDeformMode(void) const
maxon::CommandCacheDataRef
StrongRef< CommandCacheData > CommandCacheDataRef
Definition: commandbase.h:363
maxon::CONFIGURATIONENTRY_STATE
CONFIGURATIONENTRY_STATE
State of a configuration value.
Definition: configuration.h:35
BaseDraw::GetDisplayFilter
DISPLAYFILTER GetDisplayFilter() const
Definition: c4d_basedraw.h:1588
BaseMaterial::InitEditorPreviewImage
Bool InitEditorPreviewImage(Int32 exponent, BaseDocument *doc, BaseThread *th, Int32 doccolorspace, Bool linearworkflow)
Definition: c4d_basematerial.h:222
OBJECTCATEGORY::HAIR
@ HAIR
UInt64
maxon::UInt64 UInt64
Definition: ge_sys_math.h:61
BaseContainer
Definition: c4d_basecontainer.h:46
maxon::Matrix2d
Mat2< Vector2d > Matrix2d
Definition: matrix2d.h:423
BaseObject::SetRealDeformMode
void SetRealDeformMode(Int32 mode)
Float64
maxon::Float64 Float64
Definition: ge_sys_math.h:65
maxon::MediaTraverseMeAndChildren
static Result< Bool > MediaTraverseMeAndChildren(const REFTYPE &t, const REFTYPE &parent, const ConstDataPtr &branch, const Delegate< Result< Bool >(const REFTYPE &child, const REFTYPE &parent, const ConstDataPtr &branch, Int depth)> &func, Int depth=0)
Definition: mediasession_base.h:111
BaseDraw::GetObjectColor
Vector GetObjectColor(const BaseDrawHelp *bh, BaseObject *op, Bool lines=false, Bool usedInBaseDraw=true, Int instanceIndex=0) const
Definition: c4d_basedraw.h:948
maxon::GetNormalPixelStorageClass
const Class< ImagePixelStorage > & GetNormalPixelStorageClass()
DEGENERATE
DEGENERATE
< At least one of A and B has insufficient vertices (need at least 3)
Definition: geometryutils.h:8
TempUVHandle::SetUVPointSelectionFromTextureView
Bool SetUVPointSelectionFromTextureView(const BaseSelect *uvPointSelection, Bool bleedSelection)
CameraObject::GetFocus
Float GetFocus() const
FieldCallerStack::AddOrAddCacheParentObject
maxon::Result< void > AddOrAddCacheParentObject(BaseObject *caller)
OBJECTCATEGORY::BOUNDS
@ BOUNDS
maxon::Block
Definition: apibase.h:300