#include <Curve.h>
Definition at line 34 of file Curve.h.
◆ Line
| Enumerator |
|---|
| LINE_SOLID | |
| LINE_DASHED | |
| LINE_NONE | |
Definition at line 37 of file Curve.h.
◆ Symbol
| Enumerator |
|---|
| SYMBOL_CROSS | |
| SYMBOL_CIRCLE | |
| SYMBOl_DOT | |
| SYMBOl_NONE | |
Definition at line 43 of file Curve.h.
◆ Curve()
◆ allocateObserverVector()
| void agx::Referenced::allocateObserverVector |
( |
| ) |
const |
|
protectedinherited |
◆ as() [1/2]
template<typename T >
| T* agx::Referenced::as |
( |
| ) |
|
|
inherited |
◆ as() [2/2]
template<typename T >
| const T* agx::Referenced::as |
( |
| ) |
const |
|
inherited |
◆ asSafe() [1/2]
template<typename T >
| T* agx::Referenced::asSafe |
( |
| ) |
|
|
inherited |
◆ asSafe() [2/2]
template<typename T >
| const T* agx::Referenced::asSafe |
( |
| ) |
const |
|
inherited |
◆ deleteUsingDeleteHandler()
| void agx::Referenced::deleteUsingDeleteHandler |
( |
| ) |
const |
|
protectedinherited |
◆ getAllValues()
Get all currently generated values from the two DataSeries.
- Returns
- a list of all plot points in the curve
◆ getColor()
| const agx::Vec4& agxPlot::Curve::getColor |
( |
| ) |
const |
◆ getCurveID()
| CurveID agxPlot::Curve::getCurveID |
( |
| ) |
const |
A generated ID for the curve.
No two curves should have the same ID.
◆ getDataSeriesX()
◆ getDataSeriesY()
◆ getDeleteHandler()
◆ getDescription()
| void agxPlot::Curve::getDescription |
( |
agxJson::Value & |
root | ) |
const |
Retrieves the description of the curve.
["name"] = the name of the curve ["id"] = the unique id of the curve ["color_r"] = the red value of the line color ["color_g"] = the green value of the line color ["color_b"] = the blue value of the line color ["color_a"] = the alpha value of the line color ["lineType"] = an int describing the type of line ["lineWidth"] = the width of the line in pixels ["symbol"] = an int describing the type of symbol ["xAxis"] = the description of the X axis ["yAxis"] = the description of the Y axis
◆ getLineType()
| Line agxPlot::Curve::getLineType |
( |
| ) |
const |
◆ getLineWidth()
| agx::Real agxPlot::Curve::getLineWidth |
( |
| ) |
const |
◆ getName()
◆ getNewValues()
Get all values from the DataSeries that have been generated since the last update call.
- Returns
- a list of all new plot points in the curve
◆ getOldValues()
Get all values from the DataSeries that have been generated before the last update call.
- Returns
- a list of all old plot points in the curve
◆ getReferenceCount()
| int agx::Referenced::getReferenceCount |
( |
| ) |
const |
|
inherited |
- Returns
- the number pointers currently referencing this object.
◆ getSymbol()
| Symbol agxPlot::Curve::getSymbol |
( |
| ) |
const |
◆ is()
template<typename T >
| bool agx::Referenced::is |
( |
| ) |
const |
|
inherited |
◆ reference()
| void agx::Referenced::reference |
( |
void * |
ptr = nullptr | ) |
const |
|
inherited |
Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
This method should be used with care, always balanced with the same number of calls to unreference.
◆ setColor()
◆ setDeleteHandler()
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
◆ setFromDescription()
| void agxPlot::Curve::setFromDescription |
( |
const agxJson::Value & |
root, |
|
|
System * |
system |
|
) |
| |
Sets the curve to match that of a description of the format from getDescription.
◆ setLineType()
| void agxPlot::Curve::setLineType |
( |
Line |
line | ) |
|
◆ setLineWidth()
The width of the line in pixels.
◆ setName()
The name/legend of the curve.
◆ setSymbol()
◆ unreference()
| void agx::Referenced::unreference |
( |
void * |
ptr = nullptr | ) |
const |
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.
This method should be used with care, always balanced with the same number of calls to reference.
Referenced by agxData::EntityRef< ContactMaterialPtr >::~EntityRef().
◆ unreference_nodelete()
| void agx::Referenced::unreference_nodelete |
( |
| ) |
const |
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be responsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.
◆ ValidateCast()
template<typename T >
| static bool agx::Referenced::ValidateCast |
( |
const Referenced * |
object | ) |
|
|
staticinherited |
◆ m_mutex
| Mutex agx::Referenced::m_mutex |
|
mutableprotectedinherited |
◆ m_observers
|
|
mutableprotectedinherited |
◆ m_refCount
| AtomicValue agx::Referenced::m_refCount |
|
mutableprotectedinherited |
◆ representationChanged
The documentation for this class was generated from the following file: