#include <tf_platform.h>
#include <types/tf_types.h>
#include <iostream>
#include <unordered_set>
#include <unordered_map>
#include <vector>
Go to the source code of this file.
|
| namespace | TissueForge |
| | Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
|
| |
| namespace | TissueForge::models |
| | Application-specific Tissue Forge models and methods.
|
| |
|
| #define | MESHOBJ_CLASSDEF(oType) |
| |
|
#define | MESHOBJ_INITOBJ _objId = -1; |
| |
|
#define | MESHOBJ_DELOBJ |
| |
|
#define | MESHBOJ_DEFINES_DECL(childType) bool defines(const childType *obj) const; \ |
| |
| #define | MESHBOJ_DEFINES_DEF(parentAccessor) |
| |
|
#define | MESHOBJ_DEFINEDBY_DECL(parentType) bool definedBy(const parentType *obj) const; |
| |
|
#define | MESHOBJ_DEFINEDBY_DEF return obj && obj->defines(this); |
| |
◆ MESHBOJ_DEFINES_DEF
| #define MESHBOJ_DEFINES_DEF |
( |
| parentAccessor | ) |
|
Value: if(!obj) \
return false; \
for(auto &p : obj->parentAccessor()) \
if(p->objectId() == this->objectId()) \
return true; \
return false;
◆ MESHOBJ_CLASSDEF
| #define MESHOBJ_CLASSDEF |
( |
| oType | ) |
|
Value: \
const int objectId() const { return _objId; } \
\
\
MeshObjTypeLabel objType() const { return oType; } \
\
\
\
\
bool validate(); \
\
\
int32_t HRESULT
Definition tf_port.h:255