Ignore:
Timestamp:
Mar 8, 2007 5:56:29 PM (13 years ago)
Author:
vrinside
Message:

Added new zinc blende renderer - It is still needed to compare with unicell based simulation data.
Removed tentatively used class, NvVolQDVolumeShader,NvVolQDVolume
Moved Font.bmp into resources directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/vizservers/nanovis/NvZincBlendeReconstructor.h

    r601 r617  
    1717#define __NV_ZINC_BLENDE_RECONSTRUCTOR_H__
    1818
     19#include <stdio.h>
     20#include <ostream>
     21#include <sstream>
     22#include <fstream>
    1923
    2024#include "Vector3.h"
     
    2327
    2428class NvZincBlendeReconstructor {
     29    char buff[255];
    2530
    2631    /**
     
    4449     */
    4550    static NvZincBlendeReconstructor* getInstance();
     51
     52private :
     53    /**
     54     * @brief Get a line from file. It is used for reading header because header is written in ascii.
     55     * @param fp A file pointer of data file
     56     */
     57    void getLine(std::istream& stream);
    4658   
    4759public :
     
    5062     * @param fileName Zinc blende file name, which data is generated by NEMO-3D
    5163     */
    52     ZincBlendeVolume* load(const char* fileName);
     64    ZincBlendeVolume* loadFromFile(const char* fileName);
     65
     66    /**
     67     * @brief Load Zinc blende binary volume data and create ZincBlendeVolume with the file
     68     * @param data Zinc blende binary volume data, which data is generated by NEMO-3D and transferred from nanoscale
     69     */
     70    ZincBlendeVolume* loadFromStream(std::istream& stream);
    5371
    5472    /**
Note: See TracChangeset for help on using the changeset viewer.