PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::SliderJoint< Real > Class Template Reference

#include <DiscreteElements.h>

Inheritance diagram for dyno::SliderJoint< Real >:
Collaboration diagram for dyno::SliderJoint< Real >:

Public Member Functions

DYN_FUNC SliderJoint ()
 
CPU_FUNC SliderJoint (PdActor *a1, PdActor *a2)
 
void setAnchorPoint (Vector< Real, 3 >anchor_point)
 
void setAxis (Vector< Real, 3 > axis)
 
void setMoter (Real v_moter)
 
void setRange (Real d_min, Real d_max)
 
- Public Member Functions inherited from dyno::Joint< Real >
DYN_FUNC Joint ()
 
CPU_FUNC Joint (PdActor *a1, PdActor *a2)
 

Public Attributes

bool useRange = false
 
bool useMoter = false
 
Real d_min
 
Real d_max
 
Real v_moter
 
Vector< Real, 3 > r1
 
Vector< Real, 3 > r2
 
Vector< Real, 3 > sliderAxis
 
Quat1f q_init
 
- Public Attributes inherited from dyno::Joint< Real >
int bodyId1
 
int bodyId2
 
ElementType bodyType1
 
ElementType bodyType2
 
PdActoractor1 = nullptr
 
PdActoractor2 = nullptr
 

Detailed Description

template<typename Real>
class dyno::SliderJoint< Real >

Definition at line 204 of file DiscreteElements.h.

Constructor & Destructor Documentation

◆ SliderJoint() [1/2]

template<typename Real>
DYN_FUNC dyno::SliderJoint< Real >::SliderJoint ( )
inline

Definition at line 207 of file DiscreteElements.h.

◆ SliderJoint() [2/2]

template<typename Real>
CPU_FUNC dyno::SliderJoint< Real >::SliderJoint ( PdActor * a1,
PdActor * a2 )
inline

Definition at line 219 of file DiscreteElements.h.

Member Function Documentation

◆ setAnchorPoint()

template<typename Real>
void dyno::SliderJoint< Real >::setAnchorPoint ( Vector< Real, 3 > anchor_point)
inline

Definition at line 231 of file DiscreteElements.h.

◆ setAxis()

template<typename Real>
void dyno::SliderJoint< Real >::setAxis ( Vector< Real, 3 > axis)
inline

Definition at line 247 of file DiscreteElements.h.

◆ setMoter()

template<typename Real>
void dyno::SliderJoint< Real >::setMoter ( Real v_moter)
inline

Definition at line 253 of file DiscreteElements.h.

◆ setRange()

template<typename Real>
void dyno::SliderJoint< Real >::setRange ( Real d_min,
Real d_max )
inline

Definition at line 259 of file DiscreteElements.h.

Member Data Documentation

◆ d_max

template<typename Real>
Real dyno::SliderJoint< Real >::d_max

Definition at line 272 of file DiscreteElements.h.

◆ d_min

template<typename Real>
Real dyno::SliderJoint< Real >::d_min

Definition at line 271 of file DiscreteElements.h.

◆ q_init

template<typename Real>
Quat1f dyno::SliderJoint< Real >::q_init

Definition at line 280 of file DiscreteElements.h.

◆ r1

template<typename Real>
Vector<Real, 3> dyno::SliderJoint< Real >::r1

Definition at line 275 of file DiscreteElements.h.

◆ r2

template<typename Real>
Vector<Real, 3> dyno::SliderJoint< Real >::r2

Definition at line 276 of file DiscreteElements.h.

◆ sliderAxis

template<typename Real>
Vector<Real, 3> dyno::SliderJoint< Real >::sliderAxis

Definition at line 278 of file DiscreteElements.h.

◆ useMoter

template<typename Real>
bool dyno::SliderJoint< Real >::useMoter = false

Definition at line 269 of file DiscreteElements.h.

◆ useRange

template<typename Real>
bool dyno::SliderJoint< Real >::useRange = false

Definition at line 268 of file DiscreteElements.h.

◆ v_moter

template<typename Real>
Real dyno::SliderJoint< Real >::v_moter

Definition at line 273 of file DiscreteElements.h.


The documentation for this class was generated from the following file: