12#ifndef __CODAC_VIBESFIGTUBEVECTOR_H__
13#define __CODAC_VIBESFIGTUBEVECTOR_H__
121 void show(
bool detail_slices =
false);
148 void draw_box(
const Interval& tdomain,
const IntervalVector& box,
const vibes::Params& params);
158 void draw_box(
const Interval& tdomain,
const IntervalVector& box,
const std::string& color =
"",
const vibes::Params& params = vibes::Params());
172 void add_tube(
const TubeVector *tube,
const std::string&
name,
const std::string& color_frgrnd = DEFAULT_FRGRND_COLOR,
const std::string& color_bckgrnd = DEFAULT_BCKGRND_COLOR);
200 void set_tube_color(
const TubeVector *tube,
const std::string& color_frgrnd,
const std::string& color_bckgrnd = DEFAULT_BCKGRND_COLOR);
n-dimensional trajectory , defined as a temporal map of vector values
Definition codac_TrajectoryVector.h:38
n-dimensional tube , defined as an interval of n-dimensional trajectories
Definition codac_TubeVector.h:39
Two-dimensional graphical item to display scalar tubes or trajectories.
Definition codac_VIBesFigTube.h:48
Multi-view item to display vector tubes or trajectories.
Definition codac_VIBesFigTubeVector.h:33
void add_trajectory(const TrajectoryVector *traj, const std::string &name, const std::string &color=DEFAULT_TRAJ_COLOR)
Adds a trajectory vector object to this figure.
VIBesFigTubeVector(const std::string &fig_name)
Creates a VIBesFigTubeVector.
void set_trajectory_name(const TrajectoryVector *traj, const std::string &name)
Sets a new name for a trajectory vector.
void set_cursor(double t)
Set the position of the temporal cursor of this figure.
void set_tube_color(const TubeVector *tube, const std::string &color_frgrnd, const std::string &color_bckgrnd=DEFAULT_BCKGRND_COLOR)
Sets color properties for a given tube vector.
VIBesFigTube ** m_v_figs
array of components (scalar figures)
Definition codac_VIBesFigTubeVector.h:309
void show(bool detail_slices=false)
Displays this figure with optional details.
int m_end_index
restriction on the dimensions that will be displayed
Definition codac_VIBesFigTubeVector.h:310
void remove_trajectory(const TrajectoryVector *traj)
Removes a trajectory vector from this figure.
void set_tube_derivative(const TubeVector *tube, const TubeVector *derivative)
Links a tube vector to its derivative for display purposes.
int size() const
Returns the dimension of the objects displayed in the figure.
void draw_box(const Interval &tdomain, const IntervalVector &box, const vibes::Params ¶ms)
Draws a multi-dimensional box.
void remove_tube(const TubeVector *tube)
Removes a tube vector from this figure.
int m_n
dimension of this figure
Definition codac_VIBesFigTubeVector.h:308
void reset_tube_background(const TubeVector *tube)
Reset the background of a given tube vector.
VIBesFigTubeVector(const std::string &fig_name, int start_index, int end_index)
Creates a VIBesFigTubeVector.
const VIBesFigTube * operator[](int index) const
Returns a const pointer to the ith VIBesFigTube of this figure.
void set_trajectory_color(const TrajectoryVector *traj, const std::string &color)
Sets color properties for a given trajectory vector.
void set_tube_color(const TubeVector *tube, TubeColorType color_type, const std::string &color)
Sets color properties for a given tube vector.
void set_trajectory_points_size(const TrajectoryVector *traj, double points_size)
Sets points size for a given trajectory, and activates a display mode with points instead of a line f...
VIBesFigTube * operator[](int index)
Returns a pointer to the ith VIBesFigTube of this figure.
int subfigs_number() const
Returns number of dimensions to be displayed.
void show_cursor(bool display=true)
Displays the cursor on this figure.
void set_properties(int x, int y, int width, int height)
Sets the properties (coordinates and dimensions) of this figure.
void create_subfigures(int n)
Creates the subfigures related to the dimensions that will be displayed.
VIBesFigTubeVector(const std::string &fig_name, const TubeVector *tube, const TrajectoryVector *traj=nullptr)
Creates a VIBesFigTube.
~VIBesFigTubeVector()
VIBesFigTubeVector destructor.
void draw_box(const Interval &tdomain, const IntervalVector &box, const std::string &color="", const vibes::Params ¶ms=vibes::Params())
Draws a multi-dimensional box.
void add_tube(const TubeVector *tube, const std::string &name, const std::string &color_frgrnd=DEFAULT_FRGRND_COLOR, const std::string &color_bckgrnd=DEFAULT_BCKGRND_COLOR)
Adds a tube vector object to this figure.
void set_tube_name(const TubeVector *tube, const std::string &name)
Sets a new name for a tube vector.
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition codac_capd_helpers.h:9
TubeColorType
Defines a set of colors for tube display.
Definition codac_VIBesFigTube.h:38