#include <OSGImageFileType.h>
Public Member Functions | |
| bool | netToHost (void) |
| bool | hostToNet (void) |
Public Attributes | |
| Char8 | mimeType [8] |
| unsigned short | pixelFormat |
| unsigned short | width |
| unsigned short | height |
| unsigned short | depth |
| unsigned short | mipmapCount |
| unsigned short | frameCount |
| unsigned short | frameDelay |
| unsigned short | sideCount |
| unsigned short | dataType |
| unsigned short | _reserved3 |
| unsigned short | _reserved4 |
| unsigned short | attachmentSize |
Definition at line 145 of file OSGImageFileType.h.
|
|
Helper method to convert the Head block from net to host format Definition at line 61 of file OSGImageFileType.cpp. References _reserved3, _reserved4, attachmentSize, dataType, depth, frameCount, frameDelay, height, mipmapCount, osg::osgntohs(), pixelFormat, sideCount, and width. 00062 { 00063 pixelFormat = osgntohs(pixelFormat); 00064 width = osgntohs(width); 00065 height = osgntohs(height); 00066 depth = osgntohs(depth); 00067 mipmapCount = osgntohs(mipmapCount); 00068 frameCount = osgntohs(frameCount); 00069 frameDelay = osgntohs(frameDelay); 00070 sideCount = osgntohs(sideCount); 00071 dataType = osgntohs(dataType); 00072 _reserved3 = 0; 00073 _reserved4 = 0; 00074 attachmentSize = osgntohs(attachmentSize); 00075 00076 return true; 00077 }
|
|
|
Helper method to convert the Head block from host to net format Definition at line 84 of file OSGImageFileType.cpp. References _reserved3, _reserved4, attachmentSize, dataType, depth, frameCount, frameDelay, height, mipmapCount, osg::osghtons(), pixelFormat, sideCount, and width. Referenced by osg::ImageFileType::store(). 00085 { 00086 pixelFormat = osghtons(pixelFormat); 00087 width = osghtons(width); 00088 height = osghtons(height); 00089 depth = osghtons(depth); 00090 mipmapCount = osghtons(mipmapCount); 00091 frameCount = osghtons(frameCount); 00092 frameDelay = osghtons(frameDelay); 00093 sideCount = osghtons(sideCount); 00094 dataType = osghtons(dataType); 00095 _reserved3 = 0; 00096 _reserved4 = 0; 00097 attachmentSize = osghtons(attachmentSize); 00098 00099 return true; 00100 }
|
|
|
Definition at line 146 of file OSGImageFileType.h. Referenced by osg::ImageFileType::store(). |
|
|
Definition at line 147 of file OSGImageFileType.h. Referenced by hostToNet(), netToHost(), and osg::ImageFileType::store(). |
|
|
Definition at line 148 of file OSGImageFileType.h. Referenced by hostToNet(), netToHost(), and osg::ImageFileType::store(). |
|
|
Definition at line 149 of file OSGImageFileType.h. Referenced by hostToNet(), netToHost(), and osg::ImageFileType::store(). |
|
|
Definition at line 150 of file OSGImageFileType.h. Referenced by hostToNet(), netToHost(), and osg::ImageFileType::store(). |
|
|
Definition at line 151 of file OSGImageFileType.h. Referenced by hostToNet(), netToHost(), and osg::ImageFileType::store(). |
|
|
Definition at line 152 of file OSGImageFileType.h. Referenced by hostToNet(), netToHost(), and osg::ImageFileType::store(). |
|
|
Definition at line 153 of file OSGImageFileType.h. Referenced by hostToNet(), netToHost(), and osg::ImageFileType::store(). |
|
|
Definition at line 154 of file OSGImageFileType.h. Referenced by hostToNet(), netToHost(), and osg::ImageFileType::store(). |
|
|
Definition at line 155 of file OSGImageFileType.h. Referenced by hostToNet(), netToHost(), and osg::ImageFileType::store(). |
|
|
Definition at line 156 of file OSGImageFileType.h. Referenced by hostToNet(), and netToHost(). |
|
|
Definition at line 157 of file OSGImageFileType.h. Referenced by hostToNet(), and netToHost(). |
|
|
Definition at line 158 of file OSGImageFileType.h. Referenced by hostToNet(), netToHost(), and osg::ImageFileType::store(). |
1.4.3