AGX Dynamics  2.35.0.1
RouteInitializationReport.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 #pragma once
18 
19 #include <agx/Real.h>
20 #include <agx/Integer.h>
21 
22 #include <agxCable/export.h>
23 #include <agxCable/CableSegment.h>
24 #include <agxCable/Node.h>
25 
26 namespace agxCable
27 {
29  {
30  public:
39 
43  RouteInitializationReport(agx::Real targetError, agx::Real actualError, agx::Real resolution, size_t numNodes);
44 
49 
54 
59 
63  size_t getNumSegments() const;
64 
69 
76 
77 
78  public:
81 
82  private:
83  agx::Real m_targetError;
84  agx::Real m_actualError;
85  agx::Real m_resolution;
86  size_t m_numSegments;
87  };
88 }
#define AGXCABLE_EXPORT
RouteInitializationReport(agx::Real targetError, agx::Real actualError, agx::Real resolution, size_t numNodes)
Create a report with the given contents.
void restore(agxStream::InputArchive &in)
RouteInitializationReport()
Create a report with values indication that no initialization has happened yet, or that the initializ...
void store(agxStream::OutputArchive &out) const
Class for reading a binary stream of serialized data.
Definition: InputArchive.h:52
Class for writing serialized data in binary format to a stream.
Definition: OutputArchive.h:57
Contain classes for 6 DOF lumped element cables/wires/ropes.
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
Definition: InputArchive.h:400
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive.
bool Bool
Definition: Integer.h:48
double Real
Definition: Real.h:42