/// <summary>
 /// </summary>
 protected override void RegisterComponent()
 {
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._vel_x);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._vel_y);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._vel_z);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._ang_x);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._ang_y);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._ang_z);
 }
示例#2
0
        /// <inheritdoc />
        /// <summary>
        /// </summary>
        protected override void RegisterComponent()
        {
            this._x = this.Identifier + "X_";
            this._y = this.Identifier + "Y_";
            this._z = this.Identifier + "Z_";
            if (this._Angular_Actuators)
            {
                this._x = this.Identifier + "RotX_";
                this._y = this.Identifier + "RotY_";
                this._z = this.Identifier + "RotZ_";
            }

            this.Parent =
                NeodroidRegistrationUtilities.RegisterComponent((IHasRegister <IActuator>) this.Parent,
                                                                this,
                                                                this._x);
            this.Parent =
                NeodroidRegistrationUtilities.RegisterComponent((IHasRegister <IActuator>) this.Parent,
                                                                this,
                                                                this._y);
            this.Parent =
                NeodroidRegistrationUtilities.RegisterComponent((IHasRegister <IActuator>) this.Parent,
                                                                this,
                                                                this._z);
        }
示例#3
0
 /// <inheritdoc />
 /// <summary>
 /// </summary>
 protected override void RegisterComponent()
 {
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._mesh_str);
 }
 /// <inheritdoc />
 /// <summary>
 /// </summary>
 protected override void RegisterComponent()
 {
     this.Parent =
         NeodroidRegistrationUtilities.RegisterComponent((IHasRegister <IActuator>) this.Parent,
                                                         (Actuator)this,
                                                         this._x);
     this.Parent =
         NeodroidRegistrationUtilities.RegisterComponent((IHasRegister <IActuator>) this.Parent,
                                                         (Actuator)this,
                                                         this._y);
     this.Parent =
         NeodroidRegistrationUtilities.RegisterComponent((IHasRegister <IActuator>) this.Parent,
                                                         (Actuator)this,
                                                         this._z);
     this.Parent =
         NeodroidRegistrationUtilities.RegisterComponent((IHasRegister <IActuator>) this.Parent,
                                                         (Actuator)this,
                                                         this._rot_x);
     this.Parent =
         NeodroidRegistrationUtilities.RegisterComponent((IHasRegister <IActuator>) this.Parent,
                                                         (Actuator)this,
                                                         this._rot_y);
     this.Parent =
         NeodroidRegistrationUtilities.RegisterComponent((IHasRegister <IActuator>) this.Parent,
                                                         (Actuator)this,
                                                         this._rot_z);
 }
示例#5
0
 /// <inheritdoc />
 /// <summary>
 /// </summary>
 protected override void RegisterComponent()
 {
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._shadow_strength);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._color_r);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._color_b);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._color_g);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._intensity);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._indirect_multiplier);
 }
 /// <summary>
 /// </summary>
 protected override void RegisterComponent()
 {
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._quality_level);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._target_frame_rate);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._width);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._height);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._fullscreen);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._time_scale);
 }
示例#7
0
        /// <inheritdoc />
        /// <summary>
        /// </summary>
        protected override void RegisterComponent()
        {
            this.ParentEnvironment =
                NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment, this, this.Identifier);

            this.ParentEnvironment =
                NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment, this, this._colors);
        }
示例#8
0
 /// <inheritdoc />
 /// <summary>
 /// </summary>
 protected override void RegisterComponent()
 {
     if (this.SimulationManager != null)
     {
         this.SimulationManager =
             NeodroidRegistrationUtilities.RegisterComponent((NeodroidManager)this.SimulationManager, this);
     }
 }
 /// <inheritdoc />
 /// <summary>
 /// </summary>
 protected override void RegisterComponent()
 {
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment, this, this._x);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment, this, this._y);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment, this, this._z);
 }
