Copyright © 2015 Open Geospatial Consortium 38
style and class see CSS styling for details
The following CSS properties are available for Text:
font‐color defines the font color of the Text, in RGB or RGBA; defaults to black
background‐color defines the color of the background, in RGB or RGBA; defaults to transparent
Requirement
http:www.opengis.netspecarml2.0reqcoreTextfont‐color_default If the font‐color CSS property of Text is not set, it defaults to 000000 black.
Requirement
http:www.opengis.netspecarml2.0reqcoreTextbackground‐color_default If the background‐color CSS property of Text is not set, it defaults to 00000000 transparent.
6.5.1.1.4 class Image
Inherits From VisualAsset2D. Image allows an image to be rendered. Developers are encouraged to use Image instead of Label
when only an image should be displayed, as Image does not need viewport settings to be correctly set. The size of the image is dependent on the width and height settings of the Image and will be
automatically calculated.
Properties: Name Description
Type Multiplicity
href A URI to an image string 1 href
A URI to the image that will be displayed on the screen. The format of the image is not restricted. If an implementation cannot render the image format of a particular image, it must ignore the entire
image.
Requirement
http:www.opengis.netspecarml2.0reqcoreImageformats In case an implementation cannot support the type of a particular image, it shall ignore the entire
image.
6.5.1.2 class Model
Inherits From VisualAsset.
Copyright © 2015 Open Geospatial Consortium 39
A Model is a Visual Asset representing a 3D Model. The format of the model is not restricted. If an implementation cannot parse the format of a particular Model, it must ignore the entire Model.
Implementations are encouraged to make sure that COLLADA Common Profile is fully supported as a minimum, however this is not a requirement. Implementations are also allowed to support additional
file formats, however, these will not be standardized.
Requirement
http:www.opengis.netspecarml2.0reqcoreModelformats In case an implementation cannot support the type of a particular Model, it shall ignore the entire
Model. Properties:
Name Description
Type Multiplicity
href A URI to a model file string 1
type The type of the Model, either normal or infrastructure string 0 or 1 Scale Setting the scale of the Model
Scale 0 or 1 href
The Model file itself is specified using a URI containing the source of the Model.
type defines the role of the model in the augmented scene. Type can take on two different values, normal
default and infrastructure. Models with type normal are rendered in the composed scene. Infrastructure models are declared in
the scene and used for occlusion detection, but are not visible in the scene for example, a real world building might be modeled as an infrastructure model, so its not rendered on the screen, but it is
used to virtually occlude other VisualAssets behind the real world building.
Requirement
http:www.opengis.netspecarml2.0reqcoreModeltype Models of type normal are visible in the scene. Models of type infrastructure are not rendered in the
scene and are solely used for occlusion detection.
Requirement
http:www.opengis.netspecarml2.0reqcoreModeltype_default If the type property of a Model is not set, it defaults to normal.
Scale allows scaling of the Model; see class Scale for details.
6.5.1.2.1 class Scale
Scale allows scaling of the Model along the x‐, y‐ and z‐axis. The values default to 1 if not specified. As with orientations, applying scales does not affect the axes of the Model itself, only the object is
scaled.
Copyright © 2015 Open Geospatial Consortium 40
Requirement
http:www.opengis.netspecarml2.0reqcoreScaledefaults If not set, the x, y and z values default to 1.
Requirement
http:www.opengis.netspecarml2.0reqcoreScaleaxis Applying scales does not affect the axis and their dimensions, only the object itself is scaled.
6.5.2 Orienting VisualAssets