Blender V2.61 - r43446
|
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <sstream>
Go to the source code of this file.
Classes | |
class | BasicVector::Vector3Dim< Scalar > |
Namespaces | |
namespace | BasicVector |
Defines | |
#define | FLOATINGPOINT_PRECISION 1 |
#define | FP_REAL_MAX __FLT_MAX__ |
#define | VECTOR_EPSILON (1e-5f) |
#define | __FLT_MAX__ 3.402823466e+38f |
#define | __DBL_MAX__ 1.7976931348623158e+308 |
#define | FLT_MAX __FLT_MAX__ |
#define | DBL_MAX __DBL_MAX__ |
#define | M_PI 3.1415926536 |
#define | M_E 2.7182818284 |
#define | VECTOR_TYPE Vector3Dim<Scalar> |
Typedefs | |
typedef float | Real |
typedef Vector3Dim< int > | BasicVector::Vec3Int |
typedef Vector3Dim< Real > | BasicVector::Vec3 |
Functions | |
template<class Scalar > | |
Scalar | BasicVector::dot (const Vector3Dim< Scalar > &t, const Vector3Dim< Scalar > &v) |
template<class Scalar > | |
Vector3Dim< Scalar > | BasicVector::cross (const Vector3Dim< Scalar > &t, const Vector3Dim< Scalar > &v) |
template<class Scalar > | |
Scalar | BasicVector::norm (const VECTOR_TYPE &v) |
Real | BasicVector::normHelper (const Vector3Dim< Real > &v) |
Real | BasicVector::normHelper (const Real &v) |
Real | BasicVector::normHelper (const int &v) |
template<class Scalar > | |
Scalar | BasicVector::normNoSqrt (const VECTOR_TYPE &v) |
template<class Scalar > | |
VECTOR_TYPE | BasicVector::getNormalized (const VECTOR_TYPE &v) |
template<class Scalar > | |
Scalar | BasicVector::normalize (VECTOR_TYPE &v) |
template<class Scalar > | |
VECTOR_TYPE | BasicVector::reflectVector (const VECTOR_TYPE &t, const VECTOR_TYPE &n) |
template<class Scalar > | |
VECTOR_TYPE | BasicVector::refractVector (const VECTOR_TYPE &t, const VECTOR_TYPE &normal, Scalar nt, Scalar nair, int &refRefl) |
template<class Scalar > | |
bool | BasicVector::equal (const VECTOR_TYPE &v, const VECTOR_TYPE &c) |
template<class Scalar > | |
void | BasicVector::rgbToHsv (VECTOR_TYPE &V) |
template<class Scalar > | |
void | BasicVector::hsvToRgb (VECTOR_TYPE &V) |
template<class Scalar > | |
std::ostream & | BasicVector::operator<< (std::ostream &os, const BasicVector::Vector3Dim< Scalar > &i) |
global string for formatting vector output in utilities.cpp | |
template<class Scalar > | |
std::istream & | BasicVector::operator>> (std::istream &is, BasicVector::Vector3Dim< Scalar > &i) |
Real | BasicVector::getVecEpsilon () |
Definition in file VEC3.h.
#define DBL_MAX __DBL_MAX__ |
Definition at line 66 of file VEC3.h.
Referenced by ui_mouse_motion_towards_init().
#define FLT_MAX __FLT_MAX__ |
Definition at line 62 of file VEC3.h.
Referenced by action_new(), ACTION_OT_clean(), add_speaker(), applyModifier(), area_add_window_regions(), BB_reset(), BLI_bvhtree_bb_raycast(), BLI_bvhtree_find_nearest(), BLI_bvhtree_ray_cast(), BLI_pbvh_search_callback_occluded(), BoundBox::BoundBox(), BPY_driver_reset(), BPy_FloatProperty(), BPy_FloatVectorProperty(), bvh_instance_pop(), bvh_instance_push(), bvhtree_ray_tri_intersection(), CalcSnapGeometry(), camera_sample_orthographic(), camera_sample_perspective(), camera_view_frame_fit_to_scene(), CLIP_OT_add_marker(), CLIP_OT_clean_tracks(), CLIP_OT_graph_select(), CLIP_OT_select(), CLIP_OT_set_scale(), CLIP_OT_set_solution_scale(), CLIP_OT_slide_marker(), CLIP_OT_view_pan(), CLIP_OT_view_zoom(), CLIP_OT_view_zoom_ratio(), closest_point_on_surface(), btVoronoiSimplexSolver::closestPtPointTetrahedron(), connect_hair(), convexHullSupport(), create_kdop_hull(), CURVE_OT_radius_set(), CURVE_OT_spin(), CURVE_OT_vertex_add(), def_cmp_colorbalance(), depth_segment_cb(), Camera::device_update(), direct_emission(), do_versions(), draw_actuatorbuttons(), draw_distortion(), ED_object_add_generic_props(), ED_view3d_autodist(), ED_view3d_autodist_depth(), ED_view3d_autodist_depth_seg(), ED_view3d_autodist_simple(), fast_ray_nearest_hit(), find_nearest_track(), followtrack_evaluate(), get_vert2geom_distance(), getNavmeshNormal(), gp_stroke_newfrombuffer(), graph_new(), GRAPH_OT_clean(), GRAPH_OT_click_insert(), GRAPH_OT_cursor_set(), IMAGE_OT_new(), IMAGE_OT_view_pan(), IMAGE_OT_view_zoom(), IMAGE_OT_view_zoom_ratio(), ImageRender::ImageRender(), index_to_float(), init_actuator(), init_heights_data(), init_metaball_octal_tree(), init_preview_region(), intersect_outside_volume(), joinSubgraphsEnds(), kernel_path_integrate(), lift_gamma_gain_to_asc_cdl(), light_sample(), SG_TreeFactory::MakeTreeUp(), mathutils_rna_vector_set(), MESH_OT_blend_from_shape(), MESH_OT_edges_select_sharp(), MESH_OT_extrude_repeat(), MESH_OT_faces_select_linked_flat(), MESH_OT_noise(), MESH_OT_primitive_circle_add(), MESH_OT_primitive_cone_add(), MESH_OT_primitive_cylinder_add(), MESH_OT_primitive_grid_add(), MESH_OT_primitive_ico_sphere_add(), MESH_OT_primitive_uv_sphere_add(), MESH_OT_screw(), MESH_OT_select_similar(), MESH_OT_solidify(), MESH_OT_spin(), MESH_OT_subdivide(), minDx(), minDy(), minDz(), mouse_select_init_data(), node_composit_init_value(), node_join(), node_shader_init_value(), node_type_base(), node_type_size(), OBJECT_OT_vertex_group_fix(), OBJECT_OT_vertex_group_levels(), PAINT_OT_clone_cursor_set(), PAINT_OT_grab_clone(), PARTICLE_OT_remove_doubles(), point_inside_obi(), POSE_OT_propagate(), processSamples(), project_paint_begin(), project_paint_delayed_face_init(), project_paint_face_init(), project_paint_PickFace(), pyrna_struct_keyframe_delete(), pyrna_struct_keyframe_insert(), pyrna_struct_keyframe_parse(), qbvh_instance_pop(), qbvh_instance_push(), ray_nearest_hit(), refit_kdop_hull(), regular_light_pdf(), regular_light_sample(), reorganize(), retargetArctoArcAggresive(), RNA_api_armature_edit_bone(), RNA_api_bone(), RNA_api_camera(), RNA_api_object(), RNA_api_pose_channel(), RNA_api_texture(), RNA_api_wm(), rna_clamp_value(), rna_def_background_image(), rna_def_beztriple(), rna_def_bpoint(), rna_def_brush(), RNA_def_camera(), rna_def_color_ramp(), rna_def_curve(), rna_def_environment_map(), rna_def_fcurve(), rna_def_fcurve_keyframe_points(), rna_def_lighting(), RNA_def_material(), rna_def_material_sss(), rna_def_material_volume(), rna_def_metaelement(), rna_def_modifier_array(), rna_def_modifier_bevel(), rna_def_modifier_cast(), rna_def_modifier_displace(), rna_def_modifier_hook(), rna_def_modifier_mirror(), rna_def_modifier_ocean(), rna_def_modifier_screw(), rna_def_modifier_shrinkwrap(), rna_def_modifier_simpledeform(), rna_def_modifier_smooth(), rna_def_modifier_solidify(), rna_def_modifier_uvproject(), rna_def_modifier_warp(), rna_def_modifier_wave(), rna_def_modifier_weightvg_mask(), rna_def_modifier_weightvgproximity(), rna_def_object(), RNA_def_property(), RNA_def_scene(), rna_def_sound_actuator(), rna_def_space_node(), rna_def_space_view3d(), rna_def_speaker(), rna_def_texture_clouds(), rna_def_texture_distorted_noise(), rna_def_texture_magic(), rna_def_texture_marble(), rna_def_texture_musgrave(), rna_def_texture_pointdensity(), rna_def_texture_stucci(), rna_def_texture_voronoi(), rna_def_texture_voxeldata(), rna_def_texture_wood(), rna_def_trackingMarker(), rna_def_trackingSettings(), rna_def_trackingTrack(), rna_def_unified_paint_settings(), rna_def_world_mist(), rna_float_print(), RNA_property_float_range(), RNA_property_float_ui_range(), rtbuild_heuristic_object_split(), KX_ObstacleSimulationTOI_rays::sampleRVO(), SEQUENCER_OT_view_zoom_ratio(), shadow_blocked(), shortestPathsFromVert(), shrinkwrap_calc_nearest_surface_point(), shrinkwrap_calc_nearest_vertex(), shrinkwrap_get_tarmat(), SimpleDeformModifier_do(), sk_getStrokeSnapPoint(), snapDerivedMesh(), snapObjects(), btSequentialImpulseConstraintSolver::solveGroupCacheFriendlySetup(), sphereray_tri_intersection(), testRadialSymmetry(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_seq_slide(), TRANSFORM_OT_shear(), TRANSFORM_OT_shrink_fatten(), TRANSFORM_OT_tilt(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), TRANSFORM_OT_warp(), Transform_Properties(), ui_check_but(), ui_set_but_soft_range(), uiBlockPicker(), UV_OT_cube_project(), UV_OT_cursor_set(), UV_OT_select(), UV_OT_select_linked_pick(), UV_OT_select_loop(), UV_OT_stitch(), uv_transform_properties(), v3d_editvertex_buts(), VIEW2D_OT_zoom(), VIEW2D_OT_zoom_in(), VIEW2D_OT_zoom_out(), view3d_depth_near(), view3d_zoom_border_exec(), viewrotate_apply(), vol_get_bounds(), vol_trace_behind(), weight_sample_invoke(), and weightFromDistance().
#define VECTOR_EPSILON (1e-5f) |
Definition at line 34 of file VEC3.h.
Referenced by BasicVector::equal(), BasicVector::getNormalized(), BasicVector::getVecEpsilon(), BasicVector::norm(), and BasicVector::normalize().
#define VECTOR_TYPE Vector3Dim<Scalar> |
Definition at line 714 of file VEC3.h.
Referenced by BasicVector::getNormalized(), and BasicVector::reflectVector().