public interface ILcdDGNModelDecoder extends ILcdModelDecoder
DGN
file format.
File | Required | Entry point | Description |
---|---|---|---|
*.dgn | x | x | Design file containing vector data |
modelReferenceDecoder
or as the
defaultModelReference
of this decoder. By default, the model
reference decoder and the default model reference are unset
(i.e. null
).
ILcd2DBoundsIndexedModel
.TLcdDGNModelDescriptor
. Among other information, the descriptor
contains the DGN symbology.ILcdDGNShape
.Serializable
and can be serialized.Modifier and Type | Method and Description |
---|---|
void |
addAttributeEntity(int aEntity)
Adds an attribute entity number to the set of numbers that is decoded.
|
void |
addElementClass(int aElementClass)
Adds an element class to the list of element classes that is included into
decoded models.
|
void |
addLevel(int aLevel)
Adds a level to the list of DGN levels that is included into all decoded models.
|
void |
addLevelName(String aLevelName)
Adds a name of a DGN level to the list of names of DGN levels that are to
be included into all decoded models, in addition to the numeric level
selection.
|
void |
addTagSet(String aTagSetName)
Adds a tag set name to the set of names that is decoded.
|
void |
addUserAttributeType(int aType)
Adds a DGN MSLINK attribute type to the set of types that is decoded.
|
void |
addUserAttributeType(String aType)
Adds a DGN MSLINK attribute type to the set of types that is decoded.
|
void |
clearAttributeEntitySelection()
Clears the set of DGN database attributes that is decoded.
|
void |
clearLevelNameSelection()
Clears the list of names of DGN levels that are to be included into all
decoded models.
|
void |
clearLevelSelection()
Clears the list of DGN levels that is included into decoded models.
|
void |
clearTagSetSelection()
Clears the set of DGN tag sets that is decoded.
|
void |
clearUserAttributeTypeSelection()
Clears the set of DGN MSLINK attributes that is decoded.
|
String |
getDatabaseURL() |
ILcdModelReference |
getDefaultModelReference() |
int |
getElementClassSelection()
Gets the the bitmask specifying list of element classes that is included
into decoded models.
|
ILcdModelReferenceDecoder |
getModelReferenceDecoder() |
boolean |
isUseFloat() |
void |
resetAttributeEntitySelection()
Resets the set of DGN database attributes that is decoded.
|
void |
resetElementClassSelection()
Resets the list of DGN element classes that is included into decoded models;
As a result, all DGN element classes will be included in the models when
decoding DGN files.
|
void |
resetLevelSelection()
Resets the list of DGN levels that is included into decoded models.
|
void |
resetTagSetSelection()
Resets the set of DGN tag sets that is decoded.
|
void |
resetUserAttributeTypeSelection()
Resets the set of DGN MSLINK attributes that is decoded.
|
void |
setAttributeEntitySelection(int[] aEntities)
Sets the set of DGN database attributes that is decoded.
|
void |
setDatabaseURL(String aDatabaseURL)
Sets the default database URL that is assigned to all decoded attributes.
|
void |
setDefaultModelReference(ILcdModelReference aDefaultModelReference)
Sets the default model reference for decoded models, in case the model
reference decoder doesn't provide one.
|
void |
setElementClassSelection(int aElementClasses)
Sets the list of element classes that is included into decoded models.
|
void |
setElementClassSelection(int[] aElementClasses)
Sets the list of element classes that is included into decoded models.
|
void |
setLevelNameSelection(String[] aLevelNames)
Sets the list of names of DGN levels that are to be included into all
decoded models, in addition to the numeric level selection.
|
void |
setLevelSelection(int[] aLevels)
Sets the list of DGN levels that is included into all decoded models.
|
void |
setModelReferenceDecoder(ILcdModelReferenceDecoder aModelReferenceDecoder)
Sets the model reference decoder that will be used for creating model
references for decoded models.
|
void |
setTagSetSelection(String[] aTagSetNames)
Sets the set of DGN tag attributes that is decoded.
|
void |
setUseFloat(boolean aUseFloat)
Specifies whether to use memory-conserving floating point data structures
for the decoded models.
|
void |
setUserAttributeTypeSelection(int[] aTypes)
Sets the set of DGN MSLINK attributes that is decoded.
|
void |
setUserAttributeTypeSelection(String[] aTypes)
Sets the set of DGN MSLINK attributes that is decoded.
|
canDecodeSource, canDecodeSource, decode, decodeModelMetadata, decodeModelMetadata, decodeSource, discoverDataSources, getDisplayName
void setModelReferenceDecoder(ILcdModelReferenceDecoder aModelReferenceDecoder)
ILcdModelReferenceDecoder getModelReferenceDecoder()
void setDefaultModelReference(ILcdModelReference aDefaultModelReference)
ILcdModelReference getDefaultModelReference()
void setDatabaseURL(String aDatabaseURL)
String getDatabaseURL()
void setUseFloat(boolean aUseFloat)
boolean isUseFloat()
void resetLevelSelection()
void clearLevelSelection()
resetLevelSelection()
,
addLevel(int)
void setLevelSelection(int[] aLevels)
aLevels
- the levels to be included in the decoded models.
They can be listed in any order, and duplicate numbers are allowed.void addLevel(int aLevel)
aLevel
- the level to be included in the decoded models.void clearLevelNameSelection()
clearLevelSelection()
,
addLevelName(String)
void setLevelNameSelection(String[] aLevelNames)
aLevelNames
- the names of levels to be included in the decoded models.
They can be listed in any order, and duplicate names are allowed.void addLevelName(String aLevelName)
aLevelName
- the name of the level to be included in the decoded models.void resetElementClassSelection()
void setElementClassSelection(int aElementClasses)
aElementClasses
- a bitmask, specifying the element classes to be
included in the decoded models. It is a logical OR of 1-bits that are
shifted left by the following constants:
int getElementClassSelection()
void setElementClassSelection(int[] aElementClasses)
aElementClasses
- the element classes to be included in the decoded models.
They can be listed in any order, and duplicate entries are allowed.
The available DGN element classes are
setElementClassSelection(int)
void addElementClass(int aElementClass)
aElementClass
- the element class to be included in the decoded models.
The available DGN element classes are
void resetUserAttributeTypeSelection()
clearUserAttributeTypeSelection()
void clearUserAttributeTypeSelection()
void setUserAttributeTypeSelection(String[] aTypes)
Note that the attribute entities to be decoded have to be specified as
well, using the addAttributeEntity
method.
aTypes
- a list of MSLINK attribute types, specified as numbers in RAD50 format
(strings of length 3, e.g. "ODB"
). Note that
RAD50 is actually radix 40, with the following 40 digits:
<space> A
...Z $ . 0
...9
void setUserAttributeTypeSelection(int[] aTypes)
aTypes
- a list of MSLINK attribute types, specified as integers
(unsigned shorts, e.g. 0x5e62, which corresponds to 'ODB'
in radix 50).ILcdDGNUserAttribute
void addUserAttributeType(String aType)
aType
- an MSLINK attribute type specified as a number in RAD50 format
(a string of length 3, e.g. "ODB"
). Note that
RAD50 is actually radix 40, with the following 40 digits:
<space> A
...Z $ . 0
...9
addUserAttributeType(int)
void addUserAttributeType(int aType)
Note that the attribute entities to be decoded have to be specified as
well, using the addAttributeEntity
method.
aType
- an MSLINK attribute type specified as an integer
(an unsigned short, e.g. 0x5e62, which corresponds to 'ODB'
in radix 50).addUserAttributeType(java.lang.String)
,
ILcdDGNUserAttribute
void resetAttributeEntitySelection()
clearAttributeEntitySelection()
void clearAttributeEntitySelection()
void setAttributeEntitySelection(int[] aEntities)
aEntities
- a list of entity numbers of database attributes (user or non-user).void addAttributeEntity(int aEntity)
Note that, for decoding user attributes, the user attribute types to be
decoded have to be specified as well, using the addUserAttributeType
method.
Also note that the fill color, which is also stored as an element attribute, is an exception: it is always decoded as part of the display info.
aEntity
- an entity number of an database attribute (user or non-user).void resetTagSetSelection()
clearTagSetSelection()
void clearTagSetSelection()
void setTagSetSelection(String[] aTagSetNames)
aTagSetNames
- a list of tag set names.void addTagSet(String aTagSetName)
aTagSetName
- a tag set name.