20#include "Topology/TriangleSet.h"
22#include "Collision/NeighborPointQuery.h"
41 template<
typename TDataType>
47 typedef typename TDataType::Real
Real;
48 typedef typename TDataType::Coord
Coord;
49 typedef typename TDataType::Matrix
Matrix;
59 DEF_VAR(
bool, GeneratingDirection,
true,
"");
#define IMPLEMENT_TCLASS(name, T1)
DEF_VAR(Real, Thickness, Real(0.2), "")
DArray< int > mThinPointSize
DArray< int > mPointOfTriangleId
DEF_VAR_OUT(bool, PointGrowthDirection, "")
DArray< Coord > msquare_1
DEF_VAR_OUT(Real, SamplingDistance, "")
DArray< int > mThickPointSize
DArray< Coord > mTriangleNormal
DArray< Coord > mBasicVector_y
DArray< Coord > msquare_2
DArray< Coord > mThinPoints
DArray< Coord > msquare_3
DArray< Coord > mThickPoints
DArray< Triangle > mTriangleTempt
DArray< Coord > mBasicVector_z
DEF_VAR(bool, GeneratingDirection, true, "")
TopologyModule::Triangle Triangle
std::shared_ptr< NeighborPointQuery< TDataType > > m_NeighborPointQuery
DEF_ARRAY_STATE(Coord, Position, DeviceType::GPU, "")
DArray< int > mSeedOfTriangleId
DArray< Coord > mBasicVector_x
DArray< Coord > mVerticesTempt
void resetStates() override
DEF_ARRAY_STATE(Coord, PointNormal, DeviceType::GPU, "Normal Vector of the point set")
DEF_VAR(Real, SamplingDistance, Real(0.05), "")
DEF_INSTANCE_STATE(TriangleSet< TDataType >, Plane, "")
DArray< bool > mRemovingFlag
DArray< Coord > msquare_4
~PointsBehindMesh() override
DEF_INSTANCE_IN(TriangleSet< TDataType >, TriangleSet, "")
DECLARE_TCLASS(PointsBehindMesh, TDataType)
DEF_ARRAY_STATE(int, PointBelongTriangleIndex, DeviceType::GPU, "")
Vector< PointType, 3 > Triangle
This is an implementation of AdditiveCCD based on peridyno.
Array< T, DeviceType::GPU > DArray