openscenegraph
|
Enumerations | |
enum | Endian { BigEndian , LittleEndian } |
enum | ColorSpaceOperation { NO_COLOR_SPACE_OPERATION , MODULATE_ALPHA_BY_LUMINANCE , MODULATE_ALPHA_BY_COLOR , REPLACE_ALPHA_WITH_LUMINANCE , REPLACE_RGB_WITH_LUMINANCE } |
enum | NotifySeverity { ALWAYS =0 , FATAL =1 , WARN =2 , NOTICE =3 , INFO =4 , DEBUG_INFO =5 , DEBUG_FP =6 } |
Functions | |
osg::Array::Binding | getBinding (const osg::Array *array) |
bool | getNormalize (const osg::Array *array) |
template<typename T > | |
void | clampGEQUAL (T &value, const T minValue, const char *valueName) |
template<typename T > | |
void | clampLEQUAL (T &value, const T maxValue, const char *valueName) |
template<typename T > | |
void | clampBetweenRange (T &value, const T minValue, const T maxValue, const char *valueName) |
template<typename A , typename T > | |
void | clampArrayElementGEQUAL (A &value, unsigned int i, const T minValue, const char *valueName) |
template<typename A , typename T > | |
void | clampArrayElementLEQUAL (A &value, unsigned int i, const T maxValue, const char *valueName) |
template<typename A , typename T > | |
void | clampArrayElementBetweenRange (A &value, unsigned int i, const T minValue, const T maxValue, const char *valueName) |
template<typename A , typename T > | |
void | clampArrayElementsGEQUAL (A &value, unsigned int first, unsigned int last, const T minValue, const char *valueName) |
template<typename A , typename T > | |
void | clampArrayElementsLEQUAL (A &value, unsigned int first, unsigned int last, const T maxValue, const char *valueName) |
template<typename A , typename T > | |
void | clampArrayElementsBetweenRange (A &value, unsigned int first, unsigned int last, const T minValue, const T maxValue, const char *valueName) |
template<typename A , typename T > | |
void | clampArray3GEQUAL (A &value, const T minValue, const char *valueName) |
template<typename A , typename T > | |
void | clampArray3LEQUAL (A &value, const T maxValue, const char *valueName) |
template<typename A , typename T > | |
void | clampArray3BetweenRange (A &value, const T minValue, const T maxValue, const char *valueName) |
template<typename A , typename T > | |
void | clampArray4GEQUAL (A &value, const T minValue, const char *valueName) |
template<typename A , typename T > | |
void | clampArray4LEQUAL (A &value, const T maxValue, const char *valueName) |
template<typename A , typename T > | |
void | clampArray4BetweenRange (A &value, const T minValue, const T maxValue, const char *valueName) |
unsigned int | computeBufferAlignment (unsigned int pos, unsigned int bufferAlignment) |
CallbackObject * | getCallbackObject (osg::Object *object, const std::string &name) |
const CallbackObject * | getCallbackObject (const osg::Object *object, const std::string &name) |
bool | runNamedCallbackObjects (osg::Object *object, const std::string &name, osg::Parameters &inputParameters, osg::Parameters &outputParameters) |
OSG_EXPORT ContextData * | getContextData (unsigned int contextID) |
OSG_EXPORT ContextData * | getOrCreateContextData (unsigned int contextID) |
template<typename T > | |
T * | get (unsigned int contextID) |
template<> | |
ContextData * | get< ContextData > (unsigned int contextID) |
template<class matrix_type , class value_type > | |
bool | clampProjectionMatrix (matrix_type &projection, double &znear, double &zfar, value_type nearFarRatio) |
Endian | getCpuByteOrder () |
void | swapBytes (char *in, unsigned int size) |
void | swapBytes2 (char *in) |
void | swapBytes4 (char *in) |
void | swapBytes8 (char *in) |
void | swapBytes16 (char *in) |
template<typename T > | |
void | swapBytes (T &t) |
OSG_EXPORT Geometry * | createTexturedQuadGeometry (const Vec3 &corner, const Vec3 &widthVec, const Vec3 &heightVec, float l, float b, float r, float t) |
Geometry * | createTexturedQuadGeometry (const Vec3 &corner, const Vec3 &widthVec, const Vec3 &heightVec, float s=1.0f, float t=1.0f) |
OSG_EXPORT float | getGLVersionNumber () |
OSG_EXPORT bool | isExtensionInExtensionString (const char *extension, const char *extensionString) |
OSG_EXPORT bool | isGLExtensionSupported (unsigned int contextID, const char *extension) |
OSG_EXPORT bool | isGLExtensionSupported (unsigned int contextID, const char *extension1, const char *extension2) |
OSG_EXPORT bool | isGLExtensionOrVersionSupported (unsigned int contextID, const char *extension, float requiredGlVersion) |
OSG_EXPORT void * | getGLExtensionFuncPtr (const char *funcName) |
OSG_EXPORT void | setGLExtensionDisableString (const std::string &disableString) |
OSG_EXPORT std::string & | getGLExtensionDisableString () |
void * | getGLExtensionFuncPtr (const char *funcName, const char *fallbackFuncName) |
void * | getGLExtensionFuncPtr (const char *funcName1, const char *funcName2, const char *funcName3) |
template<typename T , typename R > | |
bool | convertPointer (T &dest, R src) |
template<typename T , typename R > | |
T | convertPointerType (R src) |
template<typename T > | |
bool | setGLExtensionFuncPtr (T &t, const char *str1, bool validContext=true) |
template<typename T > | |
bool | setGLExtensionFuncPtr (T &t, const char *str1, const char *str2, bool validContext=true) |
template<typename T > | |
bool | setGLExtensionFuncPtr (T &t, const char *str1, const char *str2, const char *str3, bool validContext=true) |
OSG_EXPORT void | flushDeletedGLObjects (unsigned int contextID, double currentTime, double &availableTime) |
OSG_EXPORT void | flushAllDeletedGLObjects (unsigned int contextID) |
OSG_EXPORT void | deleteAllGLObjects (unsigned int contextID) |
OSG_EXPORT void | discardAllGLObjects (unsigned int contextID) |
OSG_EXPORT const GLubyte * | gluErrorString (GLenum error) |
OSG_EXPORT GLint | gluScaleImage (PixelStorageModes *psm, GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void *dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid *dataOut) |
OSG_EXPORT GLint | gluScaleImage (GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void *dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid *dataOut) |
OSG_EXPORT GLint | gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data) |
OSG_EXPORT GLint | gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data) |
OSG_EXPORT GLint | gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data) |
OSG_EXPORT GLint | gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data) |
OSG_EXPORT GLint | gluBuild3DMipmapLevels (GLTexImage3DProc glTextImage3DProc, GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data) |
OSG_EXPORT GLint | gluBuild3DMipmaps (GLTexImage3DProc glTextImage3DProc, GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data) |
OSG_EXPORT GLUtesselator *GL_APIENTRY | gluNewTess (void) |
OSG_EXPORT void GL_APIENTRY | gluDeleteTess (GLUtesselator *tess) |
OSG_EXPORT void GL_APIENTRY | gluTessBeginContour (GLUtesselator *tess) |
OSG_EXPORT void GL_APIENTRY | gluTessCallback (GLUtesselator *tess, GLenum which, _GLUfuncptr CallBackFunc) |
OSG_EXPORT void GL_APIENTRY | gluTessEndContour (GLUtesselator *tess) |
OSG_EXPORT void GL_APIENTRY | gluTessNormal (GLUtesselator *tess, GLdouble valueX, GLdouble valueY, GLdouble valueZ) |
OSG_EXPORT void GL_APIENTRY | gluTessProperty (GLUtesselator *tess, GLenum which, GLdouble data) |
OSG_EXPORT void GL_APIENTRY | gluTessVertex (GLUtesselator *tess, GLdouble *location, GLvoid *data) |
OSG_EXPORT void GL_APIENTRY | gluTessBeginPolygon (GLUtesselator *tess, GLvoid *data) |
OSG_EXPORT void GL_APIENTRY | gluTessEndPolygon (GLUtesselator *tess) |
OSG_EXPORT void GL_APIENTRY | gluGetTessProperty (GLUtesselator *tess, GLenum which, GLdouble *value) |
bool | iequals (const std::string &lhs, const std::string &rhs) |
OSG_EXPORT Geode * | createGeodeForImage (Image *image) |
template<class T > | |
Geode * | createGeodeForImage (const ref_ptr< T > &image) |
OSG_EXPORT Geode * | createGeodeForImage (Image *image, float s, float t) |
template<class T > | |
Geode * | createGeodeForImage (const ref_ptr< T > &image, float s, float t) |
template<typename T , class O > | |
void | _readRow (unsigned int num, GLenum pixelFormat, const T *data, O &operation) |
template<class O > | |
void | readRow (unsigned int num, GLenum pixelFormat, GLenum dataType, const unsigned char *data, O &operation) |
template<class O > | |
void | readImage (const osg::Image *image, O &operation) |
template<typename T , class M > | |
void | _modifyRow (unsigned int num, GLenum pixelFormat, T *data, float scale, const M &operation) |
template<class M > | |
void | modifyRow (unsigned int num, GLenum pixelFormat, GLenum dataType, unsigned char *data, const M &operation) |
template<class M > | |
void | modifyImage (osg::Image *image, const M &operation) |
OSG_EXPORT bool | computeMinMax (const osg::Image *image, osg::Vec4 &min, osg::Vec4 &max) |
OSG_EXPORT bool | offsetAndScaleImage (osg::Image *image, const osg::Vec4 &offset, const osg::Vec4 &scale) |
OSG_EXPORT bool | copyImage (const osg::Image *srcImage, int src_s, int src_t, int src_r, int width, int height, int depth, osg::Image *destImage, int dest_s, int dest_t, int dest_r, bool doRescale=false) |
OSG_EXPORT bool | clearImageToColor (osg::Image *image, const osg::Vec4 &colour) |
OSG_EXPORT unsigned int | maximimNumOfComponents (const ImageList &imageList) |
OSG_EXPORT osg::Image * | createImage3D (const ImageList &imageList, GLenum desiredPixelFormat, int s_maximumImageSize=1024, int t_maximumImageSize=1024, int r_maximumImageSize=1024, bool resizeToPowerOfTwo=false) |
OSG_EXPORT osg::Image * | createImage3DWithAlpha (const ImageList &imageList, int s_maximumImageSize=1024, int t_maximumImageSize=1024, int r_maximumImageSize=1024, bool resizeToPowerOfTwo=false) |
OSG_EXPORT osg::Image * | createSpotLightImage (const osg::Vec4 ¢erColour, const osg::Vec4 &backgroudColour, unsigned int size, float power) |
OSG_EXPORT osg::Image * | colorSpaceConversion (ColorSpaceOperation op, osg::Image *image, const osg::Vec4 &colour) |
OSG_EXPORT osg::Image * | createImageWithOrientationConversion (const osg::Image *srcImage, const osg::Vec3i &srcOrigin, const osg::Vec3i &srcRow, const osg::Vec3i &srcColumn, const osg::Vec3i &srcLayer) |
std::ostream & | operator<< (std::ostream &output, const MakeString &str) |
std::ostream & | operator<< (std::ostream &output, const Vec2f &vec) |
std::istream & | operator>> (std::istream &input, Vec2f &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec2d &vec) |
std::istream & | operator>> (std::istream &input, Vec2d &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec3f &vec) |
std::istream & | operator>> (std::istream &input, Vec3f &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec3d &vec) |
std::istream & | operator>> (std::istream &input, Vec3d &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec4f &vec) |
std::istream & | operator>> (std::istream &input, Vec4f &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec4d &vec) |
std::istream & | operator>> (std::istream &input, Vec4d &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec2b &vec) |
std::istream & | operator>> (std::istream &input, Vec2b &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec3b &vec) |
std::istream & | operator>> (std::istream &input, Vec3b &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec4b &vec) |
std::istream & | operator>> (std::istream &input, Vec4b &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec2s &vec) |
std::istream & | operator>> (std::istream &input, Vec2s &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec3s &vec) |
std::istream & | operator>> (std::istream &input, Vec3s &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec4s &vec) |
std::istream & | operator>> (std::istream &input, Vec4s &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec2i &vec) |
std::istream & | operator>> (std::istream &input, Vec2i &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec3i &vec) |
std::istream & | operator>> (std::istream &input, Vec3i &vec) |
std::ostream & | operator<< (std::ostream &output, const Vec4i &vec) |
std::istream & | operator>> (std::istream &input, Vec4i &vec) |
std::ostream & | operator<< (std::ostream &os, const Matrixf &m) |
std::ostream & | operator<< (std::ostream &os, const Matrixd &m) |
std::ostream & | operator<< (std::ostream &output, const Vec4ub &vec) |
std::istream & | operator>> (std::istream &input, Vec4ub &vec) |
std::ostream & | operator<< (std::ostream &output, const Quat &vec) |
std::istream & | operator>> (std::istream &input, Quat &vec) |
std::ostream & | operator<< (std::ostream &output, const Plane &pl) |
std::istream & | operator>> (std::istream &input, Plane &vec) |
template<typename T > | |
T | default_value () |
template<> | |
float | default_value< float > () |
template<> | |
double | default_value< double > () |
template<> | |
char | default_value< char > () |
template<> | |
unsigned char | default_value< unsigned char > () |
template<> | |
short | default_value< short > () |
template<> | |
unsigned short | default_value< unsigned short > () |
template<> | |
int | default_value< int > () |
template<> | |
unsigned int | default_value< unsigned int > () |
template<typename T > | |
T | absolute (T v) |
bool | equivalent (float lhs, float rhs, float epsilon=1e-6) |
bool | equivalent (double lhs, double rhs, double epsilon=1e-6) |
template<typename T > | |
T | minimum (T lhs, T rhs) |
template<typename T > | |
T | maximum (T lhs, T rhs) |
template<typename T > | |
T | clampTo (T v, T minimum, T maximum) |
template<typename T > | |
T | clampAbove (T v, T minimum) |
template<typename T > | |
T | clampBelow (T v, T maximum) |
template<typename T > | |
T | clampBetween (T v, T minimum, T maximum) |
template<typename T > | |
T | sign (T v) |
template<typename T > | |
T | signOrZero (T v) |
template<typename T > | |
T | square (T v) |
template<typename T > | |
T | signedSquare (T v) |
float | inDegrees (float angle) |
double | inDegrees (double angle) |
template<typename T > | |
T | inRadians (T angle) |
float | DegreesToRadians (float angle) |
double | DegreesToRadians (double angle) |
float | RadiansToDegrees (float angle) |
double | RadiansToDegrees (double angle) |
float | round (float v) |
double | round (double v) |
bool | isNaN (float v) |
bool | isNaN (double v) |
template<typename T > | |
float | computeVolume (const T &a, const T &b, const T &c, const T &d) |
template<typename T > | |
float | computeVolume (const T &f1, const T &f2, const T &f3, const T &b1, const T &b2, const T &b3) |
OSG_EXPORT double | asciiToDouble (const char *str) |
float | asciiToFloat (const char *str) |
OSG_EXPORT double | findAsciiToDouble (const char *str) |
float | findAsciiToFloat (const char *str) |
Vec3f | operator* (const Vec3f &v, const Matrixd &m) |
Vec3d | operator* (const Vec3d &v, const Matrixd &m) |
Vec4f | operator* (const Vec4f &v, const Matrixd &m) |
Vec4d | operator* (const Vec4d &v, const Matrixd &m) |
Vec3f | operator* (const Vec3f &v, const Matrixf &m) |
Vec3d | operator* (const Vec3d &v, const Matrixf &m) |
Vec4f | operator* (const Vec4f &v, const Matrixf &m) |
Vec4d | operator* (const Vec4d &v, const Matrixf &m) |
template<class ValueT > | |
void | swap (MixinVector< ValueT > &left, MixinVector< ValueT > &right) |
template<class ValueT > | |
void | swap (MixinVector< ValueT > &left, std::vector< ValueT > &right) |
template<class ValueT > | |
void | swap (std::vector< ValueT > &left, MixinVector< ValueT > &right) |
template<> | |
ValueStack * | getOrCreateUserObjectOfType< NodeVisitor, ValueStack > (NodeVisitor *nv) |
template<> | |
ValueMap * | getOrCreateUserObjectOfType< NodeVisitor, ValueMap > (NodeVisitor *nv) |
OSG_EXPORT void | setNotifyLevel (NotifySeverity severity) |
OSG_EXPORT NotifySeverity | getNotifyLevel () |
OSG_EXPORT bool | initNotifyLevel () |
OSG_EXPORT bool | isNotifyEnabled (NotifySeverity severity) |
OSG_EXPORT std::ostream & | notify (const NotifySeverity severity) |
std::ostream & | notify (void) |
OSG_EXPORT void | setNotifyHandler (NotifyHandler *handler) |
OSG_EXPORT NotifyHandler * | getNotifyHandler () |
template<typename T > | |
T * | clone (const T *t, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
template<typename T > | |
T * | clone (const T *t, const std::string &name, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
template<typename T > | |
T * | cloneType (const T *t) |
void | resizeGLObjectBuffers (osg::Object *object, unsigned int maxSize) |
template<class T > | |
void | resizeGLObjectBuffers (const osg::ref_ptr< T > &object, unsigned int maxSize) |
void | releaseGLObjects (osg::Object *object, osg::State *state=0) |
template<class T > | |
void | releaseGLObjects (const osg::ref_ptr< T > &object, osg::State *state=0) |
osg::StateSet * | initOQState () |
osg::StateSet * | initOQDebugState () |
template<class T > | |
void | swap (ref_ptr< T > &rp1, ref_ptr< T > &rp2) |
template<class T > | |
T * | get_pointer (const ref_ptr< T > &rp) |
template<class T , class Y > | |
ref_ptr< T > | static_pointer_cast (const ref_ptr< Y > &rp) |
template<class T , class Y > | |
ref_ptr< T > | dynamic_pointer_cast (const ref_ptr< Y > &rp) |
template<class T , class Y > | |
ref_ptr< T > | const_pointer_cast (const ref_ptr< Y > &rp) |
void | intrusive_ptr_add_ref (Referenced *p) |
void | intrusive_ptr_release (Referenced *p) |
OSG_EXPORT Geometry * | convertShapeToGeometry (const Shape &shape, const TessellationHints *hints) |
OSG_EXPORT Geometry * | convertShapeToGeometry (const Shape &shape, const TessellationHints *hints, const Vec4 &color, Array::Binding colorBinding=Array::BIND_OVERALL) |
OSG_EXPORT bool | isTextureMode (StateAttribute::GLMode mode) |
OSG_EXPORT Matrix | computeLocalToWorld (const NodePath &nodePath, bool ignoreCameras=true) |
OSG_EXPORT Matrix | computeWorldToLocal (const NodePath &nodePath, bool ignoreCameras=true) |
OSG_EXPORT Matrix | computeLocalToEye (const Matrix &modelview, const NodePath &nodePath, bool ignoreCameras=true) |
OSG_EXPORT Matrix | computeEyeToLocal (const Matrix &modelview, const NodePath &nodePath, bool ignoreCameras=true) |
Object * | getUserObject (osg::Object *object, const std::string &name) |
const Object * | getUserObject (const osg::Object *object, const std::string &name) |
META_ValueObject (std::string, StringValueObject) META_ValueObject(bool | |
BoolValueObject | META_ValueObject (char, CharValueObject) META_ValueObject(unsigned char |
BoolValueObject UCharValueObject | META_ValueObject (short, ShortValueObject) META_ValueObject(unsigned short |
BoolValueObject UCharValueObject UShortValueObject | META_ValueObject (int, IntValueObject) META_ValueObject(unsigned int |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject | META_ValueObject (float, FloatValueObject) META_ValueObject(double |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject | META_ValueObject (Vec2f, Vec2fValueObject) META_ValueObject(Vec3f |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject | META_ValueObject (Vec4f, Vec4fValueObject) META_ValueObject(Vec2d |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject | META_ValueObject (Vec3d, Vec3dValueObject) META_ValueObject(Vec4d |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject | META_ValueObject (Quat, QuatValueObject) META_ValueObject(Plane |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject PlaneValueObject | META_ValueObject (Matrixf, MatrixfValueObject) META_ValueObject(Matrixd |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject PlaneValueObject MatrixdValueObject | META_ValueObject (BoundingBoxf, BoundingBoxfValueObject) META_ValueObject(BoundingBoxd |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject PlaneValueObject MatrixdValueObject BoundingBoxdValueObject | META_ValueObject (BoundingSpheref, BoundingSpherefValueObject) META_ValueObject(BoundingSphered |
template<class P , class T > | |
T * | getOrCreateUserObjectOfType (P *parent) |
Vec2d | componentMultiply (const Vec2d &lhs, const Vec2d &rhs) |
Vec2d | componentDivide (const Vec2d &lhs, const Vec2d &rhs) |
Vec2f | componentMultiply (const Vec2f &lhs, const Vec2f &rhs) |
Vec2f | componentDivide (const Vec2f &lhs, const Vec2f &rhs) |
Vec2s | componentMultiply (const Vec2s &lhs, const Vec2s &rhs) |
Vec2s | componentDivide (const Vec2s &lhs, const Vec2s &rhs) |
Vec2ub | componentMultiply (const Vec2ub &lhs, const Vec2ub &rhs) |
Vec2ub | componentDivide (const Vec2ub &lhs, const Vec2ub &rhs) |
Vec2us | componentMultiply (const Vec2us &lhs, const Vec2us &rhs) |
Vec2us | componentDivide (const Vec2us &lhs, const Vec2us &rhs) |
Vec3d | componentMultiply (const Vec3d &lhs, const Vec3d &rhs) |
Vec3d | componentDivide (const Vec3d &lhs, const Vec3d &rhs) |
Vec3f | componentMultiply (const Vec3f &lhs, const Vec3f &rhs) |
Vec3f | componentDivide (const Vec3f &lhs, const Vec3f &rhs) |
Vec3s | componentMultiply (const Vec3s &lhs, const Vec3s &rhs) |
Vec3s | componentDivide (const Vec3s &lhs, const Vec3s &rhs) |
Vec3ub | componentMultiply (const Vec3ub &lhs, const Vec3ub &rhs) |
Vec3ub | componentDivide (const Vec3ub &lhs, const Vec3ub &rhs) |
Vec3us | componentMultiply (const Vec3us &lhs, const Vec3us &rhs) |
Vec3us | componentDivide (const Vec3us &lhs, const Vec3us &rhs) |
Vec4d::value_type | operator* (const Vec3d &lhs, const Vec4d &rhs) |
Vec4d::value_type | operator* (const Vec3f &lhs, const Vec4d &rhs) |
Vec4d::value_type | operator* (const Vec3d &lhs, const Vec4f &rhs) |
Vec4d::value_type | operator* (const Vec4d &lhs, const Vec3d &rhs) |
Vec4d::value_type | operator* (const Vec4d &lhs, const Vec3f &rhs) |
Vec4d::value_type | operator* (const Vec4f &lhs, const Vec3d &rhs) |
Vec4d | componentMultiply (const Vec4d &lhs, const Vec4d &rhs) |
Vec4d | componentDivide (const Vec4d &lhs, const Vec4d &rhs) |
Vec4f::value_type | operator* (const Vec3f &lhs, const Vec4f &rhs) |
Vec4f::value_type | operator* (const Vec4f &lhs, const Vec3f &rhs) |
Vec4f | componentMultiply (const Vec4f &lhs, const Vec4f &rhs) |
Vec4f | componentDivide (const Vec4f &lhs, const Vec4f &rhs) |
Vec4s | componentMultiply (const Vec4s &lhs, const Vec4s &rhs) |
Vec4s | componentDivide (const Vec4s &lhs, const Vec4s &rhs) |
Vec4ub | convertToRGBA8 (const Vec4f &color) |
Vec4ub | convertToRGBA8 (float r, float g, float b, float a) |
Vec4us | componentMultiply (const Vec4us &lhs, const Vec4us &rhs) |
Vec4us | componentDivide (const Vec4us &lhs, const Vec4us &rhs) |
Variables | |
const double | WGS_84_RADIUS_EQUATOR = 6378137.0 |
const double | WGS_84_RADIUS_POLAR = 6356752.3142 |
const double | PI = 3.14159265358979323846 |
const double | PI_2 = 1.57079632679489661923 |
const double | PI_4 = 0.78539816339744830962 |
const double | LN_2 = 0.69314718055994530942 |
const double | INVLN_2 = 1.0 / LN_2 |
const float | PIf = 3.14159265358979323846f |
const float | PI_2f = 1.57079632679489661923f |
const float | PI_4f = 0.78539816339744830962f |
const float | LN_2f = 0.69314718055994530942f |
const float | INVLN_2f = 1.0f / LN_2f |
const unsigned int | UNINITIALIZED_FRAME_NUMBER =0xffffffff |
const Vec3f | X_AXIS (1.0, 0.0, 0.0) |
const Vec3f | Y_AXIS (0.0, 1.0, 0.0) |
const Vec3f | Z_AXIS (0.0, 0.0, 1.0) |
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables, and maths and general helper classes.
typedef void(GL_APIENTRY * osg::_GLUfuncptr) () |
typedef BoundingBoxd osg::BoundingBox |
typedef BoundingBoxImpl<Vec3d> osg::BoundingBoxd |
typedef BoundingBoxImpl<Vec3f> osg::BoundingBoxf |
typedef BoundingSphered osg::BoundingSphere |
typedef BoundingSphereImpl<Vec3d> osg::BoundingSphered |
typedef BoundingSphereImpl<Vec3f> osg::BoundingSpheref |
typedef TemplateIndexArray<GLbyte,Array::ByteArrayType,1,GL_BYTE> osg::ByteArray |
typedef Matrixd osg::CoordinateFrame |
CoordinateFrame encapsulates the orientation of east, north and up.
typedef std::pair<double, double> osg::CostPair |
Pair of double representing CPU and GPU times in seconds as first and second elements in std::pair.
typedef TemplateArray<GLdouble,Array::DoubleArrayType,1,GL_DOUBLE> osg::DoubleArray |
typedef TemplateArray<GLfloat,Array::FloatArrayType,1,GL_FLOAT> osg::FloatArray |
typedef GLExtensions osg::GL2Extensions |
typedef std::list< ref_ptr<GLBufferObject> > osg::GLBufferObjectList |
typedef ptrdiff_t osg::GLintptr |
typedef ptrdiff_t osg::GLsizeiptr |
typedef struct __GLsync* osg::GLsync |
typedef void(GL_APIENTRY * osg::GLTexImage3DProc) (GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
typedef void(GL_APIENTRY * osg::GLU_TESS_CALLBACK) () |
typedef GLUtesselator osg::GLUtesselatorObj |
typedef GLUtesselator osg::GLUtriangulatorObj |
typedef HeightField osg::Grid |
typedef std::vector< osg::ref_ptr<osg::Image> > osg::ImageList |
typedef TemplateIndexArray<GLint64,Array::Int64ArrayType,1,GL_INT64_ARB> osg::Int64Array |
typedef TemplateIndexArray<GLint,Array::IntArrayType,1,GL_INT> osg::IntArray |
typedef Matrixd osg::Matrix |
typedef Matrix2Template<float> osg::Matrix2 |
typedef Matrix2Template<double> osg::Matrix2d |
typedef Matrix2x3Template<float> osg::Matrix2x3 |
typedef Matrix2x3Template<double> osg::Matrix2x3d |
typedef Matrix2x4Template<float> osg::Matrix2x4 |
typedef Matrix2x4Template<double> osg::Matrix2x4d |
typedef Matrix3Template<float> osg::Matrix3 |
typedef Matrix3Template<double> osg::Matrix3d |
typedef Matrix3x2Template<float> osg::Matrix3x2 |
typedef Matrix3x2Template<double> osg::Matrix3x2d |
typedef Matrix3x4Template<float> osg::Matrix3x4 |
typedef Matrix3x4Template<double> osg::Matrix3x4d |
typedef Matrix4x2Template<float> osg::Matrix4x2 |
typedef Matrix4x2Template<double> osg::Matrix4x2d |
typedef Matrix4x3Template<float> osg::Matrix4x3 |
typedef Matrix4x3Template<double> osg::Matrix4x3d |
typedef TemplateArray<Matrixd,Array::MatrixdArrayType,16,GL_DOUBLE> osg::MatrixdArray |
typedef TemplateArray<Matrixf,Array::MatrixArrayType,16,GL_FLOAT> osg::MatrixfArray |
typedef std::vector< Matrix > osg::MatrixList |
A vector of NodePath, typically used to describe all the paths from a node to the potential root nodes it has.
typedef std::vector< ref_ptr<Node> > osg::NodeList |
typedef std::vector< Node* > osg::NodePath |
A vector of Nodes pointers which is used to describe the path from a root node to a descendant.
typedef std::vector< NodePath > osg::NodePathList |
A vector of NodePath, typically used to describe all the paths from a node to the potential root nodes it has.
typedef OperationThread osg::OperationsThread |
typedef std::vector< osg::ref_ptr<osg::Object> > osg::Parameters |
typedef TemplateArray<Quat,Array::QuatArrayType,4,GL_DOUBLE> osg::QuatArray |
typedef RefMatrixd osg::RefMatrix |
typedef std::vector< osg::ref_ptr<osg::Node> > osg::RefNodePath |
typedef std::vector<osg::ShaderComponent*> osg::ShaderComponents |
typedef std::set<std::string> osg::ShaderDefines |
typedef std::vector<ShadowVolumeOccluder> osg::ShadowVolumeOccluderList |
A list of ShadowVolumeOccluder, used by CollectOccluderVisitor and CullVistor's.
typedef TemplateIndexArray<GLshort,Array::ShortArrayType,1,GL_SHORT> osg::ShortArray |
typedef unsigned long long osg::Timer_t |
typedef TemplateIndexArray<GLubyte,Array::UByteArrayType,1,GL_UNSIGNED_BYTE> osg::UByteArray |
typedef TemplateIndexArray<GLuint64,Array::UInt64ArrayType,1,GL_UNSIGNED_INT64_ARB> osg::UInt64Array |
typedef TemplateIndexArray<GLuint,Array::UIntArrayType,1,GL_UNSIGNED_INT> osg::UIntArray |
typedef TemplateIndexArray<GLushort,Array::UShortArrayType,1,GL_UNSIGNED_SHORT> osg::UShortArray |
typedef TemplateArray<Vec2,Array::Vec2ArrayType,2,GL_FLOAT> osg::Vec2Array |
typedef TemplateArray<Vec2b,Array::Vec2bArrayType,2,GL_BYTE> osg::Vec2bArray |
typedef TemplateArray<Vec2d,Array::Vec2dArrayType,2,GL_DOUBLE> osg::Vec2dArray |
typedef TemplateArray<Vec2i,Array::Vec2iArrayType,2,GL_INT> osg::Vec2iArray |
typedef TemplateArray<Vec2s,Array::Vec2sArrayType,2,GL_SHORT> osg::Vec2sArray |
typedef TemplateArray<Vec2ub,Array::Vec2ubArrayType,2,GL_UNSIGNED_BYTE> osg::Vec2ubArray |
typedef TemplateArray<Vec2ui,Array::Vec2uiArrayType,2,GL_UNSIGNED_INT> osg::Vec2uiArray |
typedef TemplateArray<Vec2us,Array::Vec2usArrayType,2,GL_UNSIGNED_SHORT> osg::Vec2usArray |
typedef TemplateArray<Vec3,Array::Vec3ArrayType,3,GL_FLOAT> osg::Vec3Array |
typedef TemplateArray<Vec3b,Array::Vec3bArrayType,3,GL_BYTE> osg::Vec3bArray |
typedef TemplateArray<Vec3d,Array::Vec3dArrayType,3,GL_DOUBLE> osg::Vec3dArray |
typedef TemplateArray<Vec3i,Array::Vec3iArrayType,3,GL_INT> osg::Vec3iArray |
typedef TemplateArray<Vec3s,Array::Vec3sArrayType,3,GL_SHORT> osg::Vec3sArray |
typedef TemplateArray<Vec3ub,Array::Vec3ubArrayType,3,GL_UNSIGNED_BYTE> osg::Vec3ubArray |
typedef TemplateArray<Vec3ui,Array::Vec3uiArrayType,3,GL_UNSIGNED_INT> osg::Vec3uiArray |
typedef TemplateArray<Vec3us,Array::Vec3usArrayType,3,GL_UNSIGNED_SHORT> osg::Vec3usArray |
typedef TemplateArray<Vec4,Array::Vec4ArrayType,4,GL_FLOAT> osg::Vec4Array |
typedef TemplateArray<Vec4b,Array::Vec4bArrayType,4,GL_BYTE> osg::Vec4bArray |
typedef TemplateArray<Vec4d,Array::Vec4dArrayType,4,GL_DOUBLE> osg::Vec4dArray |
typedef TemplateArray<Vec4i,Array::Vec4iArrayType,4,GL_INT> osg::Vec4iArray |
typedef TemplateArray<Vec4s,Array::Vec4sArrayType,4,GL_SHORT> osg::Vec4sArray |
typedef TemplateArray<Vec4ub,Array::Vec4ubArrayType,4,GL_UNSIGNED_BYTE> osg::Vec4ubArray |
typedef TemplateArray<Vec4ui,Array::Vec4uiArrayType,4,GL_UNSIGNED_INT> osg::Vec4uiArray |
typedef TemplateArray<Vec4us,Array::Vec4usArrayType,4,GL_UNSIGNED_SHORT> osg::Vec4usArray |
typedef MixinVector<GLsizei> osg::VectorGLsizei |
typedef MixinVector<GLubyte> osg::VectorGLubyte |
typedef MixinVector<GLuint> osg::VectorGLuint |
typedef MixinVector<GLushort> osg::VectorGLushort |
enum osg::Endian |
enum osg::NotifySeverity |
Range of notify levels from DEBUG_FP through to FATAL, ALWAYS is reserved for forcing the absorption of all messages. The keywords are also used verbatim when specified by the environmental variable OSGNOTIFYLEVEL or OSG_NOTIFY_LEVEL. See documentation on osg::notify() for further details.
Enumerator | |
---|---|
ALWAYS | |
FATAL | |
WARN | |
NOTICE | |
INFO | |
DEBUG_INFO | |
DEBUG_FP |
void osg::_modifyRow | ( | unsigned int | num, |
GLenum | pixelFormat, | ||
T * | data, | ||
float | scale, | ||
const M & | operation | ||
) |
void osg::_readRow | ( | unsigned int | num, |
GLenum | pixelFormat, | ||
const T * | data, | ||
O & | operation | ||
) |
|
inline |
|
extern |
Convert a ascii number to a double, ignoring locale settings.
|
inline |
Convert a ascii number to a float, ignoring locale settings.
|
inline |
|
inline |
For each element of the three-element array value[], if the element is between or equal to minValue and maxValue do nothing - legal value, Otherwise clamp the element to the range and warn that valueName[i] was clamped. Equivalent to calling clampArray3GEQUAL( value, minValue, valueName); clampArray3LEQUAL( value, maxValue, valueName);
|
inline |
For each element of the three-element array value[], if the element is greater than or equal to minValue do nothing - legal value, Otherwise clamp the element to minValue, and warn that valueName[i] was clamped.
|
inline |
For each element of the three-element array value[], if the element is less than or equal to maxValue do nothing - legal value, Otherwise clamp the element to maxValue, and warn that valueName[i] was clamped.
|
inline |
For each element of the four-element array value[], if the element is between or equal to minValue and maxValue do nothing - legal value, Otherwise clamp the element to the range and warn that valueName[i] was clamped. Equivalent to calling clampArray4GEQUAL( value, minValue, valueName); clampArray4LEQUAL( value, maxValue, valueName);
|
inline |
For each element of the four-element array value[], if the element is greater than or equal to minValue do nothing - legal value, Otherwise clamp the element to minValue, and warn that valueName[i] was clamped.
|
inline |
For each element of the four-element array value[], if the element is less than or equal to maxValue do nothing - legal value, Otherwise clamp the element to maxValue, and warn that valueName[i] was clamped.
|
inline |
If value[i] is between or equal to minValue and maxValue do nothing - legal value, Otherwise clamp value[i] to specified range and warn that valueName[i] was clamped. Equivalent to calling clampArrayElementGEQUAL( value, i, minValue, valueName ); clampArrayElementLEQUAL( value, i, maxValue, valueName );
|
inline |
If value[i] is greater than or equal to minValue do nothing - legal value, Otherwise set value[i] to minValue, and warn that valueName[i] was clamped. Note this is effectively A[i]=max(A[i],B).
|
inline |
If value[i] is less than or equal to maxValue do nothing - legal value, Otherwise set value[i] to maxValue, and warn that valueName[i] was clamped. Note this is effectively A[i]=min(A[i],B).
|
inline |
For each element of value[] in the range (first,last), if the element is between or equal to minValue and maxValue do nothing - legal value, Otherwise clamp the element to the range and warn that valueName[i] was clamped. Equivalent to calling clampArrayElementsGEQUAL( value, first, last, minValue, valueName); clampArrayElementsLEQUAL( value, first, last, maxValue, valueName);
|
inline |
For each element of value[] in the range (first,last), if the element is greater than or equal to minValue do nothing - legal value, Otherwise clamp the element to minValue, and warn that valueName[i] was clamped.
|
inline |
For each element of value[] in the range (first,last), if the element is less than or equal to maxValue do nothing - legal value, Otherwise clamp the element to maxValue, and warn that valueName[i] was clamped.
|
inline |
|
inline |
|
inline |
If value is between or equal to minValue and maxValue do nothing - legal value, Otherwise clamp value to specified range and warn that valueName was clamped. Equivalent to calling clampGEQUAL( value, minValue, valueName ); clampLEQUAL( value, maxValue, valueName );
|
inline |
If value is greater than or equal to minValue do nothing - legal value, Otherwise set value to minValue, and warn that valueName was clamped. Note this is effectively A=max(A,B).
|
inline |
If value is less than or equal to maxValue do nothing - legal value, Otherwise set value to maxValue, and warn that valueName was clamped. Note this is effectively A=min(A,B).
bool osg::clampProjectionMatrix | ( | matrix_type & | projection, |
double & | znear, | ||
double & | zfar, | ||
value_type | nearFarRatio | ||
) |
|
inline |
|
extern |
Compute the min max colour values in the image.
T * osg::clone | ( | const T * | t, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
T * osg::clone | ( | const T * | t, |
const std::string & | name, | ||
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
T * osg::cloneType | ( | const T * | t | ) |
|
extern |
Convert the RGBA values in a Image based on a ColorSpaceOperation defined scheme.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
divide rhs components by rhs vector components.
multiply by vector components.
multiply by vector components.
multiply by vector components.
multiply by vector components.
multiply by vector components.
multiply by vector components.
multiply by vector components.
multiply by vector components.
multiply by vector components.
multiply by vector components.
multiply by vector components.
multiply by vector components.
multiply by vector components.
multiply by vector components.
|
inline |
|
extern |
Compute the matrix which transforms objects in eye coords to local coords, by accumulating the Transform world to local matrices along the specified node path and multiplying by the inverse of the supplied initial camera modelview.
|
extern |
Compute the matrix which transforms objects in local coords to eye coords, by accumulating the Transform local to world matrices along the specified node path and multiplying by the supplied initial camera modelview.
|
extern |
Compute the matrix which transforms objects in local coords to world coords, by accumulating the Transform local to world matrices along the specified node path.
|
extern |
Compute the min max colour values in the image.
|
inline |
compute the volume of a tetrahedron.
|
inline |
compute the volume of a prism.
|
extern |
Compute the matrix which transforms objects in world coords to local coords, by accumulating the Transform world to local matrices along the specified node path.
bool osg::convertPointer | ( | T & | dest, |
R | src | ||
) |
T osg::convertPointerType | ( | R | src | ) |
|
extern |
|
extern |
|
inline |
|
extern |
Compute source image to destination image.
Geode * osg::createGeodeForImage | ( | const ref_ptr< T > & | image, |
float | s, | ||
float | t | ||
) |
|
extern |
Convenience function to be used by image loaders to generate a valid geode to return for readNode(). Use the image's s and t values to scale the dimensions of the image.
|
extern |
Convenience function to be used by image loaders to generate a valid geode to return for readNode(). Use the specified s and t values to scale the dimensions of the image.
|
extern |
create a 3D osg::Image from a list of osg::Image.
|
extern |
create a 3D osg::Image from a list of osg::Image.
|
extern |
Create a copy of an osg::Image. converting the origin and orientation to standard lower left OpenGL style origin .
|
extern |
create a 2D osg::Image that provides a point at the center of the image. The colour across th image is computed from a balance between the center color and the background color controlled by the power of the radius from the center.
|
extern |
Convenience function to be used for creating quad geometry with texture coords. Tex coords go from left bottom (l,b) to right top (r,t).
|
inline |
Convenience function to be used for creating quad geometry with texture coords. Tex coords go from bottom left (0,0) to top right (s,t).
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
extern |
Do a GL delete all OpenGL objects. Note, must be called from a thread which has current the graphics context associated with contextID.
|
extern |
Discard all OpenGL objects. Note, unlike deleteAllGLjects discard does not do any OpenGL calls so can be called from any thread, but as a consequence it also doesn't remove the associated OpenGL resource so discard should only be called when the associated graphics context is being/has been closed.
|
inline |
|
inline |
return true if double lhs and rhs are equivalent, meaning that the difference between them is less than an epsilon value which defaults to 1e-6.
|
inline |
return true if float lhs and rhs are equivalent, meaning that the difference between them is less than an epsilon value which defaults to 1e-6.
|
extern |
Detect first ascii POSITIVE number in string and convert to double.
|
inline |
Detect first ascii POSITIVE number in string and convert to double.
|
extern |
Flush all deleted OpenGL objects. Note, must be called from a thread which has current the graphics context associated with contextID.
|
extern |
Flush all deleted OpenGL objects within the specified availableTime. Note, must be called from a thread which has current the graphics context associated with contextID.
|
inline |
|
inline |
|
inline |
|
inline |
convenience function for getting the binding of array via a ptr that may be null.
|
inline |
Convenience function for getting the CallbackObject associated with specified name from an Object's UserDataContainer.
|
inline |
Convenience function for getting the CallbackObject associated with specified name from an Object's UserDataContainer.
|
extern |
Get the ContextData for a specific contextID.
|
inline |
|
extern |
Get the list of extensions that are disabled for various OpenGL renderers.
|
extern |
Return the address of the specified OpenGL/GLES function. Return NULL if function not supported by OpenGL library. Note, glGLExtensionFuncPtr is declared inline so that the code is compiled locally to the calling code. This should get by Windows' dumb implementation of having different GL function ptr's for each library when linked to it.
|
inline |
Return the address of the specified OpenGL function. If not found then check a second function name, if this fails then return NULL as function is not supported by OpenGL library. This is used for checking something like glActiveTexture (which is in OGL1.3) or glActiveTextureARB.
|
inline |
Return the address of the specified OpenGL function. If not found then check a second function name, if this fails then return NULL as function is not supported by OpenGL library. This is used for checking something like glActiveTexture (which is in OGL1.3) or glActiveTextureARB.
|
extern |
Return floating-point OpenGL/GLES version number. Note: Must only be called within a valid OpenGL context, undefined behavior may occur otherwise.
|
inline |
convenience function for getting the binding of array via a ptr that may be null.
|
extern |
Get currrent notification handler.
|
extern |
get the notify level.
|
extern |
Get or create the ContextData for a specific contextID.
T * osg::getOrCreateUserObjectOfType | ( | P * | parent | ) |
|
inline |
|
inline |
|
inline |
Convenience function for getting the User Object associated with specified name from an Object's UserDataContainer.
|
inline |
Convenience function for getting the User Object associated with specified name from an Object's UserDataContainer.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Small variation on normal gluBuild3DMipmapLevels as we pass in the function pointer to glTexImage3D rather than rely on GLU style query for this function pointer.
|
extern |
Small variation on normal gluBuild3DMipmapLevels as we pass in the function pointer to glTexImage3D rather than rely on GLU style query for this function pointer.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Traditional GLU gluScaleImage function that sets up the PixelStoreModes automatically by doing glGets.; The use of glGet's means that you can only call this function from a thread with a valid graphics context. The use of glGet's will also result in lower performance due to the round trip to the OpenGL driver.
|
extern |
OSG specific gluScaleImage function that allows you to pass in the PixelStoreModes, which enables the code to avoid glGet's that are associated with the conventional gluScaleImage function. Avoiding glGet's allows this gluScaleImage function to be called at any time, from any thread, there is no need to have a graphics context current.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
inline |
helper function for doing a case insenstive compare of two strings.
|
inline |
|
inline |
|
extern |
initialize notify level.
osg::StateSet * osg::initOQDebugState | ( | ) |
osg::StateSet * osg::initOQState | ( | ) |
|
inline |
|
inline |
|
inline |
|
extern |
Return true if "extension" is contained in "extensionString".
|
extern |
Return true if OpenGL/GLES "extension" or minimum OpenGL version number is supported. Note: Must only be called within a valid OpenGL context, undefined behavior may occur otherwise.
|
extern |
Return true if OpenGL/GLES "extension" is supported. Note: Must only be called within a valid OpenGL context, undefined behavior may occur otherwise.
|
extern |
Return true if either OpenGL/GLES "extension1" or "extension2" is supported. Note: Must only be called within a valid OpenGL context, undefined behavior may occur otherwise.
|
inline |
|
inline |
|
extern |
is notification enabled, given the current setNotifyLevel() setting?
|
extern |
|
extern |
Search through the list of Images and find the maximum number of components used among the images.
|
inline |
return the maximum of two values, equivalent to std::max. std::max not used because of STL implementation under IRIX not containing std::max.
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject PlaneValueObject MatrixdValueObject osg::META_ValueObject | ( | BoundingBoxf | , |
BoundingBoxfValueObject | |||
) |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject PlaneValueObject MatrixdValueObject BoundingBoxdValueObject osg::META_ValueObject | ( | BoundingSpheref | , |
BoundingSpherefValueObject | |||
) |
BoolValueObject osg::META_ValueObject | ( | char | , |
CharValueObject | |||
) |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject osg::META_ValueObject | ( | float | , |
FloatValueObject | |||
) |
BoolValueObject UCharValueObject UShortValueObject osg::META_ValueObject | ( | int | , |
IntValueObject | |||
) |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject PlaneValueObject osg::META_ValueObject | ( | Matrixf | , |
MatrixfValueObject | |||
) |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject osg::META_ValueObject | ( | Quat | , |
QuatValueObject | |||
) |
BoolValueObject UCharValueObject osg::META_ValueObject | ( | short | , |
ShortValueObject | |||
) |
osg::META_ValueObject | ( | std::string | , |
StringValueObject | |||
) |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject osg::META_ValueObject | ( | Vec2f | , |
Vec2fValueObject | |||
) |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject osg::META_ValueObject | ( | Vec3d | , |
Vec3dValueObject | |||
) |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject osg::META_ValueObject | ( | Vec4f | , |
Vec4fValueObject | |||
) |
|
inline |
return the minimum of two values, equivalent to std::min. std::min not used because of STL implementation under IRIX not containing std::min.
void osg::modifyImage | ( | osg::Image * | image, |
const M & | operation | ||
) |
void osg::modifyRow | ( | unsigned int | num, |
GLenum | pixelFormat, | ||
GLenum | dataType, | ||
unsigned char * | data, | ||
const M & | operation | ||
) |
|
extern |
notify messaging function for providing fatal through to verbose debugging messages. Level of messages sent to the console can be controlled by setting the NotifyLevel either within your application or via the an environmental variable i.e.
All tell the osg to redirect all debugging and more important messages to the notification stream (useful for debugging) setting ALWAYS will force all messages to be absorbed, which might be appropriate for final applications. Default NotifyLevel is NOTICE. Check the enum NotifySeverity for full range of possibilities. To use the notify with your code simply use the notify function as a normal file stream (like std::cout) i.e
|
inline |
|
extern |
Compute the min max colour values in the image.
|
inline |
Compute the dot product of a (Vec3,1.0) and a Vec4d.
|
inline |
Compute the dot product of a (Vec3,1.0) and a Vec4d.
|
inline |
Compute the dot product of a (Vec3,1.0) and a Vec4d.
|
inline |
Compute the dot product of a (Vec3,1.0) and a Vec4f.
|
inline |
Compute the dot product of a Vec4d and a (Vec3,1.0).
|
inline |
Compute the dot product of a Vec4d and a (Vec3,1.0).
|
inline |
Compute the dot product of a Vec4d and a (Vec3,1.0).
|
inline |
Compute the dot product of a Vec4f and a (Vec3,1.0).
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void osg::readImage | ( | const osg::Image * | image, |
O & | operation | ||
) |
void osg::readRow | ( | unsigned int | num, |
GLenum | pixelFormat, | ||
GLenum | dataType, | ||
const unsigned char * | data, | ||
O & | operation | ||
) |
void osg::releaseGLObjects | ( | const osg::ref_ptr< T > & | object, |
osg::State * | state = 0 |
||
) |
|
inline |
void osg::resizeGLObjectBuffers | ( | const osg::ref_ptr< T > & | object, |
unsigned int | maxSize | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
Call run(..) on named CallbackObjects attached to specified Object. Return true if at least one CallbackObject has been successfully invoked.
|
extern |
Set a list of extensions to disable for different OpenGL renderers. This allows OSG applications to work around OpenGL drivers' bugs which are due to problematic extension support. The format of the string is: "GLRendererString : ExtensionName, ExtensionName; GLRenderString2 : ExtensionName;" An example of is : "SUN_XVR1000:GL_EXT_texture_filter_anisotropic" The default setting of GLExtensionDisableString is obtained from the OSG_GL_EXTENSION_DISABLE environmental variable.
bool osg::setGLExtensionFuncPtr | ( | T & | t, |
const char * | str1, | ||
bool | validContext = true |
||
) |
bool osg::setGLExtensionFuncPtr | ( | T & | t, |
const char * | str1, | ||
const char * | str2, | ||
bool | validContext = true |
||
) |
bool osg::setGLExtensionFuncPtr | ( | T & | t, |
const char * | str1, | ||
const char * | str2, | ||
const char * | str3, | ||
bool | validContext = true |
||
) |
|
extern |
Set notification handler, by default StandardNotifyHandler is used.
|
extern |
set the notify level, overriding the default or the value set by the environmental variable OSGNOTIFYLEVEL or OSG_NOTIFY_LEVEL.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void osg::swapBytes | ( | T & | t | ) |
|
inline |
|
inline |
|
inline |
|
inline |
const double osg::INVLN_2 = 1.0 / LN_2 |
const float osg::INVLN_2f = 1.0f / LN_2f |
const double osg::LN_2 = 0.69314718055994530942 |
const float osg::LN_2f = 0.69314718055994530942f |
const double osg::PI = 3.14159265358979323846 |
const double osg::PI_2 = 1.57079632679489661923 |
const float osg::PI_2f = 1.57079632679489661923f |
const double osg::PI_4 = 0.78539816339744830962 |
const float osg::PI_4f = 0.78539816339744830962f |
const float osg::PIf = 3.14159265358979323846f |
const unsigned int osg::UNINITIALIZED_FRAME_NUMBER =0xffffffff |
const double osg::WGS_84_RADIUS_EQUATOR = 6378137.0 |
const double osg::WGS_84_RADIUS_POLAR = 6356752.3142 |
const Vec3f osg::X_AXIS(1.0, 0.0, 0.0) | ( | 1. | 0, |
0. | 0, | ||
0. | 0 | ||
) |
const Vec3f osg::Y_AXIS(0.0, 1.0, 0.0) | ( | 0. | 0, |
1. | 0, | ||
0. | 0 | ||
) |
const Vec3f osg::Z_AXIS(0.0, 0.0, 1.0) | ( | 0. | 0, |
0. | 0, | ||
1. | 0 | ||
) |