AGX Dynamics  2.35.0.1
Deformable1DSegment.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. 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 
43  {
44  public:
50 
55 
59  agx::Bool isValid() const;
60 
64  agx::Bool isEnd() const;
65 
70 
75 
80 
85 
90 
91  protected:
93 
94  protected:
96  };
97 }
98 
99 #endif // AGXMODEL_DEFORMABLE1DSEGMENT_H
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:248
#define AGXMODEL_EXPORT
Special node implementation of segments in e.g., a Deformable1D object.
A Deformable1D segment is the segment between two nodes, or if this is the last segment,...
agx::AffineMatrix4x4 getTransformEnd() const
agx::Bool isEnd() const
agx::Vec3 getPositionBegin() const
Segment(agxModel::Deformable1DNode *beginNode)
Construct given node at the begin of this segment.
agxModel::Deformable1DNodeObserver m_node
agx::AffineMatrix4x4 getTransformBegin() const
agx::Vec3 getPositionEnd() const
agx::Bool isValid() const
~Segment()
This object may only be hold buy a node.
agx::Quat getRotation() const
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
Definition: FlowUnit.h:37
bool Bool
Definition: Integer.h:48