The following is an example of a CCL object defining an isosurface.
USER DEFINED: ISOSURFACE: Iso1 Variable = Minimum Face Angle Value = 10 [degree] Color = 1,0,0 Transparency = 0.5 END END
ISOSURFACE
andUSER DEFINED
are object typesIso1
is an object nameVariable = Minimum Face Angle
is a parameterVariable
is a parameter nameMinimum Face Angle
is a parameter valueIf the object type
ISOSURFACE
does not need a name it is called a singleton object. Only one object of a given singleton type can exist.
Data is entered via parameters. These are grouped into objects that are stored in a tree structure. Objects may be at the ‘Top Level’, or within other objects. Objects inside other objects are said to be ‘nested’.
OBJECT1: outer object name OBJECT2: inner object name name1 = value name2 = value END
Objects and parameters may be placed in any order, provided that the information is set prior to being used further down the file. If data is set in one place and modified in another the latter definition overrides the first.