PeriDyno 1.0.0
Loading...
Searching...
No Matches
VolumeBoolean.h
Go to the documentation of this file.
1
16#pragma once
17#include "Volume.h"
18#include "Module/VolumeMacros.h"
19
20namespace dyno {
21 template<typename TDataType>
22 class VolumeBoolean : public Volume<TDataType>
23 {
25 public:
26 typedef typename TDataType::Real Real;
27 typedef typename TDataType::Coord Coord;
28
30 ~VolumeBoolean() override;
31
32 std::string getNodeType() override;
33
34 DEF_VAR(Real, Spacing, 0.01, "");
35 DEF_VAR(uint, Padding, 5, "");
36
37 DEF_ENUM(BoolType, BoolType, BoolType::Union, "Volume Bool Type");
38
39 public:
42
44
45 protected:
46 void resetStates() override;
47 };
48}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
TDataType::Coord Coord
DEF_INSTANCE_IN(LevelSet< TDataType >, B, "")
DEF_INSTANCE_OUT(LevelSet< TDataType >, LevelSet, "")
DEF_VAR(uint, Padding, 5, "")
DEF_INSTANCE_IN(LevelSet< TDataType >, A, "")
TDataType::Real Real
void resetStates() override
DEF_ENUM(BoolType, BoolType, BoolType::Union, "Volume Bool Type")
std::string getNodeType() override
DEF_VAR(Real, Spacing, 0.01, "")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
unsigned int uint
Definition VkProgram.h:14