PeriDyno 1.2.1
Loading...
Searching...
No Matches
TriangleSets.h
Go to the documentation of this file.
1
16
17#pragma once
18#include "TriangleSet.h"
19
20namespace dyno
21{
22 template<typename TDataType>
23 class TriangleSets : public TriangleSet<TDataType>
24 {
25 public:
26 typedef typename TDataType::Real Real;
27 typedef typename TDataType::Coord Coord;
29
31 ~TriangleSets() override;
32
33 const uint shapeSize() { return mShapeSize; }
34
35 uint setShapeSize(uint size) { mShapeSize = size; return mShapeSize; }
36
38
39 void load(std::vector<std::shared_ptr<TriangleSet<TDataType>>>& tsArray);
40
41 private:
43
45 };
46}
47
Vector< PointType, 3 > Triangle
TDataType::Real Real
TDataType::Coord Coord
void load(std::vector< std::shared_ptr< TriangleSet< TDataType > > > &tsArray)
~TriangleSets() override
TopologyModule::Triangle Triangle
uint setShapeSize(uint size)
DArray< uint > & shapeIds()
const uint shapeSize()
DArray< uint > mShapeIds
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
Array< T, DeviceType::GPU > DArray
Definition Array.inl:89
unsigned int uint
Definition VkProgram.h:14