- Timestamp:
- Jun 30, 2012, 8:56:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/DistortionSetupStrategyProjectSyntropy.h
r383 r394 35 35 ~DistortionSetupStrategyProjectSyntropy(); 36 36 void delegateDistortionSetup(osgViewer::DistortionSet* distortionSet); 37 void setDistortionInputFiles( std::string vertexDistortionFile, std::string texCoordDistortionFile, std::string blendmapFile, std::string frustumFile, DistortionSetupStrategy::distortionType type);37 void setDistortionInputFiles(std::string distortionFile, std::string blendmapFile, std::string frustumFile); 38 38 private: 39 39 //Functions related to CSV-File-Reading 40 40 int readFrustumFromCSVFile(std::string filePath, int numValues, float* frustumValues); 41 41 int readMeshDimensionsFromCSVFile(std::string filePath, int* meshRows, int* meshColumns); 42 int readMeshPointsFromCSVFile(std::string filePath, osg::Vec 2Array* tmpMesh);42 int readMeshPointsFromCSVFile(std::string filePath, osg::Vec4Array* tmpMesh); 43 43 44 44 bool _distortionInitialized; //Is Distortion already initialized? 45 DistortionSetupStrategy::distortionType _distortionType; //might be VERTEXDISTORTION, TEXCOORDDISTORTION, COMBINEDDISTORTION or UNDEFINED...46 45 std::string _blendmapFilename; 47 46 std::string _frustumFilename; 48 std::string _vertexDistortionFilename; 49 std::string _texCoordDistortionFilename; 50 47 std::string _distortionFilename; 51 48 };
Note: See TracChangeset
for help on using the changeset viewer.