next up previous contents index
Next: Properties for fractions Up: Elements of the Fib Previous: Points   Contents   Index


Property element

With the property element "property" properties for Fib objects will be set.


Syntax: $Obj = property( ( value_1, ..., value_n)_{name}, Obj_1 ) $


Short syntax: $Obj = pr( (value_1, ..., value_n)_{name}, Obj_1 )$

$name$
The $name$ specifies the name of the property. It determines the type of the vector. All property types should belong to the vector supertype "property".
$value_i$
This is the value $i$ of the property.
$Obj_1$
The contained object, for which the property will be set.

Table 2: properties (the prefix "property::" was omitted because of clarity)
name value number of values description example
         
whatever 0 0 The properties of the subobject does not matter. Whichever properties are also associated with this subobject, they are correct. pr( $()_{whatever}$, Obj )
Color
(all colors overwrite current set colors of the actual Fib object)
colorRGB 1 3 color as red, green and blue fraction values pr( $(255, 16, 0)_{colorRGB}$, Obj )
colorGrayscale 2 1 luma fraction pr( $(25)_{colorGrayscale}$, Obj )
More properties
layer 100 1 layer for the points (lower layers are covered by higher layers) pr( $(2)_{layer}$, Obj )
transparency 200 1 transparency fraction for the colors of the points pr( $(25)_{transparency}$, Obj )
persistent 210 0 This property is only useful for a time period (or the dimension of time). Points in space with this property lose their other properties only, if they are overwritten later in time by a respective property of the same type. This of course only holds as long as the particular point has the property $persistent$. The property $persistent$ is useful for example, if in a movie a objects should be visible as long as they are not overwritten by other objects. In this case, for the entire Fib object the property $persistent$ can be set. If an object is defined at a time and displayed, it will displayed in the future as long as it is not overwritten. pr( $()_{persistent}$, Obj )
Sound properties
sound 300 4 a sound; the values are: 1. frequency in Hertz ($1/s$), 2. sound pressure in Pascal $Pa$ ($1 Pa= 1 N/m^2$), 3. phase shift in radians, 4. duration in seconds; a sound is additive to other sounds pr( $(5000, 40, 0.5, 50)_{sound}$, Obj)
soundPolarized 301 $3 + \sharp D$ a sound; the values are: 1. frequency in Hertz ($1/s$), 2. sound pressure in Pascal $Pa$ ($1 Pa= 1 N/m^2$), 3. phase shift in radians, 4. duration in seconds; r = $5$ to ($3 + \sharp D$) polarization fraction (as an angle in radians) in the dimension plane, which is spanned by the respective dimensions $r-4$ and $r-3$ ($\sharp D$ is the number of dimensions), the angle origin is the $r-3$ axis a goes in positive direction; a sound is additive to other sounds pr( $(5000, 40, 2, 0.5, 5$ $)_{soundPolarized}$, Obj)
soundAmplitude 305 3 the amplitude of a sound; the values are: 1. sound pressure in Pascal $Pa$ ($1 Pa= 1 N/m^2$), 2. phase shift in radians, 3. duration in seconds; a sound is additive to other sounds; With this properties sounds can be build by their amplitude with a specific sampling rate, such as in the WAVE file format. pr( $( 40, 0.5, 0.0005$ $)_{soundAmplitude}$, Obj)
soundBarrier 310 1 speed of sound in meters per second ($m/s$); With this property objects can change the acoustics. pr( $(343)_{soundBarrier}$, Obj)
soundReflected 311 1 fraction of sound reflected from the object; This property applies to the surface / the edge of the object and not for all his individual points pr( $(50)_{soundReflected}$, Obj)
soundDamping 312 1 fraction of the sound swallowed by a point pr( $(2)_{soundDamping}$, Obj)
Physical properties
kelvin 400 1 temperature in Kelvin pr( $(300)_{kelvin}$, Obj)
electroMagnetic 410 $3 + \sharp D$ an electromagnetic radiation source, the values are: 1. frequency in Hertz ($1/s$), 2. amplitude in Candela cd, 3. phase shift in radians, 4. duration in seconds, r = $5$ to ($3 + \sharp D$) polarization fraction (as an angle in radians) in the dimension direction, which is spanned by the respective dimensions $r-4$ and $r-3$ ($\sharp D$ is the number of dimensions), the angular information is provided by the $r-3$ axis in positive direction, an electromagnetic wave is additive to other electromagnetic waves pr( $(5,3* 10^{14}, 2, 0.5, 0.5, 50$ $)_{electroMagnetic}$, Obj)
Properties for describing objects
(They describe only the part objects, without any further impact)
periodBegin 500 1 time in seconds ($s$) from the beginning of the whole multimedia object, starting at which the object is to be displayed; if possible, this property should be near the root of the multimedia object; when a multimedia object is played it can be determined with this property: the order in which subobjects should be evaluated and/or till which time to evaluate a part object pr( $(0.3)_{periodBegin}$, Obj)
periodEnd 501 1 time in seconds ($s$) from the beginning of the whole multimedia object, till which the object is to be displayed; if possible, this property should be near the root of the multimedia object and follow a "periodBegin" property; when a multimedia object is played it can be determined with this property: the order in which subobjects should be evaluated and/or till which time to evaluate a part object completely pr( $(0.4)_{periodEnd}$, Obj)
evaluationTime 502 1 time required for evaluating a multimedia object, in proportion to a multimedia object, which contains only one point (the value should be seen as a multiple of the evaluation time of a point); with this property in combination with the properties "periodBegin" und "periodEnd" a good evaluation order and time can be evalued for the partobjects, when playing a multimedia object; this property should stand immediately after (or below/within) "periodBegin" and "periodEnd" pr( $(15.8)_{evaluationTime}$, Obj)
Properties for the compressed storing
(these have no effect on the points)
checksum 600 3 An checksum for the object will be generated. The first parameter determines the type of the checksum. The second parameter specifies any which number of bits, a checksum is to be generated, and the third parameter defines how many bits the checksum is long. The last block of the checksum will be filled with 0 after loading the blocks, so that it too has the desired length. If there are enough bits to correct an existing error, it will be attempted to correct the error. (see section 21.3.3 on page [*]) pr( $( 1, 1024 ,16)_{checksum}$, Obj )
boundSize 601 0 For the part object the border/size in bits will be stored, when saving it. If an error occured while loading the part object, the (in the bitstream after the faulty part object) following part objects can still be loaded, because their beginning is known. (see section 21.3.3 on page [*]) pr( $()_{boundSize}$, Obj )
Other properties
Product Properties 240 to 255 variable Properties which are product specific. Different producers can use this area, without getting incompatible with later defined properties.  
       

The table 2 shows different properties, which can be set with the "property" element (the prefix "property::" for the names was omitted because of clarity). Every property has it's own vector type. Every vector type has the supertype "property". The domains of the vector typs are declared in the root-element (see section 9.14 on page [*]).

In table 2 the $\sharp D$ stands for the number of dimensions in the Fib multimedia object.

In table 5 on page [*] the property typs with their default domains are listed.

If for a position a needed property dosn't exists, the zero vector from the valid domain (or maybe the default domain) will be assumed for it.


Examples:



Subsections
next up previous contents index
Next: Properties for fractions Up: Elements of the Fib Previous: Points   Contents   Index
Betti Österholz 2013-02-13