|
Blender
V2.93
|
#include <stdio.h>#include <stdlib.h>#include "util/util_opengl.h"#include "util/util_string.h"#include "util/util_time.h"#include "util/util_version.h"#include "util/util_view.h"#include <GL/glut.h>Go to the source code of this file.
Classes | |
| struct | View |
Functions | |
| static void | view_display_text (int x, int y, const char *text) |
| void | view_display_info (const char *info) |
| void | view_display_help () |
| static void | view_display () |
| static void | view_reshape (int width, int height) |
| static void | view_keyboard (unsigned char key, int x, int y) |
| static void | view_mouse (int button, int state, int x, int y) |
| static void | view_motion (int x, int y) |
| static void | view_idle () |
| void | view_main_loop (const char *title, int width, int height, ViewInitFunc initf, ViewExitFunc exitf, ViewResizeFunc resize, ViewDisplayFunc display, ViewKeyboardFunc keyboard, ViewMotionFunc motion) |
| void | view_redraw () |
Variables | |
| CCL_NAMESPACE_BEGIN struct View | V |
|
static |
Definition at line 121 of file util_view.cpp.
References View::display, View::exitf, View::first_display, glLoadIdentity, glMatrixMode, glOrtho, glRasterPos3f, View::height, View::initf, V, and View::width.
Referenced by view_main_loop().
| void view_display_help | ( | ) |
Definition at line 82 of file util_view.cpp.
References CYCLES_VERSION_STRING, glColor3f, glColor4f, glDisable, glEnable, glRectf, View::height, V, view_display_text(), w(), View::width, x2, and y1.
| void view_display_info | ( | const char * | info | ) |
Definition at line 65 of file util_view.cpp.
References glColor3f, glColor4f, glDisable, glEnable, glRectf, View::height, height, V, view_display_text(), and View::width.
|
static |
Definition at line 55 of file util_view.cpp.
References Freestyle::c, glRasterPos3f, x, and y.
Referenced by view_display_help(), and view_display_info().
|
static |
Definition at line 221 of file util_view.cpp.
References View::redraw, time_sleep(), and V.
Referenced by view_main_loop().
|
static |
Definition at line 170 of file util_view.cpp.
References View::exitf, View::keyboard, V, x, and y.
Referenced by view_main_loop().
| void view_main_loop | ( | const char * | title, |
| int | width, | ||
| int | height, | ||
| ViewInitFunc | initf, | ||
| ViewExitFunc | exitf, | ||
| ViewResizeFunc | resize, | ||
| ViewDisplayFunc | display, | ||
| ViewKeyboardFunc | keyboard, | ||
| ViewMotionFunc | motion | ||
| ) |
Definition at line 231 of file util_view.cpp.
References View::display, View::exitf, View::first_display, View::height, height, View::initf, initf, View::keyboard, View::motion, View::redraw, View::resize, V, view_display(), view_idle(), view_keyboard(), view_motion(), view_mouse(), view_reshape(), View::width, and width.
Referenced by main().
|
static |
Definition at line 208 of file util_view.cpp.
References View::motion, View::mouseBut0, View::mouseX, View::mouseY, V, x, and y.
Referenced by view_main_loop().
|
static |
Definition at line 184 of file util_view.cpp.
References View::mouseBut0, View::mouseBut2, View::mouseX, View::mouseY, state, V, x, and y.
Referenced by view_main_loop().
| void view_redraw | ( | ) |
Definition at line 277 of file util_view.cpp.
References View::redraw, and V.
Referenced by session_init().
|
static |
Definition at line 150 of file util_view.cpp.
References glLoadIdentity, glMatrixMode, View::height, height, View::resize, V, View::width, and width.
Referenced by view_main_loop().
| CCL_NAMESPACE_BEGIN struct View V |
Referenced by btDeformableLinearElasticityForce::addScaledElasticForce(), btDeformableNeoHookeanForce::addScaledElasticForce(), Freestyle::BezierII(), BLI_ewa_filter(), bsdf_principled_diffuse_eval_reflect(), bsdf_principled_sheen_eval_reflect(), calculate_principled_diffuse_brdf(), calculate_principled_sheen_brdf(), camera_sample_panorama(), Freestyle::OGF::compute_curvature_tensor(), libmv::ComputeTrackingEquation(), cross(), libmv::euclidean_resection::EuclideanResectionAnsarDaniilidis(), filter(), KDL::Frame::Frame(), KDL::Frame2::Frame2(), btSoftBody::getRigidTransform(), getSkewSymmetricMatrix(), makeLambdaShape(), makeUpperBidiag(), mat3_polar_decompose(), math_matrix_jacobi_eigendecomposition(), Freestyle::FEdgeXDetector::preProcessFace(), process(), Freestyle::FEdgeXDetector::ProcessSilhouetteFace(), pseudoinverse_m4_m4(), ray_triangle_intersect(), singularValueDecomposition(), sort(), Freestyle::OGF::sphere_clip_vector(), KDL::svd_eigen_HH(), svd_m4(), Freestyle::StrokeTesselator::Tesselate(), triangle_light_pdf(), triangle_light_sample(), triangle_world_space_vertices(), triple(), view_display(), view_display_help(), view_display_info(), view_idle(), view_keyboard(), view_main_loop(), view_motion(), view_mouse(), view_redraw(), view_reshape(), and zeroChase().