Skip to content
Snippets Groups Projects
Select Git revision
  • 4fdde49a76d5dfdab97cfd3b98b9ed1c33a987a0
  • main default protected
  • nour2
  • aleks4
  • geno2
  • petri-net-output
  • nour
  • deep-rl-1
  • geno3
  • paula
  • aleks2
  • aleks3
  • Nour
  • geno
  • aleks
15 results

petrinet.cpython-311.pyc

Blame
  • VirtualRealityUtilities.h 3.72 KiB
    #pragma once
    
    #include "CoreMinimal.h"
    #include "Kismet/BlueprintFunctionLibrary.h"
    #include "UObject/ConstructorHelpers.h"
    
    #include "VirtualRealityUtilities.generated.h"
    
    
    /**
     * Custom log category for all RWTHVRToolkit related components
     */
    DECLARE_LOG_CATEGORY_EXTERN(Toolkit, Log, All);
    
    UENUM(BlueprintType)
    enum class ENamedClusterComponent : uint8
    {
    	/* CAVE Specific */
    	NCC_CAVE_ORIGIN UMETA(DisplayName = "CAVE Origin"),
    	NCC_CAVE_CENTER UMETA(DisplayName = "CAVE Center"),
    	NCC_CAVE_LHT UMETA(DisplayName = "CAVE Left Hand Target"),
    	NCC_CAVE_RHT UMETA(DisplayName = "CAVE Right Hand Target"),
    
    	/* ROLV Specific */
    	NCC_ROLV_ORIGIN UMETA(DisplayName = "ROLV Origin"),
    
    	/* TDW Specific */
    	NCC_TDW_ORIGIN UMETA(DisplayName = "TDW Origin"),
    	NCC_TDW_CENTER UMETA(DisplayName = "TDW Center"),
    
    	/* Non Specific */
    	NCC_CALIBRATIO UMETA(DisplayName = "Calibratio Motion to Photon Measurement Device"),
    	NCC_SHUTTERGLASSES UMETA(DisplayName = "CAVE/ROLV/TDW Shutter Glasses"),
    	NCC_FLYSTICK UMETA(DisplayName = "CAVE/ROLV/TDW Flystick"),
    	NCC_TRACKING_ORIGIN UMETA(DisplayName = "CAVE/ROLV/TDW Origin")
    };
    
    UENUM()
    enum class EEyeStereoOffset
    {
    	None,
    	Left,
    	Right
    };
    
    UCLASS()
    class RWTHVRTOOLKIT_API UVirtualRealityUtilities : public UBlueprintFunctionLibrary
    {
    	GENERATED_BODY()
    
    public:
    	UFUNCTION(BlueprintPure, Category = "DisplayCluster|Platform")
    	static bool IsDesktopMode();
    	UFUNCTION(BlueprintPure, Category = "DisplayCluster|Platform")
    	static bool IsRoomMountedMode();
    	UFUNCTION(BlueprintPure, Category = "DisplayCluster|Platform")
    	static bool IsHeadMountedMode();
    	UFUNCTION(BlueprintPure, Category = "DisplayCluster|Platform")
    	static bool IsCave();
    	UFUNCTION(BlueprintPure, Category = "DisplayCluster|Platform")
    	static bool IsTdw();
    	UFUNCTION(BlueprintPure, Category = "DisplayCluster|Platform")
    	static bool IsRolv();
    
    	UFUNCTION(BlueprintPure, Category = "DisplayCluster")
    	static bool IsPrimaryNode();
    	UFUNCTION(BlueprintPure, Category = "DisplayCluster")
    	static bool IsSecondaryNode();
    
    	UFUNCTION(BlueprintPure, Category = "DisplayCluster")