Home
last modified time | relevance | path

Searched refs:lut1 (Results 1 – 25 of 115) sorted by relevance

12345

/dports/math/vtk8/VTK-8.2.0/Rendering/Core/Testing/Cxx/
H A DotherLookupTableWithEnabling.cxx27 lut1->SetRange(1,1024); in TestOLT()
29 lut1->Allocate (1024); in TestOLT()
30 lut1->SetRampToLinear(); in TestOLT()
31 lut1->Build(); in TestOLT()
34 lut1->GetColor(0, rgb); in TestOLT()
36 lut1->GetOpacity(0); in TestOLT()
170 lut1->SetAlpha(1.0); in otherLookupTableWithEnabling()
172 TestOLT(lut1); in otherLookupTableWithEnabling()
173 lut1->SetAlpha(.5); in otherLookupTableWithEnabling()
174 TestOLT(lut1); in otherLookupTableWithEnabling()
[all …]
H A DotherLookupTable.cxx28 lut1->SetRange(1,1024); in TestOLT()
30 lut1->Allocate (1024); in TestOLT()
31 lut1->SetRampToLinear(); in TestOLT()
32 lut1->Build(); in TestOLT()
35 lut1->GetColor(0, rgb); in TestOLT()
37 lut1->GetOpacity(0); in TestOLT()
161 lut1->SetAlpha(1.0); in otherLookupTable()
163 TestOLT(lut1); in otherLookupTable()
164 lut1->SetAlpha(.5); in otherLookupTable()
165 TestOLT(lut1); in otherLookupTable()
[all …]
/dports/math/vtk9/VTK-9.1.0/Rendering/Core/Testing/Cxx/
H A DotherLookupTableWithEnabling.cxx27 lut1->SetRange(1, 1024); in TestOLT()
29 lut1->Allocate(1024); in TestOLT()
30 lut1->SetRampToLinear(); in TestOLT()
31 lut1->Build(); in TestOLT()
34 lut1->GetColor(0, rgb); in TestOLT()
36 lut1->GetOpacity(0); in TestOLT()
119 lut1->SetAlpha(1.0); in otherLookupTableWithEnabling()
121 TestOLT(lut1); in otherLookupTableWithEnabling()
122 lut1->SetAlpha(.5); in otherLookupTableWithEnabling()
123 TestOLT(lut1); in otherLookupTableWithEnabling()
[all …]
H A DotherLookupTable.cxx28 lut1->SetRange(1, 1024); in TestOLT()
30 lut1->Allocate(1024); in TestOLT()
31 lut1->SetRampToLinear(); in TestOLT()
32 lut1->Build(); in TestOLT()
35 lut1->GetColor(0, rgb); in TestOLT()
37 lut1->GetOpacity(0); in TestOLT()
114 lut1->SetAlpha(1.0); in otherLookupTable()
116 TestOLT(lut1); in otherLookupTable()
117 lut1->SetAlpha(.5); in otherLookupTable()
118 TestOLT(lut1); in otherLookupTable()
[all …]
/dports/math/vtk6/VTK-6.2.0/Rendering/Core/Testing/Cxx/
H A DotherLookupTableWithEnabling.cxx27 lut1->SetRange(1,1024); in TestOLT()
29 lut1->Allocate (1024); in TestOLT()
30 lut1->SetRampToLinear(); in TestOLT()
31 lut1->Build(); in TestOLT()
34 lut1->GetColor(0, rgb); in TestOLT()
36 lut1->GetOpacity(0); in TestOLT()
170 lut1->SetAlpha(1.0); in otherLookupTableWithEnabling()
172 TestOLT(lut1); in otherLookupTableWithEnabling()
173 lut1->SetAlpha(.5); in otherLookupTableWithEnabling()
174 TestOLT(lut1); in otherLookupTableWithEnabling()
[all …]
H A DotherLookupTable.cxx28 lut1->SetRange(1,1024); in TestOLT()
30 lut1->Allocate (1024); in TestOLT()
31 lut1->SetRampToLinear(); in TestOLT()
32 lut1->Build(); in TestOLT()
35 lut1->GetColor(0, rgb); in TestOLT()
37 lut1->GetOpacity(0); in TestOLT()
161 lut1->SetAlpha(1.0); in otherLookupTable()
163 TestOLT(lut1); in otherLookupTable()
164 lut1->SetAlpha(.5); in otherLookupTable()
165 TestOLT(lut1); in otherLookupTable()
[all …]
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/core/objects/wrappers/
H A DLut.h157 Lut<TValue, TScalar> lutOperation(const Lut<TValue, TScalar>& lut1, in lutOperation() argument
161 … const Float dx = min(lut1.getRange().size() / lut1.size(), lut2.getRange().size() / lut2.size()); in lutOperation()
163 const Interval range = lut1.getRange().intersect(lut2.getRange()); in lutOperation()
166 auto func = [&lut1, &lut2, &op](const Float x) { return op(lut1(x), lut2(x)); }; in lutOperation()
181 return lutOperation(lut1, lut2, [](const Float x1, const Float x2) { return x1 + x2; });
186 return lutOperation(lut1, lut2, [](const Float x1, const Float x2) { return x1 - x2; });
191 return lutOperation(lut1, lut2, [](const Float x1, const Float x2) { return x1 * x2; });
200 Lut<TValue, TScalar> operator+(const Lut<TValue, TScalar>& lut1, const TScalar& mult) {
205 Lut<TValue, TScalar> operator-(const Lut<TValue, TScalar>& lut1, const TScalar& mult) {
210 Lut<TValue, TScalar> operator*(const Lut<TValue, TScalar>& lut1, const TScalar& mult) {
[all …]
/dports/math/vtk6/VTK-6.2.0/Filters/General/Testing/Tcl/
H A DTestCurvatures.tcl46 vtkLookupTable lut1
47 lut1 SetNumberOfColors 256
48 lut1 SetHueRange 0.15 1.0
49 lut1 SetSaturationRange 1.0 1.0
50 lut1 SetValueRange 1.0 1.0
51 lut1 SetAlphaRange 1.0 1.0
52 lut1 SetRange -20 20
64 cmapper1 SetLookupTable lut1
/dports/math/vtk8/VTK-8.2.0/Filters/General/Testing/Python/
H A DTestCurvatures.py41 lut1 = vtk.vtkLookupTable() variable
42 lut1.SetNumberOfColors(256)
43 lut1.SetHueRange(0.15,1.0)
44 lut1.SetSaturationRange(1.0,1.0)
45 lut1.SetValueRange(1.0,1.0)
46 lut1.SetAlphaRange(1.0,1.0)
47 lut1.SetRange(-20,20)
57 cmapper1.SetLookupTable(lut1)
/dports/math/vtk9/VTK-9.1.0/Filters/General/Testing/Python/
H A DTestCurvatures.py37 lut1 = vtk.vtkLookupTable() variable
38 lut1.SetNumberOfColors(256)
39 lut1.SetHueRange(0.15,1.0)
40 lut1.SetSaturationRange(1.0,1.0)
41 lut1.SetValueRange(1.0,1.0)
42 lut1.SetAlphaRange(1.0,1.0)
43 lut1.SetRange(-20,20)
53 cmapper1.SetLookupTable(lut1)
/dports/math/vtk6/VTK-6.2.0/Filters/General/Testing/Python/
H A DTestCurvatures.py42 lut1 = vtk.vtkLookupTable() variable
43 lut1.SetNumberOfColors(256)
44 lut1.SetHueRange(0.15,1.0)
45 lut1.SetSaturationRange(1.0,1.0)
46 lut1.SetValueRange(1.0,1.0)
47 lut1.SetAlphaRange(1.0,1.0)
48 lut1.SetRange(-20,20)
58 cmapper1.SetLookupTable(lut1)
/dports/math/vtk6/VTK-6.2.0/Common/Color/Testing/Cxx/
H A DTestColorSeriesLookupTables.cxx184 lut1->GetTableRange(dR1); in CompareOrdinalLUTs()
194 vtkIdType tv = lut1->GetNumberOfTableValues(); in CompareOrdinalLUTs()
196 lut1->GetTableRange(dR); in CompareOrdinalLUTs()
206 lut1->GetColor(*p, rgba1); in CompareOrdinalLUTs()
207 rgba1[3] = lut1->GetOpacity(*p); in CompareOrdinalLUTs()
246 lut1->GetTableRange(dR1); in CompareCategoricalLUTs()
256 vtkIdType tv = lut1->GetNumberOfTableValues(); in CompareCategoricalLUTs()
258 lut1->GetTableRange(dR); in CompareCategoricalLUTs()
272 lut1->MapScalars(data, VTK_RGBA, 0); in CompareCategoricalLUTs()
332 colorSeries->BuildLookupTable(lut1); in TestColorSeriesLookupTables()
[all …]
/dports/math/vtk9/VTK-9.1.0/Common/Color/Testing/Cxx/
H A DTestColorSeriesLookupTables.cxx178 lut1->GetTableRange(dR1); in CompareOrdinalLUTs()
188 vtkIdType tv = lut1->GetNumberOfTableValues(); in CompareOrdinalLUTs()
190 lut1->GetTableRange(dR); in CompareOrdinalLUTs()
200 lut1->GetColor(*p, rgba1); in CompareOrdinalLUTs()
201 rgba1[3] = lut1->GetOpacity(*p); in CompareOrdinalLUTs()
239 lut1->GetTableRange(dR1); in CompareCategoricalLUTs()
249 vtkIdType tv = lut1->GetNumberOfTableValues(); in CompareCategoricalLUTs()
251 lut1->GetTableRange(dR); in CompareCategoricalLUTs()
321 colorSeries->BuildLookupTable(lut1); in TestColorSeriesLookupTables()
323 lut1->IndexedLookupOff(); in TestColorSeriesLookupTables()
[all …]
/dports/math/vtk8/VTK-8.2.0/Common/Color/Testing/Cxx/
H A DTestColorSeriesLookupTables.cxx185 lut1->GetTableRange(dR1); in CompareOrdinalLUTs()
195 vtkIdType tv = lut1->GetNumberOfTableValues(); in CompareOrdinalLUTs()
197 lut1->GetTableRange(dR); in CompareOrdinalLUTs()
208 lut1->GetColor(*p, rgba1); in CompareOrdinalLUTs()
209 rgba1[3] = lut1->GetOpacity(*p); in CompareOrdinalLUTs()
248 lut1->GetTableRange(dR1); in CompareCategoricalLUTs()
258 vtkIdType tv = lut1->GetNumberOfTableValues(); in CompareCategoricalLUTs()
260 lut1->GetTableRange(dR); in CompareCategoricalLUTs()
275 lut1->MapScalars(data, VTK_RGBA, 0); in CompareCategoricalLUTs()
335 colorSeries->BuildLookupTable(lut1); in TestColorSeriesLookupTables()
[all …]
/dports/graphics/libfpx/libfpx-1.3.1-10/fpx/
H A Dfilter.cpp697 case 1: lut = luts->lut1; break; in InitPackedLuts()
762 long *lut0, *lut1, *lut2; in Fastconv() local
802 lut1 = luts->lut1; in Fastconv()
808 fwd1 = (lut1[ip[-5]] >> 10) + lut1[ip[-4]]; in Fastconv()
809 rev1 = (lut1[ip[3]] << 10) + lut1[ip[4]]; in Fastconv()
815 fwd1 = (fwd1 >> 10) + lut1[ip[-3]]; in Fastconv()
816 rev1 = (rev1 << 10) + lut1[ip[5]]; in Fastconv()
829 lut1 = luts->lut1; in Fastconv()
836 fwd1 = (lut1[ip[-5]] >> 10) + lut1[ip[-4]]; in Fastconv()
837 rev1 = (lut1[ip[ 3]] << 10) + lut1[ip[4]]; in Fastconv()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/qcms/src/tests/
H A Dqcms_test_tetra_clut_rgba.c88 float *lut0, *lut1; in qcms_test_tetra_clut_rgba() local
114 lut1 = (float *)malloc(lutSize * sizeof(float)); in qcms_test_tetra_clut_rgba()
115 memcpy(lut1, lut0, lutSize * sizeof(float)); in qcms_test_tetra_clut_rgba()
121 transform1.r_clut = &lut1[0]; in qcms_test_tetra_clut_rgba()
122 transform1.g_clut = &lut1[1]; in qcms_test_tetra_clut_rgba()
123 transform1.b_clut = &lut1[2]; in qcms_test_tetra_clut_rgba()
171 free(lut1); in qcms_test_tetra_clut_rgba()
/dports/games/libretro-paralleln64/parallel-n64-6e26fbb/mupen64plus-core/src/si/
H A Dn64_cic_nus_6105.c102 static const char lut1[0x10] = { in n64_cic_nus_6105() local
116 if (lut == lut1 && (rsp[i] == 0x1 || rsp[i] == 0x9)) in n64_cic_nus_6105()
118 if (lut == lut1 && (rsp[i] == 0xB || rsp[i] == 0xE)) in n64_cic_nus_6105()
121 lut = (mod == 1) ? lut1 : lut0; in n64_cic_nus_6105()
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/core/objects/wrappers/test/
H A DLut.cpp41 Lut<Float> lut1(Interval(0._f, 2._f * PI), 10000, Sph::sin); variable
43 Lut<Float> prod = lut1 * lut2;
44 REQUIRE(prod.getRange() == lut1.getRange());
45 REQUIRE(prod.size() == lut1.size());
50 Lut<Float> lut1(Interval(-PI / 3._f, PI / 3._f), 10000, Sph::sin); variable
52 REQUIRE(lutEquals(lut1 / lut2, Sph::tan));
/dports/math/vtk9/VTK-9.1.0/Filters/General/Testing/Cxx/
H A DBoxClipPointData.cxx66 vtkSmartPointer<vtkLookupTable> lut1 = vtkSmartPointer<vtkLookupTable>::New(); in BoxClipPointData() local
67 lut1->SetHueRange(.667, 0); in BoxClipPointData()
68 lut1->Build(); in BoxClipPointData()
77 mapperIn->SetLookupTable(lut1); in BoxClipPointData()
89 mapperOut->SetLookupTable(lut1); in BoxClipPointData()
H A DBoxClipOrientedPointData.cxx73 vtkSmartPointer<vtkLookupTable> lut1 = vtkSmartPointer<vtkLookupTable>::New(); in BoxClipOrientedPointData() local
74 lut1->SetHueRange(.667, 0); in BoxClipOrientedPointData()
75 lut1->Build(); in BoxClipOrientedPointData()
84 mapperIn->SetLookupTable(lut1); in BoxClipOrientedPointData()
96 mapperOut->SetLookupTable(lut1); in BoxClipOrientedPointData()
/dports/math/vtk8/VTK-8.2.0/Filters/General/Testing/Cxx/
H A DBoxClipPointData.cxx68 vtkSmartPointer<vtkLookupTable> lut1 = in BoxClipPointData() local
70 lut1->SetHueRange (.667, 0); in BoxClipPointData()
71 lut1->Build(); in BoxClipPointData()
81 mapperIn->SetLookupTable(lut1); in BoxClipPointData()
95 mapperOut->SetLookupTable(lut1); in BoxClipPointData()
H A DBoxClipOrientedPointData.cxx78 vtkSmartPointer<vtkLookupTable> lut1 = in BoxClipOrientedPointData() local
80 lut1->SetHueRange (.667, 0); in BoxClipOrientedPointData()
81 lut1->Build(); in BoxClipOrientedPointData()
91 mapperIn->SetLookupTable(lut1); in BoxClipOrientedPointData()
105 mapperOut->SetLookupTable(lut1); in BoxClipOrientedPointData()
/dports/cad/yosys/yosys-yosys-0.12/techlibs/xilinx/
H A Dlut_map.v68 \$lut #(.LUT(LUT[31:16]), .WIDTH(4)) lut1 (.A(A[3:0]), .Y(f1)); instance
74 \$lut #(.LUT(LUT[63:32]), .WIDTH(5)) lut1 (.A(A[4:0]), .Y(f1)); instance
80 \$lut #(.LUT(LUT[127:64]), .WIDTH(6)) lut1 (.A(A[5:0]), .Y(f1)); instance
86 \$lut #(.LUT(LUT[255:128]), .WIDTH(7)) lut1 (.A(A[6:0]), .Y(f1)); instance
92 \$lut #(.LUT(LUT[511:256]), .WIDTH(8)) lut1 (.A(A[7:0]), .Y(f1)); instance
/dports/cad/yosys/yosys-yosys-0.12/tests/arch/xilinx/
H A Dxilinx_dffopt.ys13 LUT2 #(.INIT(4'h6)) lut1 (.I0(i[1]), .I1(i[2]), .O(tmp[1]));
60 LUT2 #(.INIT(4'h6)) lut1 (.I0(i[1]), .I1(i[2]), .O(tmp[1]));
108 LUT2 #(.INIT(4'h6)) lut1 (.I0(i[1]), .I1(i[2]), .O(tmp[1]));
145 LUT2 #(.INIT(4'h6)) lut1 (.I0(i[1]), .I1(i[2]), .O(tmp[1]));
191 LUT2 #(.INIT(4'h6)) lut1 (.I0(i[1]), .I1(i[2]), .O(tmp[1]));
240 LUT2 #(.INIT(4'h6)) lut1 (.I0(i[1]), .I1(i[2]), .O(tmp[1]));
/dports/cad/yosys/yosys-yosys-0.12/techlibs/gowin/
H A Dcells_map.v153 \$lut #(.LUT(LUT[31:16]), .WIDTH(4)) lut1 (.A(A[3:0]), .Y(f1)); instance
159 \$lut #(.LUT(LUT[63:32]), .WIDTH(5)) lut1 (.A(A[4:0]), .Y(f1)); instance
165 \$lut #(.LUT(LUT[127:64]), .WIDTH(6)) lut1 (.A(A[5:0]), .Y(f1)); instance
171 \$lut #(.LUT(LUT[255:128]), .WIDTH(7)) lut1 (.A(A[6:0]), .Y(f1)); instance

12345