6#include "Topology/TriangleSet.h"
14 template<
typename TDataType>
19 typedef typename TDataType::Real
Real;
20 typedef typename TDataType::Coord
Coord;
24 std::string
caption()
override {
return "EditableMesh"; }
#define DECLARE_TCLASS(name, T1)
#define IMPLEMENT_TCLASS(name, T1)
DEF_INSTANCE_STATE(TriangleSet< TDataType >, TriangleSet, "")
DEF_ARRAYLIST_STATE(Vec3f, TriangleNormal, DeviceType::GPU, "")
DEF_ARRAY_STATE(Vec3f, PolygonNormal, DeviceType::GPU, "")
DEF_INSTANCE_IN(PolygonSet< TDataType >, PolygonSet, "")
void resetStates() override
DEF_ARRAYLIST_STATE(Vec3f, VertexNormal, DeviceType::GPU,"")
std::string caption() override
Return the caption.
a class to store polygon whose vertex number is greater or equal than 3
PolygonSetToTriangleSetNode()
This is an implementation of AdditiveCCD based on peridyno.