/dports/math/vtk8/VTK-8.2.0/Infovis/Layout/Testing/Cxx/ |
H A D | TestGroupLeafVertices.cxx | 66 colorArray->SetName("color"); in TestGroupLeafVertices() 70 colorArray->InsertNextValue("black"); in TestGroupLeafVertices() 74 colorArray->InsertNextValue("brown"); in TestGroupLeafVertices() 78 colorArray->InsertNextValue("black"); in TestGroupLeafVertices() 82 colorArray->InsertNextValue("black"); in TestGroupLeafVertices() 86 colorArray->InsertNextValue("white"); in TestGroupLeafVertices() 90 colorArray->InsertNextValue("black"); in TestGroupLeafVertices() 94 colorArray->InsertNextValue("white"); in TestGroupLeafVertices() 98 colorArray->InsertNextValue("brown"); in TestGroupLeafVertices() 102 colorArray->InsertNextValue("brown"); in TestGroupLeafVertices() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Examples/Infovis/Cxx/ |
H A D | TreeLayout.cxx | 54 const char* colorArray = nullptr; in main() local 67 colorArray = argv[3]; in main() 95 if (colorArray && in main() 96 tree->GetVertexData()->GetAbstractArray(colorArray) == nullptr) in main() 98 cerr << "ERROR: The color attribute " << colorArray << " is not defined in the file." << endl; in main() 104 if (colorArray && in main() 107 cerr << "ERROR: The color attribute " << colorArray << " does not have numeric values." << endl; in main() 116 if (colorArray) in main() 119 tree->GetVertexData()->GetAbstractArray(colorArray)); in main() 157 if (colorArray) in main() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Examples/Infovis/Cxx/ |
H A D | TreeLayout.cxx | 54 const char* colorArray = nullptr; in main() local 67 colorArray = argv[3]; in main() 95 if (colorArray && tree->GetVertexData()->GetAbstractArray(colorArray) == nullptr) in main() 97 cerr << "ERROR: The color attribute " << colorArray << " is not defined in the file." << endl; in main() 103 if (colorArray && in main() 104 vtkArrayDownCast<vtkDataArray>(tree->GetVertexData()->GetAbstractArray(colorArray)) == nullptr) in main() 106 cerr << "ERROR: The color attribute " << colorArray << " does not have numeric values." << endl; in main() 115 if (colorArray) in main() 118 vtkArrayDownCast<vtkDataArray>(tree->GetVertexData()->GetAbstractArray(colorArray)); in main() 156 if (colorArray) in main() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Infovis/Layout/Testing/Cxx/ |
H A D | TestGroupLeafVertices.cxx | 65 colorArray->SetName("color"); in TestGroupLeafVertices() 69 colorArray->InsertNextValue("black"); in TestGroupLeafVertices() 73 colorArray->InsertNextValue("brown"); in TestGroupLeafVertices() 77 colorArray->InsertNextValue("black"); in TestGroupLeafVertices() 81 colorArray->InsertNextValue("black"); in TestGroupLeafVertices() 85 colorArray->InsertNextValue("white"); in TestGroupLeafVertices() 89 colorArray->InsertNextValue("black"); in TestGroupLeafVertices() 93 colorArray->InsertNextValue("white"); in TestGroupLeafVertices() 97 colorArray->InsertNextValue("brown"); in TestGroupLeafVertices() 101 colorArray->InsertNextValue("brown"); in TestGroupLeafVertices() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Examples/Infovis/Cxx/ |
H A D | TreeLayout.cxx | 54 const char* colorArray = NULL; in main() local 67 colorArray = argv[3]; in main() 95 if (colorArray && in main() 96 tree->GetVertexData()->GetAbstractArray(colorArray) == NULL) in main() 98 cerr << "ERROR: The color attribute " << colorArray << " is not defined in the file." << endl; in main() 104 if (colorArray && in main() 105 vtkDataArray::SafeDownCast(tree->GetVertexData()->GetAbstractArray(colorArray)) == NULL) in main() 116 if (colorArray) in main() 119 tree->GetVertexData()->GetAbstractArray(colorArray)); in main() 157 if (colorArray) in main() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Infovis/Layout/Testing/Cxx/ |
H A D | TestGroupLeafVertices.cxx | 67 colorArray->SetName("color"); in TestGroupLeafVertices() 71 colorArray->InsertNextValue("black"); in TestGroupLeafVertices() 75 colorArray->InsertNextValue("brown"); in TestGroupLeafVertices() 79 colorArray->InsertNextValue("black"); in TestGroupLeafVertices() 83 colorArray->InsertNextValue("black"); in TestGroupLeafVertices() 87 colorArray->InsertNextValue("white"); in TestGroupLeafVertices() 91 colorArray->InsertNextValue("black"); in TestGroupLeafVertices() 95 colorArray->InsertNextValue("white"); in TestGroupLeafVertices() 99 colorArray->InsertNextValue("brown"); in TestGroupLeafVertices() 103 colorArray->InsertNextValue("brown"); in TestGroupLeafVertices() [all …]
|
/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/test/testbgrafunc/ |
H A D | utest31.pas | 29 colorArray: array of TBGRAPixel; 69 setlength(colorArray,6); 70 colorArray[0] := BGRA(255,128,128); 71 colorArray[1] := BGRA(255,160,0); 72 colorArray[2] := BGRA(255,255,0); 73 colorArray[3] := BGRA(160,255,0); 74 colorArray[4] := BGRA(0,255,160); 75 colorArray[5] := BGRA(128,128,255); 210 c := colorArray[high(colorArray)]; 213 c2 := colorArray[i]; [all …]
|
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/test/testbgrafunc/ |
H A D | utest31.pas | 29 colorArray: array of TBGRAPixel; 69 setlength(colorArray,6); 70 colorArray[0] := BGRA(255,128,128); 71 colorArray[1] := BGRA(255,160,0); 72 colorArray[2] := BGRA(255,255,0); 73 colorArray[3] := BGRA(160,255,0); 74 colorArray[4] := BGRA(0,255,160); 75 colorArray[5] := BGRA(128,128,255); 210 c := colorArray[high(colorArray)]; 213 c2 := colorArray[i]; [all …]
|
/dports/math/vtk6/VTK-6.2.0/Infovis/Parallel/ |
H A D | vtkPBGLVertexColoring.cxx | 94 vtkIdTypeArray* colorArray = vtkIdTypeArray::New(); in RequestData() local 97 colorArray->SetName(this->ColorArrayName); in RequestData() 101 colorArray->SetName("Color"); in RequestData() 103 colorArray->SetNumberOfTuples(output->GetNumberOfVertices()); in RequestData() 127 = MakeDistributedVertexPropertyMap(output, colorArray); in RequestData() 143 output->GetVertexData()->AddArray(colorArray); in RequestData() 144 colorArray->Delete(); in RequestData()
|
/dports/textproc/fox-xml/fox-4.1.2-91-g9c6716e/wkml/ |
H A D | m_wkml_color.F90 | 9 use m_wkml_color_def, only: colorArray 185 if (i>size(colorArray).or.(i<1)) then 190 c%hex = str(defaultAlpha, 'x2')//str(colorArray(i)%b, 'x2') & 191 //str(colorArray(i)%g, 'x2')//str(colorArray(i)%r, 'x2') 204 do i = 1, size(colorArray) 205 if (trim(colorArray(i)%name)==name) then 206 c%hex = str(defaultAlpha, 'x2')//str(colorArray(i)%b, 'x2') & 207 //str(colorArray(i)%g, 'x2')//str(colorArray(i)%r, 'x2')
|
/dports/graphics/pear-Image_3D/Image_3D-0.4.2/Image/3D/ |
H A D | Color.php | 230 $colorArray = $color->getValues(); 232 $this->_light[0] += $colorArray[0] * $intensity * (1 - $colorArray[3]); 233 $this->_light[1] += $colorArray[1] * $intensity * (1 - $colorArray[3]); 234 $this->_light[2] += $colorArray[2] * $intensity * (1 - $colorArray[3]);
|
/dports/graphics/jogamp-jogl/jogl/src/jogl/classes/com/jogamp/opengl/util/ |
H A D | ImmModeSink.java | 588 Buffers.put(colorArray, v); in glColorv() 766 Buffers.putNf(colorArray, cDataTypeSigned, r); in glColor3f() 768 Buffers.putNf(colorArray, cDataTypeSigned, g); in glColor3f() 770 Buffers.putNf(colorArray, cDataTypeSigned, b); in glColor3f() 777 Buffers.putNf(colorArray, cDataTypeSigned, r); in glColor4f() 779 Buffers.putNf(colorArray, cDataTypeSigned, g); in glColor4f() 781 Buffers.putNf(colorArray, cDataTypeSigned, b); in glColor4f() 852 if(null!=colorArray) { in rewind() 853 colorArray.rewind(); in rewind() 1327 colorArray = null; in reallocateBuffer() [all …]
|
/dports/games/flightgear/flightgear-2020.3.11/src/Scenery/ |
H A D | redout.cxx | 42 FGRedoutCallback(osg::Vec4Array* colorArray) : in FGRedoutCallback() argument 43 _colorArray(colorArray), in FGRedoutCallback() 91 osg::Vec4Array* colorArray = new osg::Vec4Array; in FGCreateRedoutNode() local 92 colorArray->push_back(osg::Vec4(1, 0, 0, 1)); in FGCreateRedoutNode() 93 geometry->setColorArray(colorArray); in FGCreateRedoutNode() 111 sw->setUpdateCallback(new FGRedoutCallback(colorArray)); in FGCreateRedoutNode()
|
/dports/math/vtk9/VTK-9.1.0/IO/Infovis/ |
H A D | vtkPhyloXMLTreeReader.cxx | 669 vtkNew<vtkUnsignedCharArray> colorArray; in ReadColorElement() local 670 colorArray->SetNumberOfComponents(3); in ReadColorElement() 671 colorArray->SetComponentName(0, "red"); in ReadColorElement() 673 colorArray->SetComponentName(2, "blue"); in ReadColorElement() 675 colorArray->SetName("color"); in ReadColorElement() 676 colorArray->FillComponent(0, 0); in ReadColorElement() 677 colorArray->FillComponent(1, 0); in ReadColorElement() 678 colorArray->FillComponent(2, 0); in ReadColorElement() 694 vtkUnsignedCharArray* colorArray = in ReadColorElement() local 708 vtkUnsignedCharArray* colorArray = in PropagateBranchColor() local [all …]
|
/dports/math/vtk8/VTK-8.2.0/IO/Infovis/ |
H A D | vtkPhyloXMLTreeReader.cxx | 680 vtkNew<vtkUnsignedCharArray> colorArray; in ReadColorElement() local 681 colorArray->SetNumberOfComponents(3); in ReadColorElement() 682 colorArray->SetComponentName(0, "red"); in ReadColorElement() 683 colorArray->SetComponentName(1, "green"); in ReadColorElement() 684 colorArray->SetComponentName(2, "blue"); in ReadColorElement() 686 colorArray->SetName("color"); in ReadColorElement() 687 colorArray->FillComponent(0, 0); in ReadColorElement() 688 colorArray->FillComponent(1, 0); in ReadColorElement() 689 colorArray->FillComponent(2, 0); in ReadColorElement() 690 g->GetVertexData()->AddArray(colorArray); in ReadColorElement() [all …]
|
/dports/math/vtk6/VTK-6.2.0/IO/Infovis/ |
H A D | vtkPhyloXMLTreeReader.cxx | 682 vtkNew<vtkUnsignedCharArray> colorArray; in ReadColorElement() local 683 colorArray->SetNumberOfComponents(3); in ReadColorElement() 684 colorArray->SetComponentName(0, "red"); in ReadColorElement() 685 colorArray->SetComponentName(1, "green"); in ReadColorElement() 686 colorArray->SetComponentName(2, "blue"); in ReadColorElement() 688 colorArray->SetName("color"); in ReadColorElement() 689 colorArray->FillComponent(0, 0); in ReadColorElement() 690 colorArray->FillComponent(1, 0); in ReadColorElement() 691 colorArray->FillComponent(2, 0); in ReadColorElement() 709 colorArray->SetTuple3(vertex, red, green, blue); in ReadColorElement() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Domains/Chemistry/ |
H A D | vtkMoleculeMapper.cxx | 374 vtkAbstractArray* colorArray = nullptr; in UpdateAtomGlyphPolyData() local 380 colorArray = vtkUnsignedCharArray::New(); in UpdateAtomGlyphPolyData() 381 colorArray->SetNumberOfComponents(3); in UpdateAtomGlyphPolyData() 383 colorArray->Allocate(size); in UpdateAtomGlyphPolyData() 384 colorArray->SetName("Colors"); in UpdateAtomGlyphPolyData() 393 colorArray = inputColorArray->NewInstance(); in UpdateAtomGlyphPolyData() 395 colorArray->Allocate(colorArray->GetNumberOfComponents() * molecule->GetNumberOfAtoms()); in UpdateAtomGlyphPolyData() 428 colorArray->InsertNextTuple(i, inputColorArray); in UpdateAtomGlyphPolyData() 433 if (colorArray != nullptr) in UpdateAtomGlyphPolyData() 435 if (colorArray->GetNumberOfTuples() != numAtoms) in UpdateAtomGlyphPolyData() [all …]
|
/dports/games/egl/egl-0.3.1_9/renderer/ |
H A D | rb_batch.c | 214 if (meshFeatures & MF_COLORS && mesh->colorArray) { 216 rb.batch.colors[rb.numVerts+i][0] = mesh->colorArray[i][0]; 217 rb.batch.colors[rb.numVerts+i][1] = mesh->colorArray[i][1]; 218 rb.batch.colors[rb.numVerts+i][2] = mesh->colorArray[i][2]; 219 rb.batch.colors[rb.numVerts+i][3] = mesh->colorArray[i][3]; 228 if (meshFeatures & MF_COLORS && mesh->colorArray) { 234 rb.batch.colors[rb.numVerts+i][0] = mesh->colorArray[i][0]; 235 rb.batch.colors[rb.numVerts+i][1] = mesh->colorArray[i][1]; 236 rb.batch.colors[rb.numVerts+i][2] = mesh->colorArray[i][2]; 237 rb.batch.colors[rb.numVerts+i][3] = mesh->colorArray[i][3];
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/opengl/ |
H A D | qgl_wince.cpp | 77 QVector<uint> colorArray; member in QGLCmapPrivate 274 return d->colorArray.size(); in size() 288 newd->colorArray = d->colorArray; in detach() 291 newd->colorArray.detach(); in detach() 309 d->colorArray.resize(newSize); in resize() 342 QRgb ci = d->colorArray[i]; in findNearest() 364 int mapSize = d->colorArray.size(); in allocate() 380 d->colorArray[newIdx] = color; in allocate() 405 d->colorArray[idx] = color; in setEntry() 419 return d->colorArray.data(); in colors()
|
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/src/imaging/ |
H A D | ossimGeoAnnotationBitmap.cpp | 145 unsigned char colorArray[3]; in draw() local 146 colorArray[0] = theRed; in draw() 147 colorArray[1] = theGreen; in draw() 148 colorArray[2] = theBlue; in draw() 160 destinationBand[destinationIndex + col] = colorArray[band]; in draw()
|
/dports/astro/stellarium/stellarium-0.21.3/src/core/ |
H A D | TrailGroup.cpp | 36 static QVector<Vec4f> colorArray; variable 56 colorArray.resize(posHistory.size()); in draw() 60 colorArray[i].set(trail.color[0], trail.color[1], trail.color[2], colorRatio*opacity); in draw() 63 sPainter->drawPath(vertexArray, colorArray); in draw()
|
/dports/graphics/processing/processing-1.5.1/modes/java/examples/Books/Processing Handbook/Synthesis/_08_clock/ |
H A D | _08_clock.pde | 18 color colorArray[]; 50 colorArray = new color[NCOLORS]; 52 colorArray[i] = color(i,i,i); 110 stroke(colorArray[Scolors[x]]); 112 stroke(colorArray[Mcolors[x]]); 114 stroke(colorArray[Hcolors[x]]);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webgl/src/sdk/demos/google/san-angeles/gles/bob/ |
H A D | demo.c | 92 GLubyte *colorArray; member 120 free(object->colorArray); in freeGLObject() 146 result->colorArray == NULL || in newGLObject() 292 result->colorArray[i] = (GLubyte)color[0]; in createSuperShape() 293 result->colorArray[i + 1] = (GLubyte)color[1]; in createSuperShape() 294 result->colorArray[i + 2] = (GLubyte)color[2]; in createSuperShape() 295 result->colorArray[i + 3] = 0; in createSuperShape() 360 result->colorArray[i] = color; in createGroundPlane() 361 result->colorArray[i + 1] = color; in createGroundPlane() 362 result->colorArray[i + 2] = color; in createGroundPlane() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webgl/src/sdk/demos/google/san-angeles/gles/ |
H A D | demo.c | 82 GLubyte *colorArray; member 110 free(object->colorArray); in freeGLObject() 136 result->colorArray == NULL || in newGLObject() 152 glColorPointer(4, GL_UNSIGNED_BYTE, 0, object->colorArray); in drawGLObject() 304 result->colorArray[i] = (GLubyte)color[0]; in createSuperShape() 305 result->colorArray[i + 1] = (GLubyte)color[1]; in createSuperShape() 307 result->colorArray[i + 3] = 0; in createSuperShape() 372 result->colorArray[i] = color; in createGroundPlane() 373 result->colorArray[i + 1] = color; in createGroundPlane() 374 result->colorArray[i + 2] = color; in createGroundPlane() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webgl/src/sdk/demos/google/san-angeles/gles/t/ |
H A D | demo.c | 82 GLubyte *colorArray; member 110 free(object->colorArray); in freeGLObject() 136 result->colorArray == NULL || in newGLObject() 152 glColorPointer(4, GL_UNSIGNED_BYTE, 0, object->colorArray); in drawGLObject() 304 result->colorArray[i] = (GLubyte)color[0]; in createSuperShape() 305 result->colorArray[i + 1] = (GLubyte)color[1]; in createSuperShape() 307 result->colorArray[i + 3] = 0; in createSuperShape() 372 result->colorArray[i] = color; in createGroundPlane() 373 result->colorArray[i + 1] = color; in createGroundPlane() 374 result->colorArray[i + 2] = color; in createGroundPlane() [all …]
|