3#include "Topology/TriangleSet.h"
6#include "GLWireframeVisualModule.h"
7#include "GLSurfaceVisualModule.h"
13 template <
typename TDataType>
class TriangleSet;
21 template<
typename TDataType>
28 typedef typename TDataType::Coord
Coord;
29 typedef typename TDataType::Matrix
Matrix;
31 typedef typename ::dyno::Quat<Real>
TQuat;
47 DEF_VAR(
bool, Sequence,
false,
"Import Sequence");
#define DECLARE_TCLASS(name, T1)
DEF_VAR(Vec3f, Scale, Vec3f(1.0f), "Node scale")
DEF_VAR(Coord, Velocity, Coord(0), "")
DEF_VAR(Coord, Center, Coord(0), "")
void loadObj(TriangleSet< TDataType > &Triangleset, std::string filename)
DEF_INSTANCE_OUT(TriangleSet< TDataType >, TriangleSet, "")
DEF_INSTANCE_STATE(TopologyModule, Topology, "Topology")
void resetStates() override
std::shared_ptr< GLSurfaceVisualModule > surfacerender
DEF_VAR(Coord, AngularVelocity, Coord(0), "")
DEF_VAR(Vec3f, Location, 0, "Node location")
::dyno::Quat< Real > TQuat
DEF_VAR(bool, Sequence, false, "Import Sequence")
void updateStates() override
DEF_VAR(Vec3f, Rotation, 0, "Node rotation")
DEF_VAR(FilePath, FileName, "", "")
This is an implementation of AdditiveCCD based on peridyno.