|
| VectorBaseView (const char *title="BaseView", WinGeom *wg=nullptr) |
|
| VectorBaseView (char *title, WinGeom *wg=nullptr) |
|
void | show (SpaceSharedPtr< Scalar > space) |
|
| VectorView (const char *title="VectorView", WinGeom *wg=nullptr) |
|
| VectorView (char *title, WinGeom *wg=nullptr) |
|
void | show (MeshFunctionSharedPtr< double > vsln) |
|
void | show (MeshFunctionSharedPtr< double > xsln, MeshFunctionSharedPtr< double > ysln, int xitem=H2D_FN_VAL_0, int yitem=H2D_FN_VAL_0, MeshFunctionSharedPtr< double > xdisp=nullptr, MeshFunctionSharedPtr< double > ydisp=nullptr, double dmult=1.0) |
|
void | set_grid_type (bool hexa) |
|
void | set_mode (int mode) |
|
Vectorizer * | get_vectorizer () |
| Returns the internal Linearizer for the purpose of parameter settings.
|
|
void | set_vectorizer_criterion (LinearizerCriterion criterion) |
|
void | init () |
|
| View (const char *title, WinGeom *wg=nullptr) |
|
| View (char *title, WinGeom *wg=nullptr) |
|
int | create () |
|
void | close () |
|
void | refresh () |
| Refreshes views.
|
|
const char * | get_title () const |
| Returns the title.
|
|
void | set_title (const char *msg,...) |
| Changes the window name (in its title-bar) to 'title'.
|
|
void | set_min_max_range (double min, double max) |
|
void | auto_min_max_range () |
|
void | get_min_max_range (double &min, double &max) |
|
void | show_scale (bool show=true) |
|
void | set_scale_position (int horz, int vert) |
|
void | set_scale_size (int width, int height, int numticks) |
|
void | set_scale_format (const char *fmt) |
|
void | fix_scale_width (int width=80) |
|
void | save_screenshot (const char *bmpname, bool high_quality=false) |
|
void | save_numbered_screenshot (const char *format, int number, bool high_quality=false) |
|
void | set_palette (ViewPaletteType type) |
|
void | set_num_palette_steps (int num) |
|
void | set_palette_filter (bool linear) |
|
void | wait_for_close () |
|
void | wait_for_draw () |
|
void | draw_help () |
|
virtual void | reset_view (bool force_reset) |
| Resets view based on the axis-aligned bounding box of the mesh. Assumes that the bounding box is set up. Does not reset if view_not_reset is false.
|
|
|
void | free () |
|
void | update_solution () |
|
void | update_title () |
|
virtual void | on_special_key (int key, int x, int y) |
|
virtual const char * | get_help_text () const |
|
template<> |
void | update_solution () |
|
template<> |
void | update_solution () |
|
void | draw_edges_2d () |
| draws edges
|
|
void | plot_arrow (double x, double y, double xval, double yval, double max, double min, double gs) |
|
virtual void | on_display () |
|
virtual void | on_mouse_move (int x, int y) |
|
virtual void | on_key_down (unsigned char key, int x, int y) |
|
void | draw_fps () |
| draws current FPS
|
|
virtual void | on_create (int output_id) |
|
virtual void | on_reshape (int width, int height) |
|
virtual void | on_left_mouse_down (int x, int y) |
|
virtual void | on_left_mouse_up (int x, int y) |
|
virtual void | on_left_mouse_double_click (int x, int y) |
|
virtual void | on_right_mouse_down (int x, int y) |
|
virtual void | on_right_mouse_up (int x, int y) |
|
virtual void | on_right_mouse_double_click (int x, int y) |
|
virtual void | on_middle_mouse_down (int x, int y) |
|
virtual void | on_middle_mouse_up (int x, int y) |
|
virtual void | on_middle_mouse_double_click (int x, int y) |
|
virtual void | on_entry (int state) |
|
virtual void | on_close () |
|
virtual void | update_layout () |
| Updates layout, i.e., centers mesh.
|
|
void | create_gl_palette () |
| Creates pallete texture in OpenGL. Assumes that view_sync is locked.
|
|
virtual void | get_palette_color (double x, float *gl_color) |
| Fills gl_color with palette color. Assumes that gl_color points to a vector of three components (RGB).
|
|
double | untransform_x (double x) |
|
double | untransform_y (double y) |
|
virtual void | clear_background () |
| Clears background.
|
|
void | pre_display () |
|
void | display_antialiased () |
|
void | set_ortho_projection (bool no_jitter=false) |
|
void | set_3d_projection (int fov, double znear, double zfar) |
|
void | draw_text (double x, double y, const char *text, int align=-1) |
|
int | get_text_width (const char *text) |
|
char * | get_screenshot_file_name () |
|
void | save_screenshot_internal (const char *filename) |
|
virtual void | scale_dispatch () |
|
virtual int | measure_scale_labels () |
|
void | draw_continuous_scale (char *title, bool righttext) |
|
void | draw_discrete_scale (int numboxes, const char *boxnames[], const float boxcolors[][3]) |
|
void | update_tex_adjust () |
|
|
SpaceSharedPtr< Scalar > | space |
|
PrecalcShapeset * | pss |
|
MeshFunctionSharedPtr< Scalar > | sln |
|
int | ndof |
|
int | component |
|
int | base_index |
|
std::string | basic_title |
|
Vectorizer * | vec |
| Linearizer class responsible for obtaining linearized data.
|
|
double | gx |
|
double | gy |
|
double | gs |
|
bool | hexa |
| false - quad grid, true - hexa grid
|
|
int | mode |
| 0 - magnitude is on the background, 1 - arrows are colored, 2 - no arrows, just magnitude on the background
|
|
bool | lines |
|
bool | pmode |
|
double | length_coef |
| for extending or shortening arrows
|
|
double | rendering_frames [FPS_FRAME_SIZE] |
| time spend in rendering of frames[in ms]
|
|
int | rendering_frames_top |
| the new_ location of the next FPS
|
|
bool | view_not_reset |
| True if the view was not reset and therefore it has to be.
|
|
double | vertices_min_x |
| AABB of shown mesh.
|
|
double | vertices_max_x |
|
double | vertices_min_y |
|
double | vertices_max_y |
|
double | scale |
|
double | log_scale |
|
double | trans_x |
|
double | trans_y |
|
double | center_x |
|
double | center_y |
|
int | margin |
|
int | lspace |
|
int | rspace |
|
int | mouse_x |
|
int | mouse_y |
|
int | scx |
|
int | scy |
|
double | objx |
|
double | objy |
|
bool | dragging |
|
bool | scaling |
|
std::string | title |
|
int | output_id |
|
int | output_x |
|
int | output_y |
|
int | output_width |
|
int | output_height |
|
float | jitter_x |
|
float | jitter_y |
|
bool | hq_frame |
|
bool | frame_ready |
|
ViewPaletteType | pal_type |
|
int | pal_steps |
|
int | pal_filter |
|
double | tex_scale |
|
double | tex_shift |
|
bool | range_auto |
|
double | range_min |
|
double | range_max |
|
bool | b_scale |
|
bool | b_help |
|
bool | scale_focused |
|
bool | scale_dragging |
|
int | pos_horz |
|
int | pos_vert |
|
int | scale_x |
|
int | scale_y |
|
int | scale_width |
|
int | scale_height |
|
int | labels_width |
|
int | scale_numticks |
|
int | scale_box_height |
|
int | scale_box_skip |
|
char | scale_fmt [20] |
|
int | scale_fixed_width |
|
bool | want_screenshot |
|
std::string | screenshot_filename |
|
unsigned int | gl_pallete_tex_id |
| OpenGL texture object ID.
|
|
template<typename Scalar>
class Hermes::Hermes2D::Views::VectorBaseView< Scalar >
Definition at line 69 of file space.h.