![]() |
VR-Forces Development_Version Class Documentation
|
This is the VPF Specification Factory class. More...
Public Member Functions | |
| DtVpfSpecFactory (DtVpfDatabase *Db) | |
| Constructor Takes a vpfDatabase pointer as a parameter to identify the theme of interest while creating a specification. | |
| virtual | ~DtVpfSpecFactory () |
| Destructor. | |
| virtual bool | init () |
| Initializes the the factory by loading the proper files. | |
| virtual bool | createNewSpecification (DtSpecification &spec, DtSpecificationID &specID, const DtVpfRow &row) |
| creates a new specification based on the input feature | |
| virtual DtVpfDatabase * | database () const |
| returns the database that is using this specification factory | |
| virtual void | findBounds (DtSpecification &spec, const std::vector< DtVpf3Coord * > *coords) |
| find the bounds of an areal feature. | |
Protected Member Functions | |
| virtual DtColor | findColor (DtString sedrisCode) |
| finds the color from the SEDRIS code. | |
| 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) | |
| Copy constructor is private to prevent copying. | |
| DtVpfSpecFactory & | operator= (const DtVpfSpecFactory &input) |
| Assignment operator is private to prevent copying. | |
This is the VPF Specification Factory class.
It creates MaK specifications based on the input data row
|
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 |