![]() |
Bridges-C++
3.2.0
Bridges(C++API)
|
#include <SymbolCollection.h>
the ShapeCollection represents a collection of symbols (shapes, polygons, and text) to visualize in Bridges
Public Member Functions | |
| void | setViewport (float xmin, float xmax, float ymin, float ymax) |
| set the dimensions of the view More... | |
| SymbolCollection () | |
| virtual const string | getDStype () const |
| This method gets the data structure type. More... | |
| void | addSymbol (Symbol *s) |
| This method adds a symbol to the collection. More... | |
Public Member Functions inherited from bridges::datastructure::DataStructure | |
| virtual | ~DataStructure ()=default |
Protected Attributes | |
| float | domainxmin = 0.0 |
| float | domainxmax = 100.0 |
| float | domainymin = 0.0 |
| float | domainymax = 100.0 |
| bool | autoscaledomain = false |
|
inline |
Constructor
|
inline |
This method adds a symbol to the collection.
| s | symbol being added |
|
inlinevirtual |
This method gets the data structure type.
Implements bridges::datastructure::DataStructure.
|
inline |
set the dimensions of the view
If this is not specified, then it will be computed from the symbols in the domain
| xmin | minimum X coord of view |
| xmax | maximum X coord of view |
| ymin | minimum Y coord of view |
| ymax | maximum Y coord of view |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
1.8.13