step/stepcore
StepCore::Graph Class Reference
[Various tools]
#include <tool.h>
List of all members.
Detailed Description
Graph item.
Actual updating and displaying of the Graph should be implemented by application
Definition at line 125 of file tool.h.
Constructor & Destructor Documentation
Member Function Documentation
| bool StepCore::Graph::autoLimitsX |
( |
|
) |
const [inline] |
Get auto-limits for X axis.
Definition at line 174 of file tool.h.
| bool StepCore::Graph::autoLimitsY |
( |
|
) |
const [inline] |
Get auto-limits for Y axis.
Definition at line 179 of file tool.h.
| void StepCore::Graph::clearPoints |
( |
|
) |
[inline] |
Clear points list.
Definition at line 237 of file tool.h.
| Vector2d StepCore::Graph::currentValue |
( |
bool * |
ok |
) |
const |
Get current point value.
- Parameters:
-
| ok | Will indicate success of operation (if not null) |
Definition at line 173 of file tool.cc.
| Vector2d StepCore::Graph::currentValue |
( |
|
) |
const [inline] |
Get current point value.
Definition at line 226 of file tool.h.
| int StepCore::Graph::indexX |
( |
|
) |
const [inline] |
Get vector index for the X axis.
Definition at line 154 of file tool.h.
| int StepCore::Graph::indexY |
( |
|
) |
const [inline] |
Get vector index for the Y axis.
Definition at line 169 of file tool.h.
| bool StepCore::Graph::isValid |
( |
|
) |
const [inline] |
Returns true if X- and Y-axis data source is valid.
Definition at line 223 of file tool.h.
| bool StepCore::Graph::isValidX |
( |
|
) |
const |
Returns true if X-axis data source is valid.
Definition at line 157 of file tool.cc.
| bool StepCore::Graph::isValidY |
( |
|
) |
const |
Returns true if Y-axis data source is valid.
Definition at line 165 of file tool.cc.
| const Vector2d& StepCore::Graph::limitsX |
( |
|
) |
const [inline] |
Get limits for X axis.
Definition at line 184 of file tool.h.
| const Vector2d& StepCore::Graph::limitsY |
( |
|
) |
const [inline] |
Get limits for Y axis.
Definition at line 189 of file tool.h.
| Object* StepCore::Graph::objectX |
( |
|
) |
const [inline] |
Get pointer to the objects for X axis.
Definition at line 144 of file tool.h.
| Object* StepCore::Graph::objectY |
( |
|
) |
const [inline] |
Get pointer to the objects for Y axis.
Definition at line 159 of file tool.h.
| const Vector2dList& StepCore::Graph::points |
( |
|
) |
const [inline] |
Get points list.
Definition at line 204 of file tool.h.
| const Vector2d& StepCore::Graph::position |
( |
|
) |
const [inline] |
Get position of the graph.
Definition at line 134 of file tool.h.
| QString StepCore::Graph::propertyX |
( |
|
) |
const [inline] |
Get name of the property for X axis.
Definition at line 149 of file tool.h.
| const MetaProperty* StepCore::Graph::propertyXPtr |
( |
|
) |
const [inline] |
Get pointer to the property for X axis (or zero if not defined).
Definition at line 209 of file tool.h.
| QString StepCore::Graph::propertyY |
( |
|
) |
const [inline] |
Get name of the property for Y axis.
Definition at line 164 of file tool.h.
| const MetaProperty* StepCore::Graph::propertyYPtr |
( |
|
) |
const [inline] |
Get pointer to the property for Y axis (or zero if not defined).
Definition at line 214 of file tool.h.
| Vector2d StepCore::Graph::recordPoint |
( |
bool * |
ok = 0 |
) |
|
Get current point value and add it to points list.
- Parameters:
-
| ok | Will indicate success of operation (if not null) |
Definition at line 192 of file tool.cc.
| void StepCore::Graph::setAutoLimitsX |
( |
bool |
autoLimitsX |
) |
[inline] |
Set auto-limits for X axis.
Definition at line 176 of file tool.h.
| void StepCore::Graph::setAutoLimitsY |
( |
bool |
autoLimitsY |
) |
[inline] |
Set auto-limits for Y axis.
Definition at line 181 of file tool.h.
| void StepCore::Graph::setIndexX |
( |
int |
indexX |
) |
[inline] |
Set vector index for the X axis.
Definition at line 156 of file tool.h.
| void StepCore::Graph::setIndexY |
( |
int |
indexY |
) |
[inline] |
Set vector index for the Y axis.
Definition at line 171 of file tool.h.
| void StepCore::Graph::setLimitsX |
( |
const Vector2d & |
limitsX |
) |
[inline] |
Set limits for X axis.
Definition at line 186 of file tool.h.
| void StepCore::Graph::setLimitsY |
( |
const Vector2d & |
limitsY |
) |
[inline] |
Set limits for Y axis.
Definition at line 191 of file tool.h.
| void StepCore::Graph::setObjectX |
( |
Object * |
objectX |
) |
[inline] |
Set pointer to the objects for X axis.
Definition at line 146 of file tool.h.
| void StepCore::Graph::setObjectY |
( |
Object * |
objectY |
) |
[inline] |
Set pointer to the objects for Y axis.
Definition at line 161 of file tool.h.
| void StepCore::Graph::setPoints |
( |
const Vector2dList & |
points |
) |
[inline] |
Set points list.
Definition at line 206 of file tool.h.
| void StepCore::Graph::setPosition |
( |
const Vector2d & |
position |
) |
[inline] |
Set position of the graph.
Definition at line 136 of file tool.h.
| void StepCore::Graph::setPropertyX |
( |
const QString & |
propertyX |
) |
[inline] |
Set name of the property for X axis.
Definition at line 151 of file tool.h.
| void StepCore::Graph::setPropertyY |
( |
const QString & |
propertyY |
) |
[inline] |
Set name of the property for Y axis.
Definition at line 166 of file tool.h.
| void StepCore::Graph::setShowLines |
( |
bool |
showLines |
) |
[inline] |
Set show-lines flag.
Definition at line 196 of file tool.h.
| void StepCore::Graph::setShowPoints |
( |
bool |
showPoints |
) |
[inline] |
Set show-points flag.
Definition at line 201 of file tool.h.
| void StepCore::Graph::setSize |
( |
const Vector2d & |
size |
) |
[inline] |
Set size of the graph.
Definition at line 141 of file tool.h.
| bool StepCore::Graph::showLines |
( |
|
) |
const [inline] |
Get show-lines flag.
Definition at line 194 of file tool.h.
| bool StepCore::Graph::showPoints |
( |
|
) |
const [inline] |
Get show-points flag.
Definition at line 199 of file tool.h.
| const Vector2d& StepCore::Graph::size |
( |
|
) |
const [inline] |
Get size of the graph.
Definition at line 139 of file tool.h.
| QString StepCore::Graph::unitsX |
( |
|
) |
const |
Return units of propertyX.
Definition at line 227 of file tool.cc.
| QString StepCore::Graph::unitsY |
( |
|
) |
const |
Return units of propertyY.
Definition at line 235 of file tool.cc.
Member Data Documentation
The documentation for this class was generated from the following files: