API Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
XRHand.h
Go to the documentation of this file.
1#pragma once
10namespace NDEVR
11{
12 class PointMeasureModel;
13 /**--------------------------------------------------------------------------------------------------
14 \brief Support for a virtual hand, typically mirroring a user hand in the OpenXR space.
15 **/
16 class XRHand : public Model
17 {
18 public:
19 XRHand(uint01 index, const Model& model);
20 void init();
25 PointMeasureModel locationModel();
26 const SnapPoint& snapPoint() { return m_snap_point; }
27 static constexpr const char* TypeName() { return "xr_hand_model"; }
28 protected:
33 };
34}
uint04 index() const
Definition DesignObject.h:337
A core class where all Design Objects including models, materials, and geometries are stored....
Definition DesignObjectLookup.h:65
Definition Matrix.hpp:176
A core class that represents a node on model heirarchy. This node may contain a Geometry or one or mo...
Definition Model.h:58
Responsible for turning a user interaction into a selection within a DesignObjectLookup.
Definition Selector.h:50
Contains information about a particular point of interest created from a user mouse interaction.
Definition SnapPoint.h:44
A fixed-size array with better performance compared to dynamic containers.
Definition Vector.hpp:60
Support for a virtual hand, typically mirroring a user hand in the OpenXR space.
Definition XRHand.h:17
PointMeasureModel locationModel()
void updateHandDistance(fltp08 distance)
Model pointerModel()
void setHandTransform(const Matrix< fltp08 > &mat)
void calculateHandDistance(DesignObjectLookup *lookup)
SnapPoint m_snap_point
Definition XRHand.h:31
Vector< 2, Vector< 2, fltp08 > > m_joystick_location
Definition XRHand.h:29
SelectionInfo m_selection
Definition XRHand.h:30
XRHand(uint01 index, const Model &model)
uint01 m_index
Definition XRHand.h:32
static constexpr const char * TypeName()
Definition XRHand.h:27
const SnapPoint & snapPoint()
Definition XRHand.h:26
Definition ACIColor.h:37
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:80
constexpr t_type distance(const t_vertex &vertex, const LineSegment< t_dims, t_type, t_vertex > &line)
Definition Distance.hpp:171
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:149