#include <SymbolCollection.h>
the ShapeCollection represents a collection of symbols (shapes, polygons, and text) to visualize in Bridges
- Author
- Kalpathi Subramanian
- Date
- 10/9/18, 7/12/19, 12/28/20
◆ SymbolCollection()
bridges::datastructure::SymbolCollection::SymbolCollection |
( |
| ) |
|
|
inline |
◆ addSymbol()
template<typename T >
void bridges::datastructure::SymbolCollection::addSymbol |
( |
T |
s | ) |
|
|
inline |
◆ addSymbolPtr()
void bridges::datastructure::SymbolCollection::addSymbolPtr |
( |
std::shared_ptr< Symbol > |
s | ) |
|
|
inline |
This method adds a symbol to the collection.
- Parameters
-
◆ getDStype()
virtual const string bridges::datastructure::SymbolCollection::getDStype |
( |
| ) |
const |
|
inlinevirtual |
◆ setViewport()
void bridges::datastructure::SymbolCollection::setViewport |
( |
float |
xmin, |
|
|
float |
xmax, |
|
|
float |
ymin, |
|
|
float |
ymax |
|
) |
| |
|
inline |
set the dimensions of the view
If this is not specified, then it will be computed from the symbols in the domain
- Parameters
-
xmin | minimum X coord of view |
xmax | maximum X coord of view |
ymin | minimum Y coord of view |
ymax | maximum Y coord of view |
◆ domainxmax
float bridges::datastructure::SymbolCollection::domainxmax = 100.0 |
|
mutableprotected |
◆ domainxmin
float bridges::datastructure::SymbolCollection::domainxmin = -100.0 |
|
mutableprotected |
◆ domainymax
float bridges::datastructure::SymbolCollection::domainymax = 100.0 |
|
mutableprotected |
◆ domainymin
float bridges::datastructure::SymbolCollection::domainymin = -100.0 |
|
mutableprotected |
The documentation for this class was generated from the following file: