Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tfMeshObj.h File Reference
#include <tf_platform.h>
#include <types/tf_types.h>
#include <iostream>
#include <unordered_set>
#include <unordered_map>
#include <vector>
Include dependency graph for tfMeshObj.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TissueForge::models::vertex::MeshObjActor
 Base definition of how a mesh object acts on another mesh object. More...
 
struct  TissueForge::models::vertex::MeshObjType
 Base mesh object type definition. More...
 
struct  TissueForge::models::vertex::MeshObjTypePairActor
 Base definition of how a mesh object of a type acts on another mesh object through interactions with a mesh object of another type. More...
 

Namespaces

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.
 

Macros

#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);
 

Enumerations

enum  TissueForge::models::vertex::MeshObjTypeLabel : unsigned int { NONE = 0 , VERTEX = 1 , SURFACE = 2 , BODY = 3 }
 Mesh object type enum.
 

Macro Definition Documentation

◆ 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; } \
\
\
HRESULT destroy(); \
\
\
bool validate(); \
\
\
HRESULT positionChanged();
int32_t HRESULT
Definition tf_port.h:255