Code Search for Developers
 
 
  

initData.h from Equalizer - Multipipe Rendering at Krugle


Show initData.h syntax highlighted


/* Copyright (c) 2006-2007, Stefan Eilemann <eile@equalizergraphics.com> 
   All rights reserved. */

#ifndef EQ_PLY_INITDATA_H
#define EQ_PLY_INITDATA_H

#include "eqPly.h"
#include "frameData.h"

#include <eq/eq.h>

namespace eqPly
{
    class InitData : public eqNet::Object
    {
    public:
        InitData();
        virtual ~InitData();

        void setFrameDataID( const uint32_t id )  
            { _clearInstanceData(); _frameDataID = id; }

        uint32_t           getFrameDataID() const  { return _frameDataID; }
        eq::WindowSystem   getWindowSystem() const { return _windowSystem; }
        const std::string& getFilename()    const  { return _filename; }

    protected:
        virtual const void* getInstanceData( uint64_t* size );
        virtual void applyInstanceData( const void* data, const uint64_t size );

        void setWindowSystem( const eq::WindowSystem windowSystem )
            { _clearInstanceData(); _windowSystem = windowSystem; }
        void setFilename( const std::string& filename )
            { _clearInstanceData(); _filename = filename; }

    private:
        uint32_t         _frameDataID;
        eq::WindowSystem _windowSystem;
        std::string      _filename;

        char* _instanceData;
        void  _clearInstanceData();
    };
}


#endif // EQ_PLY_INITDATA_H





See more files for this project here

Equalizer - Multipipe Rendering

Equalizer is a programming interface and resource management system for scalable graphics applications for clusters and shared memory systems. It is build upon a scalable programming interface solving the problems common to any multipipe application.

Project homepage: http://sourceforge.net/projects/equalizer
Programming language(s): C,C++
License: lgpl21

  eqPly.app/
    Contents/
      MacOS/
      Info.plist
  Makefile
  README
  channel.cpp
  channel.h
  config.cpp
  config.h
  eqPly.cpp
  eqPly.h
  frameData.h
  initData.cpp
  initData.h
  localInitData.cpp
  localInitData.h
  logo.rgb
  main.cpp
  node.cpp
  node.h
  pipe.cpp
  pipe.h
  ply.h
  plyfile.cpp
  rockerArm.ply
  tracker.cpp
  tracker.h
  typedefs.h
  vertexBufferBase.h
  vertexBufferData.h
  vertexBufferLeaf.cpp
  vertexBufferLeaf.h
  vertexBufferNode.cpp
  vertexBufferNode.h
  vertexBufferRoot.cpp
  vertexBufferRoot.h
  vertexBufferState.h
  vertexData.cpp
  vertexData.h
  window.cpp
  window.h