Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

icetboundingbox(3) [debian man page]

icetBoundingBox(3)						  IceT Reference						icetBoundingBox(3)

NAME
icetBoundingBoxd,icetBoundingBoxf -- set bounds of geometry Synopsis #include <IceT.h> void icetBoundingBoxd( IceTDouble x_min, IceTDouble x_max, IceTDouble y_min, IceTDouble y_max, IceTDouble z_min, IceTDouble z_max ); void icetBoundingBoxf( IceTFloat x_min, IceTFloat x_max, IceTFloat y_min, IceTFloat y_max, IceTFloat z_min, IceTFloat z_max ); Description Establishes the bounds of the geometry as contained in an axis-aligned box with the given extents. icetBoundingBoxdand icetBoundingBoxf are really just convience functions. They create an array of the 8 corner vertices and set the bound- ing vertices appropriately. See icetBoundingVertices for more information. Errors None. Warnings None. Bugs None known. 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 icetBoundingVertices(3) IceT Reference August 9, 2010 icetBoundingBox(3)

Check Out this Related Man Page

icetGLDrawCallback(3)						  IceT Reference					     icetGLDrawCallback(3)

NAME
icetGLDrawCallback -- set a callback for drawing with OpenGL . Synopsis #include <IceTGL.h> typedef void (* IceTGLDrawCallbackType)( void ); void icetGLDrawCallback( IceTGLDrawCallbackType callback ); Description The icetGLDrawCallback function sets a callback that is used to draw the geometry from a given viewpoint. It will be implicitly called from within icetGLDrawFrame. callback should be a function that issues appropriate OpenGL calls to draw geometry in the current OpenGL context. After callback is called, the image left in the frame buffer specified by icetGLSetReadBuffer will be read back for compositing. callback should not modify the GL_PROJECTION_MATRIX as this would cause IceT to place image data in the wrong location in the tiled display and improperly cull geometry. It is acceptable to add transformations to GL_MODELVIEW_MATRIX, but the bounding vertices given with icetBoundingVertices or icetBoundingBox are assumed to already be transformed by any such changes to the modelview matrix. Also, GL_MOD- ELVIEW_MATRIX must be restored before the draw function returns. Therefore, any changes to GL_MODELVIEW_MATRIX are to be done with care and should be surrounded by a pair of glPushMatrix and glPopMatrix functions. It is also important that callback not attempt the change the clear color. In some composting modes, IceT needs to read, modify, and change the background color. These operations will be lost if callback changes the background color, and severe color blending artifacts may result. IceT may call callback several times from within a call to icetGLDrawFrame or not at all if the current bounds lie outside the current viewpoint. This can have a subtle but important impact on the behavior of callback. For example, counting frames by incrementing a frame counter in callback is obviously wrong (although you could count how many times a render occurs). callback should also leave OpenGL in a state such that it will be correct for a subsequent run of callback. Any matrices or attributes pushed in callback should be popped before callback returns, and any state that is assumed to be true on entrance to callback should also be true on return. The callback function pointer is placed in the ICET_GL_DRAW_FUNCTION state variable. icetGLDrawCallback is similar to icetDrawCallback. The difference is that the callback set by icetGLDrawCallback is used by icetGL- DrawFrame and the callback set by icetDrawCallback is used by icetDrawFrame. Errors ICET_INVALID_OPERATION Raised if the icetGLInitialize has not been called. Warnings None. Bugs None known. Notes callback is tightly coupled with the bounds set with icetBoundingVertices or icetBoundingBox. If the geometry drawn by callback is dynamic (changes from frame to frame), then the bounds may need to be changed as well. Incorrect bounds may cause the geometry to be culled in sur- prising ways. 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 icetBoundingBox(3), icetBoundingVertices(3), icetDrawCallback(3), icetGLDrawFrame(3) IceT Reference August 9, 2010 icetGLDrawCallback(3)
Man Page