28 template<
typename TDataType>
35 typedef typename TDataType::Real
Real;
36 typedef typename TDataType::Coord
Coord;
71 std::shared_ptr<GLSurfaceVisualModule>
surface;
72 std::shared_ptr<GLPointVisualModule>
glpoint;
#define IMPLEMENT_TCLASS(name, T1)
std::shared_ptr< GLPointVisualModule > glpoint
DEF_VAR(Real, PlaneSize, 10, "")
DEF_VAR(bool, Reverse, false, "")
DEF_INSTANCE_STATE(PointSet< TDataType >, PointSet, "")
std::shared_ptr< GLSurfaceVisualModule > surface
DEF_INSTANCE_STATE(TriangleSet< TDataType >, ClipPlane, "")
DEF_INSTANCE_IN(PointSet< TDataType >, PointSet, "")
void resetStates() override
DEF_VAR(Color, PointColor, Color(1, 0, 0),"")
void updateStates() override
std::vector< Coord > planeVertices
DEF_VAR(Real, PointSize, 0.008, "")
DECLARE_TCLASS(PointClip, TDataType)
DEF_VAR(bool, ShowPlane, false, "")
A PointSet stores the coordinates for a set of independent points.
This is an implementation of AdditiveCCD based on peridyno.