In Files

Parent

Constants

Author

Manuela Ruiz (mruiz@lcc.uma.es)

This class holds the constants used along the application

Constants

PTS_1

Inside this begin block we define the constants used by SketchUp

 Points for the default left shape for the rules (squares)
PTS_2

Points for the default right shape for the rules (squares)

LEFT_T

Default transformation for the left side of the rules

RIGHT_T

Default transformation for the right (without additive) side of the rules

ADDITIVE_T

Default transformation for the additive (without right) side of the rules

LABEL_VECTOR

Vector for painting the labels

RULE_T

Default rule transformation

AXIOM_T

Transformation for the axiom of the grammar

ALPHA

Default alpha for the materials

LABEL_RADIUS

Default radius for the labels

DEFAULT_COLOR

Default color for the shapes

STATIC_TOOLBAR_NAME

Static Toolbar name

EXECUTION_TOOLBAR_NAME

Execution Toolbar name

GUIDANCE_TOOLBAR_NAME

Guidance Toolbar name

PT_GRAMMAR_TEXT

Grammar title point

DEFAULT_GRAMMAR_TITLE

Grammar default title

PT_PROJECT_TEXT

Project title point

PTS_ARROW

Initial Points for the arrows

PTS_ORIGIN

Initial Points for the origin references

PTS_H

Initial Points for the horizontal line

PTS_V

Points for the vertical line

PT_RULE_TEXT

Initial Point for the rule titles

PT_DESIGN_TEXT

Point for the design title

DESCEND_T

Iterative transformation for the rule elements, in order to descend along the screen

DELAY_TIME

Delay time when seeing backtracking steps

INITIAL_Z_CAMERA

Initial height of the camera

PTS_1

Points for the default left shape for the rules (squares), in case we are not using SketchUp

PTS_2

Points for the default right shape for the rules (squares), in case we are not using SketchUp

VERSION

Version

ICONS_DIR

Default relative (to guitools.rb) Icons directory

ABS_ICONS_DIR

Default absolute Icons directory

HTML_DIR

Default html dialogs directory

LIB_DIR

Default lib directory

STARTUP_FILE_NAME

Default startup file name

CONSTRAINT_FOLDER_NAME

Default custom constraints folder name

GOAL_FOLDER_NAME

Default custom goals folder name

TEMP_DIR

Default relative (to guitools.rb) temp directory

COMMANDS_DIR

Default relative (to guitools.rb) commands directory

DEFAULT_PROJECT_TITLE

Project default title

SHAPE_EXTENSION

Shape file extension

GRAMMAR_EXTENSION

Grammar file extension

PROJECT_EXTENSION

Project file extension

EPSILON

Epsilon for comparing arrays

LEFT_TALLER

Balance factor for BBTree when the left subtree is taller

RIGHT_TALLER

Balance factor for BBTree when the right subtree is taller

BALANCED

Balance factor for BBTree when the subtrees are balanced

SEGMENTS

For the LabelledShape.shape_expression algorithm, in order to determine wether we are working with colinear segments

POINTS

For the LabelledShape.shape_expression algorithm, in order to determine wether we are working with points with the same label

UNION

For the LabelledShape.shape_expression algorithm, in order to distinguish the ‘union’ operation

INTERSECTION

For the LabelledShape.shape_expression algorithm, in order to distinguish the ‘intersection’ operation

DIFFERENCE

For the LabelledShape.shape_expression algorithm, in order to distinguish the ‘difference’ operation

SUBSHAPE

For the LabelledShape.shape_expression algorithm, in order to distinguish the ‘subshape’ relation

EQUAL

For the LabelledShape.shape_expression algorithm, in order to distinguish the ‘equal’ relation

START

For controlling the beggining of the iterators in trees and lists

INTERSECTION_LABEL

The name for the intersection label

LEFT

The name for the left part of the rule

RIGHT

The name for the right part of the rule

PTS_AREA

Constants for constraints and goals Points for the default area

COLOR_AREA

Color for the default area

AREA_CONSTRAINT_NAME

Name for the area Constraint

DISTINCT_SHAPE_CONSTRAINT_NAME

Name for the distinct shape Constraint

NO_SCALES_CONSTRAINT_NAME

Name for the no scales Constraint

NO_LABELS_GOAL_NAME

Name for the no labels goal

ALL_RULES_APPLIED_GOAL_NAME

Name for the all rules applied goal

NO_MORE_RULES_GOAL_NAME

Name for the no more rules goal

RECOGNIZED_COLORS

Array with the recognized colors

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.