icetBoundingVertices(3)
β¨ NAME β¨
icetBoundingVertices β set bounds of geometry. periodt. π
okay so you're reading icetBoundingVertices(3), bestie, straight outta the IceT Reference manual, and it's giving βtell IceT where your geometry livesβ energy. π¦
π¦ Synopsis π¦
#include <IceT.h>
void icetBoundingVertices( IceTInt size,
IceTEnum type,
IceTSizeType stride,
IceTSizeType count,
const IceTVoid * pointer );
πΈ Description πΈ
okay so icetBoundingVertices is literally how you tell IceT what the bounds are for the geometry drawn by the callback you registered with icetDrawCallback or icetGLDrawCallback. The bounds are assumed to be the convex hull of the vertices you give it. And bestie, you gotta make sure the drawn geometry actually fits inside that convex hull, because if it doesn't, the data may be culled in unexpected ways π. IceT runs most efficiently when the bounds you give are tight (like, they match the actual volume of the data well) and when the number of vertices you give is minimal. lowkey iconic efficiency behavior. β¨
Here's the parameter tea, fr fr:
sizeβ specifies the number of coordinates given for each vertex. Coordinates are given in X-Y-Z-W order. Any Y or Z coordinate not given (becausesizeis less than3) is assumed to be0.0, and any W coordinate not given (becausesizeis less than4) is assumed to be1.0.typeβ specifies in what data type the coordinates are given. Valid types areICET_SHORT,ICET_INT,ICET_FLOAT, andICET_DOUBLE, which correspond to typesIceTShort,IceTInt,IceTFloat, andIceTDouble, respectively.strideβ specifies the offset between consecutive vertices in bytes. Ifstrideis0, the array is assumed to be tightly packed.countβ specifies the number of vertices to set.pointerβ is an array of vertices with the first vertex starting at the first byte.
If data replication is being used, each process in a data replication group should register the same bounding vertices that encompass the entire geometry. By default there is no data replication, so unless you call icetDataReplicationGroup, all process can have their own bounds. no cap. π
π Errors π
ICET_INVALID_ENUMβ raised iftypeis not one ofICET_SHORT,ICET_INT,ICET_FLOAT, orICET_DOUBLE. so don't do that, bestie. π
π Warnings π
None. like, zero. nada. π«Ά
π Bugs π
None known. we love a bug-free era. π
π Copyright π
Copyright (C)2003 Sandia Corporation
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.
This source code is released under the New BSD License.
π₯ See Also π₯
that's the whole page, bestie. source/version: IceT Reference Β· date: September 20, 2010 Β· page: icetBoundingVertices(3) πβ¨ stay slay. π
π¦ where this page comes from
- debian bookworm: paraview 5.11.0+dfsg-1+b1 Β· BSD-3-Clause
- debian trixie: paraview 5.13.2+dfsg-3 Β· BSD-3-Clause
- ubuntu jammy: paraview 5.10.0~rc1-1build3 Β· BSD-3-Clause
- ubuntu noble: paraview 5.11.2+dfsg-6build5 Β· BSD-3-Clause
- ubuntu questing: paraview 5.13.2+dfsg-3
- ubuntu resolute: paraview 6.0.1+dfsg1-7 Β· BSD-3-Clause
- ubuntu stonking: paraview 6.1.1+dfsg1-2build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms