3#include "Topology/TriangleSet.h"
12 template<
typename TDataType>
17 typedef typename TDataType::Real
Real;
18 typedef typename TDataType::Coord
Coord;
30 DEF_ENUM(PickingTypeSelection, PickingType, PickingTypeSelection::Both,
"");
38 DEF_ENUM(MultiSelectionType, MultiSelectionType, MultiSelectionType::OR,
"");
40 DEF_VAR(
Real, InteractionRadius, 0.002f,
"The radius of interaction");
43 DEF_VAR(
bool, ToggleIndexOutput,
true,
"The toggle of index output");
#define DECLARE_TCLASS(name, T1)
void changeMultiSelectionType()
~PointPickerNode() override
DEF_ARRAY_STATE(int, PointIndex, DeviceType::GPU, "")
std::shared_ptr< PointInteraction< TDataType > > pointInteractor
DECLARE_ENUM(MultiSelectionType, OR=0, XOR=1, C=2)
void resetStates() override
DECLARE_ENUM(PickingTypeSelection, Click=0, Drag=1, Both=2)
DEF_VAR(Real, PointOtherSize, 0.01f, "")
DEF_INSTANCE_IN(PointSet< TDataType >, Topology, "")
DEF_ENUM(PickingTypeSelection, PickingType, PickingTypeSelection::Both, "")
DEF_ENUM(MultiSelectionType, MultiSelectionType, MultiSelectionType::OR, "")
DEF_VAR(Real, InteractionRadius, 0.002f, "The radius of interaction")
DEF_VAR(Real, PointSelectedSize, 0.012f, "")
DEF_VAR(bool, ToggleIndexOutput, true, "The toggle of index output")
std::string getNodeType()
A PointSet stores the coordinates for a set of independent points.
This is an implementation of AdditiveCCD based on peridyno.