Beispiel #1
0
void readIndex( FILE *in, FILE *out )
{
    fputs( "\nIndex\n", out );
    if( Hdr.indexCount ) {
        fseek( in, Hdr.indexOffset, SEEK_SET );
        processIndex( in, out, Hdr.indexCount );
    }
    else
        fputs( "  No index data is present\n", out );
}
Beispiel #2
0
     */
    static const QVRConfig& config();

    /*!
     * \brief Return the configuration of the observer with index \a observerIndex.
     *
     * This is a convenience function, you can also get this information from \a config().
     */
    static const QVRObserverConfig& observerConfig(int observerIndex);

    /*!
     * \brief Return the configuration of the process with the index \a processIndex.
     *
     * This is a convenience function, you can also get this information from \a config().
     */
    static const QVRProcessConfig& processConfig(int processIndex = processIndex());

    /*!
     * \brief Return the configuration of the window with the index \a windowIndex on
     * the process with index \a processIndex.
     *
     * This is a convenience function, you can also get this information from \a config().
     */
    static const QVRWindowConfig& windowConfig(int processIndex, int windowIndex);

    /*! \cond
     * These functions are only used internally. */
    static void enqueueKeyPressEvent(const QVRRenderContext& c, QKeyEvent* event);
    static void enqueueKeyReleaseEvent(const QVRRenderContext& c, QKeyEvent* event);
    static void enqueueMouseMoveEvent(const QVRRenderContext& c, QMouseEvent* event);
    static void enqueueMousePressEvent(const QVRRenderContext& c, QMouseEvent* event);