示例#10
0
 /// <inheritdoc />
 /// <summary>
 /// </summary>
 protected override void RegisterComponent()
 {
     this.Parent =
         NeodroidRegistrationUtilities.RegisterComponent((IHasRegister <IActuator>) this.Parent,
                                                         (Actuator)this,
                                                         this._movement);
     this.Parent =
         NeodroidRegistrationUtilities.RegisterComponent((IHasRegister <IActuator>) this.Parent,
                                                         (Actuator)this,
                                                         this._turn);
 }
示例#11
0
        /// <inheritdoc />
        /// <summary>
        /// </summary>
        protected override void RegisterComponent()
        {
            this._Parent_Environment =
                NeodroidRegistrationUtilities.RegisterComponent(this._Parent_Environment, this);

            if (this._Parent_Environment != null)
            {
                this._Parent_Environment.PreStepEvent  += this.PreStep;
                this._Parent_Environment.StepEvent     += this.Step;
                this._Parent_Environment.PostStepEvent += this.PostStep;
            }
        }
示例#12
0
        /// <inheritdoc />
        /// <summary>
        /// </summary>
        protected override void RegisterComponent()
        {
            this._x = this.Identifier + "RotX_";

            this._z = this.Identifier + "RotZ_";

            this.Parent =
                NeodroidRegistrationUtilities.RegisterComponent(r: (IHasRegister <IActuator>) this.Parent,
                                                                c: this,
                                                                identifier: this._x);
            this.Parent =
                NeodroidRegistrationUtilities.RegisterComponent(r: (IHasRegister <IActuator>) this.Parent,
                                                                c: this,
                                                                identifier: this._z);
        }
示例#13
0
        /// <inheritdoc />
        /// <summary>
        /// </summary>
        public override void Setup()
        {
            this._grid = new int[this._width, this._height];

            var k = 0;

            for (var i = 0; i < this._width; i++)
            {
                for (var j = 0; j < this._height; j++)
                {
                    this._grid[i, j] = k++;
                }
            }

            this._time_simulation_manager =
                NeodroidRegistrationUtilities.RegisterComponent((AbstractNeodroidManager)this
                                                                ._time_simulation_manager,
                                                                this);
        }
 /// <inheritdoc />
 /// <summary>
 /// </summary>
 protected override void RegisterComponent()
 {
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._r);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._g);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._b);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._a);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._reflection);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._smoothness);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._offset_x);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._offset_y);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._tiling_x);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._tiling_y);
 }
 /// <inheritdoc />
 /// <summary>
 /// </summary>
 protected override void RegisterComponent()
 {
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._color_r);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._color_b);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._color_g);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._intensity);
     this.ParentEnvironment =
         NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                         (Configurable)this,
                                                         this._reflection_intensity);
 }
示例#16
0
 /// <inheritdoc />
 /// <summary>
 /// </summary>
 protected override void RegisterComponent()
 {
     if (!this._camera.usePhysicalProperties)
     {
         this.ParentEnvironment =
             NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                             (Configurable)this,
                                                             this._fov_str);
     }
     else
     {
         this.ParentEnvironment =
             NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                             (Configurable)this,
                                                             this._focal_str);
         this.ParentEnvironment =
             NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                             (Configurable)this,
                                                             this._sensor_width_str);
         this.ParentEnvironment =
             NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                             (Configurable)this,
                                                             this._sensor_height_str);
         this.ParentEnvironment =
             NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                             (Configurable)this,
                                                             this._lens_shift_x_str);
         this.ParentEnvironment =
             NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                             (Configurable)this,
                                                             this._lens_shift_y_str);
         this.ParentEnvironment =
             NeodroidRegistrationUtilities.RegisterComponent(this.ParentEnvironment,
                                                             (Configurable)this,
                                                             this._gate_fit_str);
     }
 }
示例#17
0
 /// <inheritdoc />
 /// <summary>
 /// </summary>
 protected override void RegisterComponent()
 {
     this._overriden = false;
     this.Parent     =
         NeodroidRegistrationUtilities.RegisterComponent((IHasRegister <IActuator>) this.Parent, this, true);
 }