Unreal SDK  v1.1
Loading...
Searching...
No Matches
WeArtCommon.h File Reference
#include <vector>
#include <string>
Include dependency graph for WeArtCommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  WeArtConstants
 

Enumerations

enum  HandSide { Left = 1 << 0 UMETA(DisplayName = "Left") , Right = 1 << 1 UMETA(DisplayName = "Right") }
 
enum  ActuationPoint { Thumb = 1 << 0 UMETA(DisplayName = "Thumb") , Index = 1 << 1 UMETA(DisplayName = "Index") , Middle = 1 << 2 UMETA(DisplayName = "Middle") , Palm = 1 << 3 UMETA(DisplayName = "Palm") }
 
enum class  TrackingType { DEFAULT , WEART_HAND }
 
enum  HandClosingState { Open = 0 , Closing = 1 , Closed = 2 }
 
enum  GraspingState { Grabbed = 0 , Released = 1 }
 
enum class  TextureType : uint8 {
  ClickNormal = 0 , ClickSoft = 1 , DoubleClick = 2 , AluminiumFineMeshSlow = 3 ,
  AluminiumFineMeshFast = 4 , PlasticMeshSlow = 5 , ProfiledAluminiumMeshMedium = 6 , ProfiledAluminiumMeshFast = 7 ,
  RhombAluminiumMeshMedium = 8 , TextileMeshMedium = 9 , CrushedRock = 10 , VenetianGranite = 11 ,
  SilverOak = 12 , LaminatedWood = 13 , ProfiledRubberSlow = 14 , VelcroHooks = 15 ,
  VelcroLoops = 16 , PlasticFoil2 = 17 , Leather = 18 , Cotton1 = 19 ,
  Aluminium = 20 , DoubleSidedTape = 21
}
 

Functions

 ENUM_RANGE_BY_VALUES (HandSide, HandSide::Left, HandSide::Right)
 
 ENUM_RANGE_BY_VALUES (ActuationPoint, ActuationPoint::Thumb, ActuationPoint::Index, ActuationPoint::Middle, ActuationPoint::Palm)
 

Variables

const std::string WeArtConstants::WEART_SDK_TYPE = "SdkUnreal"
 
const std::string WeArtConstants::WEART_SDK_VERSION = "1.1.0"
 
const std::string WeArtConstants::WEART_SDK_TRACK_TYPE = "TrackType1"
 
const float WeArtConstants::defaultTemperature = 0.5f
 
const float WeArtConstants::minTemperature = 0.0f
 
const float WeArtConstants::maxTemperature = 1.0f
 
const float WeArtConstants::defaultForce = 0.0f
 
const float WeArtConstants::minForce = 0.0f
 
const float WeArtConstants::maxForce = 1.0f
 
const float WeArtConstants::defaultClosure = 0.0f
 
const float WeArtConstants::minClosure = 0.0f
 
const float WeArtConstants::maxClosure = 1.0f
 
const float WeArtConstants::staticTextureVelocity = 0.5f
 
const int WeArtConstants::defaultTextureIndex = 0
 
const int WeArtConstants::minTextureIndex = 0
 
const int WeArtConstants::maxTextureIndex = 254
 
const int WeArtConstants::nullTextureIndex = 255
 
const float WeArtConstants::defaultTextureVelocity [3] = { 0.5f, 0.0f, 0.0f }
 
const float WeArtConstants::minTextureVelocity [3] = { 0.0f, 0.0f, 0.0f }
 
const float WeArtConstants::maxTextureVelocity [3] = { 1.0f, 1.0f, 1.0f }
 
const float WeArtConstants::defaultCollisionMultiplier = 20.0f
 
const float WeArtConstants::minCollisionMultiplier = 0.0f
 
const float WeArtConstants::maxCollisionMultiplier = 100.0f
 
const float WeArtConstants::defaultVolumeTexture = 100.0f
 
const float WeArtConstants::minVolumeTexture = 0.0f
 
const float WeArtConstants::maxVolumeTexture = 100.0f
 
const float WeArtConstants::thresholdThumbClosure = 0.5f
 
const float WeArtConstants::thresholdIndexClosure = 0.5f
 
const float WeArtConstants::thresholdMiddleClosure = 0.5f
 
const float WeArtConstants::defaultGraspForce = 0.3f
 
const float WeArtConstants::dynamicForceSensibility = 10.0f
 

Enumeration Type Documentation

◆ ActuationPoint

Enumerator
Thumb 
Index 
Middle 
Palm 

◆ GraspingState

Enumerator
Grabbed 
Released 

◆ HandClosingState

Enumerator
Open 
Closing 
Closed 

◆ HandSide

enum HandSide
Enumerator
Left 
Right 

◆ TextureType

enum class TextureType : uint8
strong
Enumerator
ClickNormal 
ClickSoft 
DoubleClick 
AluminiumFineMeshSlow 
AluminiumFineMeshFast 
PlasticMeshSlow 
ProfiledAluminiumMeshMedium 
ProfiledAluminiumMeshFast 
RhombAluminiumMeshMedium 
TextileMeshMedium 
CrushedRock 
VenetianGranite 
SilverOak 
LaminatedWood 
ProfiledRubberSlow 
VelcroHooks 
VelcroLoops 
PlasticFoil2 
Leather 
Cotton1 
Aluminium 
DoubleSidedTape 

◆ TrackingType

enum class TrackingType
strong
Enumerator
DEFAULT 

Deprecated, contains only closure values.

WEART_HAND 

Tracking with closures, and abduction value for thumb.

Function Documentation

◆ ENUM_RANGE_BY_VALUES() [1/2]

◆ ENUM_RANGE_BY_VALUES() [2/2]

ENUM_RANGE_BY_VALUES ( HandSide  ,
HandSide::Left  ,
HandSide::Right   
)