![]() |
VR-Forces 5.0.1 Developer's Guide
|
This is the VPF Specification Factory class. It creates MaK specifications based on the input data row.
Public Member Functions | |
| DtVpfSpecFactory (DtVpfDatabase *Db) | |
| virtual | ~DtVpfSpecFactory () |
| virtual bool | init () |
| virtual bool | createNewSpecification (DtSpecification &spec, DtSpecificationID &specID, const DtVpfRow &row) |
| virtual DtVpfDatabase * | database () const |
| virtual void | findBounds (DtSpecification &spec, const std::vector< DtVpf3Coord * > *coords) |
Protected Member Functions | |
| virtual DtColor | findColor (DtString sedrisCode) |
| virtual std::vector< DtString > | tokenize (const std::string &str, const std::string &delim) |
| virtual bool | initColorMap () |
| virtual bool | initSpecMap () |
| virtual void | insert (DtSpecification &spec, DtVpfEnumeration &e) |
| virtual DtSpecification * | findSpec (const DtVpfEnumeration &e) |
| virtual DtVpfEnumeration | buildEnum (const DtVpfRow &row) |
Protected Attributes | |
| DtColorMap | myColorMap |
| DtVpfDatabase * | myDatabase |
| DtVpfSpecNode * | myRootSpecNode |
Private Member Functions | |
| DtVpfSpecFactory (const DtVpfSpecFactory &input) | |
| DtVpfSpecFactory & | operator= (const DtVpfSpecFactory &input) |
|
private |
Copy constructor is private to prevent copying.
| DtVpfSpecFactory::DtVpfSpecFactory | ( | DtVpfDatabase * | Db | ) |
Constructor Takes a vpfDatabase pointer as a parameter to identify the theme of interest while creating a specification.
|
virtual |
Destructor.
|
private |
Assignment operator is private to prevent copying.
|
virtual |
Initializes the the factory by loading the proper files.
|
virtual |
creates a new specification based on the input feature
|
virtual |
returns the database that is using this specification factory
|
virtual |
find the bounds of an areal feature. Accepts a specification and the coordinates for that feature. It determines the bounds and adds them to the specification.
finds the color from the SEDRIS code. Colors are loaded from the file "sedris_colormap.txt"
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |