AGXDynamics
2.31.1.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Deformable1DSegment.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2021. Algoryx Simulation AB.
3
4
All AGX source code, intellectual property, documentation, sample code,
5
tutorials, scene files and technical white papers, are copyrighted, proprietary
6
and confidential material of Algoryx Simulation AB. You may not download, read,
7
store, distribute, publish, copy or otherwise disseminate, use or expose this
8
material unless having a written signed agreement with Algoryx Simulation AB, or having been
9
advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10
valid commercial license from Algoryx Simulation AB.
11
12
Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13
from using this software, unless otherwise stated in written agreements with
14
Algoryx Simulation AB.
15
*/
16
17
#ifndef AGXMODEL_DEFORMABLE1DSEGMENT_H
18
#define AGXMODEL_DEFORMABLE1DSEGMENT_H
19
20
#include <
agxModel/export.h
>
21
22
#include <
agx/AffineMatrix4x4.h
>
23
24
namespace
agxModel
25
{
26
AGX_DECLARE_POINTER_TYPES
( Deformable1DNode );
27
42
class
AGXMODEL_EXPORT
Segment
43
{
44
public
:
49
Segment
(
agxModel::Deformable1DNode
* beginNode );
50
54
~
Segment
();
55
59
agx::Bool
isValid()
const
;
60
64
agx::Bool
isEnd()
const
;
65
69
agx::Vec3
getPositionBegin()
const
;
70
74
agx::Vec3
getPositionEnd()
const
;
75
79
agx::AffineMatrix4x4
getTransformBegin()
const
;
80
84
agx::AffineMatrix4x4
getTransformEnd()
const
;
85
89
agx::Quat
getRotation()
const
;
90
91
protected
:
92
Segment
();
93
94
protected
:
95
agxModel::Deformable1DNodeObserver
m_node
;
96
};
97
}
98
99
#endif // AGXMODEL_DEFORMABLE1DSEGMENT_H
AffineMatrix4x4.h
agx::Bool
bool Bool
Definition:
Integer.h:48
agx::observer_ptr< Deformable1DNode >
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition:
Referenced.h:248
agx::QuatT< Real >
agxModel::Segment::m_node
agxModel::Deformable1DNodeObserver m_node
Definition:
Deformable1DSegment.h:95
agx::AffineMatrix4x4T< Real >
agxModel::Segment
A Deformable1D segment is the segment between two nodes, or if this is the last segment, only one node but still has a start- and an end position defined.
Definition:
Deformable1DSegment.h:42
export.h
agx::Vec3T< Real >
AGXMODEL_EXPORT
#define AGXMODEL_EXPORT
Definition:
agxModel/export.h:42
agxModel::Deformable1DNode
Special node implementation of segments in e.g., a Deformable1D object.
Definition:
Deformable1DNode.h:36
include
agxModel
Deformable1DSegment.h
Generated on Mon Mar 21 2022 11:52:59 for AGXDynamics by
1.8.5