|
Revision 13041, 420 bytes
(checked in by robert, 14 months ago)
|
|
Ran script to remove trailing spaces and tabs
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | #include <osgDB/ImageOptions> |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | using namespace osgDB; |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | ImageOptions::ImageOptions() |
|---|
| 8 | { |
|---|
| 9 | init(); |
|---|
| 10 | } |
|---|
| 11 | |
|---|
| 12 | ImageOptions::ImageOptions(const std::string& str) |
|---|
| 13 | { |
|---|
| 14 | init(); |
|---|
| 15 | _str = str; |
|---|
| 16 | } |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | void ImageOptions::init() |
|---|
| 20 | { |
|---|
| 21 | _sourceImageSamplingMode = NEAREST; |
|---|
| 22 | _sourceImageWindowMode = ALL_IMAGE; |
|---|
| 23 | |
|---|
| 24 | _destinationImageWindowMode = ALL_IMAGE; |
|---|
| 25 | |
|---|
| 26 | _destinationDataType = GL_NONE; |
|---|
| 27 | _destinationPixelFormat = GL_NONE; |
|---|
| 28 | } |
|---|