Package rope.pixo

Class R_Nubo

All Implemented Interfaces:
R_Constants, R_Constants_Colour

public class R_Nubo extends Rope
  • Constructor Details

    • R_Nubo

      public R_Nubo(processing.core.PApplet pa)
  • Method Details

    • set_iter

      public R_Nubo set_iter(int iter)
      Parameters:
      iter - define the num of iteration of this cloud, so it's like the size of it.
      Returns:
      this to give the opportunity to make train of function on the same line
    • get_iter

      public int get_iter()
    • set_algo

      public R_Nubo set_algo(int algo)
      Parameters:
      algo - define the algotithm do diffuse pixel
      Returns:
      this to give the opportunity to make train of function on the same line
    • get_algo

      public int get_algo()
    • set_mode

      public R_Nubo set_mode(int mode)
      Parameters:
      mode - define the variation around the main shape algorithm
      Returns:
      this to give the opportunity to make train of function on the same line
    • get_mode

      public int get_mode()
    • set_step

      public R_Nubo set_step(float step)
      Parameters:
      step - if value to divid the cloud, that's can take a different way depending on the type chosen.
      Returns:
      this to give the opportunity to make train of function on the same line
    • get_step

      public float get_step()
    • get_focus

      public R_Focus get_focus()
    • set_focus

      public R_Nubo set_focus(float angle, float dist)
      It's a focus point in the cloud area
      Parameters:
      angle - is the target angle, the angle must be between the start and end angle
      dist - is the target distance, the angle must be the begin and the end field.
      Returns:
      this to give the opportunity to make train of function on the same line
    • set_focus_angle

      public R_Nubo set_focus_angle(float angle)
    • set_focus_dist

      public R_Nubo set_focus_dist(float dist)
    • set_fov

      public R_Nubo set_fov(vec2 fov)
      Parameters:
      fov - set the angle where the pixels is display. The first argument is the start angle and the last close the viewd, like in photography
      Returns:
      this to give the opportunity to make train of function on the same line
    • set_fov

      public R_Nubo set_fov(float ang_min, float ang_max)
    • offset_angle

      public R_Nubo offset_angle(float angle)
    • offset_pos

      public R_Nubo offset_pos(vec offset_pos)
    • offset_pos

      public R_Nubo offset_pos(float x, float y)
    • get_start_fov

      public float get_start_fov()
    • get_stop_fov

      public float get_stop_fov()
    • get_fov

      public float get_fov()
    • get_angle

      public float get_angle()
    • get_bissector

      public float get_bissector()
    • set_field

      public R_Nubo set_field(vec2 range)
      Parameters:
      range - set the distance where the picture is net. The first argument is the start position and the last is the end, like in photography
      Returns:
      this to give the opportunity to make train of function on the same line
    • set_field

      public R_Nubo set_field(float min, float max)
    • get_dist

      public float get_dist()
    • get_range_dist

      public vec2 get_range_dist()
    • get_dist_min

      public float get_dist_min()
    • get_dist_max

      public float get_dist_max()
    • x

      public float x()
    • y

      public float y()
    • pos

      public vec2 pos()
    • pos

      public R_Nubo pos(vec pos)
      Parameters:
      pos - is vec position of the center of your pixel cloud
      Returns:
      this to give the opportunity to make train of function on the same line
    • pos

      public R_Nubo pos(float x, float y)
    • set_grid

      public R_Nubo set_grid(ivec2 grid)
      Parameters:
      grid - if the step in x anf y to display or not the pixels
      Returns:
      this to give the opportunity to make train of function on the same line
    • set_grid

      public R_Nubo set_grid(int x, int y)
    • use_grid

      public R_Nubo use_grid(boolean is)
    • get_pixel_index

      public int get_pixel_index(int width_graphic)
      Parameters:
      width_graphic - is the with of your 2D image
      Returns:
      the position of the pixel in the pixel array of your image.
    • pixel_is

      public boolean pixel_is()
    • update_grid

      public void update_grid()
    • update

      public void update(int index)
    • info

      public void info()