Deletes a cuboid value at the given index.
Flag to indicate whether attributes that are in the definition has changed.
This will be set to zero when setDefinitionIndex, which is when a drawing is loaded or saved.
Request highlight for a face, highlight kind determines the final highlight area.
Detail required for every highlight kinds to allow switching between them, null for no current highlight.
Whether to generate interactive faces in the isometric drawing. Exported SVG can avoid large file size due to transparent triangles by setting this to false.
Creates a new cuboid value at the end of the cuboid values array.
Resets the rotation such that the rendering coordinates matches the ones denoted in the cuboid values.
Rotates 90 degrees anticlockwise around x-axis (negative x), origin perspective.
Rotates 90 degrees clockwise around x-axis (positive x), origin perspective.
Rotates 90 degrees anticlockwise around y-axis (negative y), origin perspective.
Rotates 90 degrees clockwise around y-axis (positive y), origin perspective.
Rotates 90 degrees anticlockwise around z-axis (negative z), origin perspective.
Rotates 90 degrees clockwise around z-axis (positive z), origin perspective.
Sets the cuboid value at the given index to the given value.
Sets all cuboid values wholesale, use this in provider and prefer other functions in other components.
Sets the index of the current drawing in the global storage, null if the current drawing is not saved at all.
This will reset hasDefinitionChanged to false since this is called when a drawing is loaded or saved.
Sets the name of the drawing.
Sets the rotation directly, use this in provider and prefer other functions in other components.
Set whether the isometric viewport is cropped to fit the axes and structure tightly.
Sets whether the background axis arrows are shown on the isometric drawing.
Sets whether the numbers are shown on the coded plan.
Sets whether the background grid is shown on the isometric drawing.
Sets whether the foreground structure is shown on the isometric drawing.
Sets whether the foreground structure is shown on the orthographic views.
Sets whether the background grid is shown on the orthographic views.
Sets whether the orthographic views should be split into three images.
Unhighlights if the isCubeFaceHighlighted function determines
that the given attributes match the current highlighting.
This is to prevent stale request if the highlight changes before the request is received.
Store that manages states belonging to a structure. If components share the same store, then they refer to the same structure. Defining attributes for drawings are in
DrawingDefinition. Persistent preference attributes that are stored as a part of preset are inDrawingPreference.