AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
DataPacket.h
Go to the documentation of this file.
1/*
2Copyright 2007-2024. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16#pragma once
17
18#include <agxPlot/Packet.h>
19#include <agxPlot/Curve.h>
20
21namespace agxPlot
22{
29
31
35 class DataSeriesPacket : public Packet
36 {
37 public:
39
40 void addData(agx::Real point);
41
43
44 protected:
46
47 private:
48 agx::RealVector m_dataPoints;
49 };
51
55 class DataPacket : public Packet
56 {
57 public:
59
60 void addCurveData(CurveID curveId, CurvePoint point);
61 void addCurveData(CurveID curveId, CurvePointVector points);
62
64
65 protected:
66 virtual ~DataPacket();
67
68 private:
69 DataPointVector m_dataPoints;
70 };
72}
#define AGX_DECLARE_POINTER_TYPES(type)
Definition Referenced.h:254
Package of points for a specified curve.
Definition DataPacket.h:56
void addCurveData(CurveID curveId, CurvePoint point)
const DataPointVector & getDataPoints() const
void addCurveData(CurveID curveId, CurvePointVector points)
Package with a series of real values.
Definition DataPacket.h:36
void addData(agx::Real point)
const agx::RealVector & getDataPoints() const
Templated vector class.
Definition agx/Vector.h:53
Namespace contains functionality related to plotting.
agx::Vector< DataPoint > DataPointVector
Definition DataPacket.h:30
agx::UInt CurveID
Definition Curve.h:29
double Real
Definition Real.h:42
Definition of a data point.
Definition DataPacket.h:25
CurvePoint point
Definition DataPacket.h:27