Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 168) sorted by relevance

1234567

/oneTBB/examples/parallel_for/tachyon/src/
H A Dapi.hpp77 vector ctr; /* origin of texture */
139 void rt_camerasetup(SceneHandle, apiflt, apiflt, int, int, vector, vector, vector);
153 void rt_scalarvol(void *, vector, vector, int, int, int, char *, void *);
155 void rt_extvol(void *, vector, vector, int, apiflt (*evaluator)(apiflt, apiflt, apiflt));
157 void rt_box(void *, vector, vector);
160 void rt_plane(void *, vector, vector);
163 void rt_ring(void *, vector, vector, apiflt, apiflt);
166 void rt_tri(void *, vector, vector, vector);
169 void rt_stri(void *, vector, vector, vector, vector, vector, vector);
180 void rt_cylinder(void *, vector, vector, apiflt);
[all …]
H A Dtriangle.hpp52 object *newtri(void *, vector, vector, vector);
53 object *newstri(void *, vector, vector, vector, vector, vector, vector);
66 vector edge2;
68 vector v0;
78 vector v0;
79 vector n0;
80 vector n1;
81 vector n2;
84 static int tri_bbox(void *obj, vector *min, vector *max);
88 static void tri_normal(tri *, vector *, ray *, vector *);
[all …]
H A Dvector.hpp52 flt VDot(vector *, vector *);
53 void VCross(vector *, vector *, vector *);
54 flt VLength(vector *);
55 void VNorm(vector *);
56 void VAdd(vector *, vector *, vector *);
57 void VSub(vector *, vector *, vector *);
58 void VAddS(flt, vector *, vector *, vector *);
59 vector Raypnt(ray *, flt);
60 void VScale(vector *a, flt s);
H A Dapi.cpp82 vector v; in rt_vector()
346 void rt_box(void *tex, vector min, vector max) { in rt_box()
347 add_object((object *)newbox(tex, (vector)min, (vector)max)); in rt_box()
351 add_object(newcylinder(tex, (vector)ctr, (vector)axis, rad)); in rt_cylinder()
358 void rt_plane(void *tex, vector ctr, vector norm) { in rt_plane()
359 add_object(newplane(tex, (vector)ctr, (vector)norm)); in rt_plane()
363 add_object(newring(tex, (vector)ctr, (vector)norm, a, b)); in rt_ring()
370 void rt_tri(void *tex, vector v0, vector v1, vector v2) { in rt_tri()
373 trn = newtri(tex, (vector)v0, (vector)v1, (vector)v2); in rt_tri()
380 void rt_stri(void *tex, vector v0, vector v1, vector v2, vector n0, vector n1, vector n2) { in rt_stri()
[all …]
H A Dcylinder.hpp52 object *newcylinder(void *, vector, vector, flt);
53 object *newfcylinder(void *, vector, vector, flt);
62 vector ctr;
63 vector axis;
70 static int cylinder_bbox(void *obj, vector *min, vector *max);
71 static int fcylinder_bbox(void *obj, vector *min, vector *max);
73 static void cylinder_normal(cylinder *, vector *, ray *, vector *);
H A Dtypes.hpp103 } vector; typedef
148 vector ctr; /* origin of texture */
149 vector rot; /* rotation of texture about origin */
150 vector scale; /* scale of texture in x,y,z */
151 vector uaxs; /* planar map U axis */
152 vector vaxs; /* planar map V axis */
160 int (*bbox)(void *, vector *, vector *); /* return the object bbox */
197 vector camupvec; /* up axis for the camera (Y axis) */
208 vector o; /* origin of the ray X,Y,Z */
209 vector d; /* normalized direction of the ray */
[all …]
H A Dapitrigeom.hpp52 void rt_tri_fcylinder(void* tex, vector ctr, vector axis, apiflt rad);
53 void rt_tri_cylinder(void* tex, vector ctr, vector axis, apiflt rad);
54 void rt_tri_ring(void* tex, vector ctr, vector norm, apiflt a, apiflt b);
55 void rt_tri_plane(void* tex, vector ctr, vector norm);
56 void rt_tri_box(void* tex, vector min, vector max);
H A Dvector.cpp54 flt VDot(vector *a, vector *b) { in VDot()
58 void VCross(vector *a, vector *b, vector *c) { in VCross()
64 flt VLength(vector *a) { in VLength()
68 void VNorm(vector *a) { in VNorm()
79 void VAdd(vector *a, vector *b, vector *c) { in VAdd()
85 void VSub(vector *a, vector *b, vector *c) { in VSub()
91 void VAddS(flt a, vector *A, vector *B, vector *C) { in VAddS()
97 vector Raypnt(ray *a, flt t) { in Raypnt()
98 vector temp; in Raypnt()
107 void VScale(vector *a, flt s) { in VScale()
H A Dtexture.hpp54 color standard_texture(vector *, texture *, ray *);
55 color image_cyl_texture(vector *, texture *, ray *);
56 color image_sphere_texture(vector *, texture *, ray *);
57 color image_plane_texture(vector *, texture *, ray *);
58 color checker_texture(vector *, texture *, ray *);
59 color cyl_checker_texture(vector *, texture *, ray *);
60 color grit_texture(vector *, texture *, ray *);
61 color wood_texture(vector *, texture *, ray *);
62 color marble_texture(vector *, texture *, ray *);
63 color gnoise_texture(vector *, texture *, ray *);
H A Dring.hpp52 object *newring(void *tex, vector ctr, vector norm, flt in, flt out);
60 vector ctr;
61 vector norm;
66 static int ring_bbox(void *obj, vector *min, vector *max);
68 static void ring_normal(ring *, vector *, ray *incident, vector *);
H A Dapitrigeom.cpp58 #define MyVCross(a, b, c) VCross((vector *)a, (vector *)b, (vector *)c)
59 #define MyVAddS(x, a, b, c) VAddS((flt)x, (vector *)a, (vector *)b, (vector *)c)
65 void rt_tri_fcylinder(void *tex, vector ctr, vector axis, apiflt rad) { in rt_tri_fcylinder()
66 vector x, y, z, tmp; in rt_tri_fcylinder()
70 vector n1, n2; in rt_tri_fcylinder()
113 void rt_tri_cylinder(void *tex, vector ctr, vector axis, apiflt rad) { in rt_tri_cylinder()
117 void rt_tri_ring(void *tex, vector ctr, vector norm, apiflt a, apiflt b) { in rt_tri_ring()
118 vector x, y, z, tmp; in rt_tri_ring()
122 vector n1, n2; in rt_tri_ring()
164 void rt_tri_box(void *tex, vector min, vector max) { in rt_tri_box()
[all …]
H A Dplane.hpp52 object *newplane(void *tex, vector ctr, vector norm);
61 vector norm;
65 static int plane_bbox(void *obj, vector *min, vector *max);
66 static void plane_normal(plane *, vector *, ray *incident, vector *);
H A Dtriangle.cpp70 object *newtri(void *tex, vector v0, vector v1, vector v2) { in newtri()
72 vector edge1, edge2, edge3; in newtri()
97 object *newstri(void *tex, vector v0, vector v1, vector v2, vector n0, vector n1, vector n2) { in newstri()
99 vector edge1, edge2, edge3; in newstri()
139 static int tri_bbox(void *obj, vector *min, vector *max) { in tri_bbox()
141 vector v1, v2; in tri_bbox()
158 vector tvec, pvec, qvec; in tri_intersect()
194 static void tri_normal(tri *trn, vector *pnt, ray *incident, vector *N) { in tri_normal()
206 static void stri_normal(stri *trn, vector *pnt, ray *incident, vector *N) { in stri_normal()
208 vector P, tmp, norm; in stri_normal()
H A Dgrid.hpp54 object *newgrid(int xsize, int ysize, int zsize, vector min, vector max);
71 vector min; /* the minimum coords for the box containing the grid */
72 vector max; /* the maximum coords for the box containing the grid */
73 vector voxsize; /* the size of a grid cell/voxel */
98 static int grid_bbox(void *obj, vector *min, vector *max);
101 static int cellbound(grid *g, gridindex *index, vector *cmin, vector *cmax);
109 static int pos2grid(grid *g, vector *pos, gridindex *index);
H A Dbox.hpp57 vector min;
58 vector max;
61 box *newbox(void *tex, vector min, vector max);
63 void box_normal(box *, vector *, ray *incident, vector *);
H A Dshade.hpp56 color shade_reflection(ray *, vector *, vector *, flt);
57 color shade_transmission(ray *, vector *, flt);
58 flt shade_phong(ray *incident, vector *hit, vector *N, vector *L, flt specpower);
H A Dlight.hpp57 vector ctr;
61 point_light *newlight(void *, vector, flt);
64 static int light_bbox(void *obj, vector *min, vector *max);
66 static void light_normal(point_light *, vector *, ray *, vector *);
H A Dsphere.hpp52 object *newsphere(void *, vector, flt);
61 vector ctr;
65 static int sphere_bbox(void *obj, vector *min, vector *max);
67 static void sphere_normal(sphere *, vector *, ray *, vector *);
H A Dbndbox.hpp57 vector min;
58 vector max;
62 bndbox *newbndbox(vector min, vector max);
66 static int bndbox_bbox(void *obj, vector *min, vector *max);
H A Dlight.cpp65 point_light *newlight(void *tex, vector ctr, flt rad) { in newlight()
79 static int light_bbox(void *obj, vector *min, vector *max) { in light_bbox()
85 vector V; in light_intersect()
111 static void light_normal(point_light *l, vector *pnt, ray *incident, vector *N) { in light_normal()
112 VSub((vector *)pnt, &(l->ctr), N); in light_normal()
H A Dplane.cpp65 object *newplane(void *tex, vector ctr, vector norm) { in newplane()
80 static int plane_bbox(void *obj, vector *min, vector *max) { in plane_bbox()
96 static void plane_normal(plane *pln, vector *pnt, ray *incident, vector *N) { in plane_normal()
H A Dextvol.hpp58 vector min;
59 vector max;
68 vector min,
69 vector max,
72 color ext_volume_texture(vector *, texture *, ray *);
/oneTBB/test/conformance/
H A Dconformance_parallel_scan.cpp38 std::vector<T>& y;
39 const std::vector<T>& z;
41 …Body( const std::vector<T>& z_, std::vector<T>& y_, T id ) : identity(id), sum(id), y(y_), z(z_) {} in Body()
89 std::vector<int> input(size);
90 std::vector<int> output(size);
91 std::vector<int> control(size);
109 std::vector<std::size_t> input(size);
110 std::vector<std::size_t> output(size);
111 std::vector<std::size_t> control(size);
155 std::vector<std::size_t> desired_vector(iterations);
[all …]
/oneTBB/test/tbb/
H A Dtest_numa_dist.cpp60 std::vector<DWORD> numaProcessors;
71 int TestNumaDistribution(std::vector<DWORD> &validateProcgrp, int additionalParallelism, bool allTh… in TestNumaDistribution()
113 std::vector<DWORD> validateProcgrp;
116 std::vector<DWORD> result(GetMaximumProcessorGroupCount(), 0);
125 std::vector<DWORD> validateProcgrp;
128 std::vector<DWORD> result(GetMaximumProcessorGroupCount(), 0);
142 std::vector<DWORD> validateProcgrp;
151 std::vector<DWORD> validateProcgrp;
152 std::vector<DWORD> result(example.numaProcessors.size(), 0);
/oneTBB/examples/task_group/sudoku/
H A Dsudoku.cpp68 void print_board(const std::vector<board_element>& b) { in print_board()
81 void print_potential_board(const std::vector<board_element>& b) { in print_potential_board()
97 void init_board(std::vector<board_element>& b) { in init_board()
102 void init_board(std::vector<board_element>& b, unsigned short arr[BOARD_SIZE]) { in init_board()
109 void init_potentials(std::vector<board_element>& b) { in init_potentials()
114 bool fixed_board(const std::vector<board_element>& b) { in fixed_board()
144 void calculate_potentials(std::vector<board_element>& b) { in calculate_potentials()
158 bool valid_board(const std::vector<board_element>& b) { in valid_board()
172 bool examine_potentials(std::vector<board_element>& b, bool& progress) { in examine_potentials()
230 std::vector<board_element>& b, in partial_solve()
[all …]

1234567