|
Classes |
class | AlphaFunc |
class | AnimationPath |
class | AnimationPathCallback |
class | ApplicationUsage |
class | ApplicationUsageProxy |
class | ArgumentParser |
class | Array |
class | TemplateArray |
class | IndexArray |
class | TemplateIndexArray |
class | ArrayVisitor |
class | ConstArrayVisitor |
class | ValueVisitor |
class | ConstValueVisitor |
class | AutoTransform |
class | Billboard |
class | BlendColor |
class | BlendEquation |
class | BlendFunc |
class | BoundingBox |
class | BoundingSphere |
class | buffered_value |
class | buffered_object |
class | BufferObject |
class | PixelBufferObject |
class | CameraNode |
class | CameraView |
class | ClampColor |
class | ClearNode |
class | ClipNode |
class | ClipPlane |
class | ClusterCullingCallback |
class | CollectOccludersVisitor |
class | ColorMask |
class | ColorMatrix |
class | ConvexPlanarOccluder |
class | ConvexPlanarPolygon |
class | EllipsoidModel |
class | CoordinateSystemNode |
class | CopyOp |
class | CullFace |
class | CullingSet |
class | CullSettings |
class | CullStack |
class | Depth |
class | DisplaySettings |
class | Drawable |
class | DrawPixels |
class | fast_back_stack |
class | Fog |
class | FragmentProgram |
class | FBOExtensions |
class | RenderBuffer |
class | FrameBufferAttachment |
class | FrameBufferObject |
class | FrameStamp |
class | FrontFace |
class | Geode |
class | Geometry |
class | GL2Extensions |
class | GraphicsContext |
class | Block |
class | GraphicsThread |
struct | SwapBuffersOperation |
struct | BarrierOperation |
struct | ReleaseContext_Block_MakeCurrentOperation |
class | Group |
class | Image |
class | ImageStream |
class | Light |
class | LightModel |
class | LightSource |
class | LineSegment |
class | LineStipple |
class | LineWidth |
class | LOD |
class | LogicOp |
class | Material |
class | Matrixd |
class | RefMatrixd |
class | Matrixf |
class | RefMatrixf |
class | MatrixTransform |
class | Multisample |
class | Node |
class | NodeCallback |
class | NodeTrackerCallback |
class | NodeVisitor |
struct | NodeAcceptOp |
class | Object |
class | Observer |
class | observer_ptr |
class | OccluderNode |
class | PagedLOD |
class | Plane |
class | Point |
class | PointSprite |
class | PolygonMode |
class | PolygonOffset |
class | PolygonStipple |
class | Polytope |
class | PositionAttitudeTransform |
class | VectorGLsizei |
class | VectorGLubyte |
class | VectorGLushort |
class | VectorGLuint |
class | PrimitiveFunctor |
class | PrimitiveIndexFunctor |
class | PrimitiveSet |
class | DrawArrays |
class | DrawArrayLengths |
class | DrawElementsUByte |
class | DrawElementsUShort |
class | DrawElementsUInt |
class | Program |
class | Projection |
class | ProxyNode |
class | Quat |
class | ref_ptr |
class | Referenced |
class | DeleteHandler |
class | Scissor |
class | Sequence |
class | ShadeModel |
class | Shader |
class | ShadowVolumeOccluder |
class | Shape |
class | ShapeVisitor |
class | ConstShapeVisitor |
class | Sphere |
class | Box |
class | Cone |
class | Cylinder |
class | Capsule |
class | InfinitePlane |
class | TriangleMesh |
class | ConvexHull |
class | HeightField |
class | CompositeShape |
class | TessellationHints |
class | ShapeDrawable |
class | State |
class | StateAttribute |
class | StateSet |
class | Stencil |
class | Switch |
class | TexEnv |
class | TexEnvCombine |
class | TexEnvFilter |
class | TexGen |
class | TexGenNode |
class | TexMat |
class | Texture |
class | Texture1D |
class | Texture2D |
class | Texture3D |
class | TextureCubeMap |
class | TextureRectangle |
class | Timer |
class | Transform |
class | TriangleFunctor |
class | TriangleIndexFunctor |
class | Matrix2 |
class | Matrix3 |
class | Uniform |
class | Vec2b |
class | Vec2d |
class | Vec2f |
class | Vec2s |
class | Vec3b |
class | Vec3d |
class | Vec3f |
class | Vec3s |
class | Vec4b |
class | Vec4d |
class | Vec4f |
class | Vec4s |
class | Vec4ub |
class | VertexProgram |
class | Viewport |
Typedefs |
typedef TemplateIndexArray<
GLbyte, Array::ByteArrayType,
1, GL_BYTE > | ByteArray |
typedef TemplateIndexArray<
GLshort, Array::ShortArrayType,
1, GL_SHORT > | ShortArray |
typedef TemplateIndexArray<
GLint, Array::IntArrayType,
1, GL_INT > | IntArray |
typedef TemplateIndexArray<
GLubyte, Array::UByteArrayType,
1, GL_UNSIGNED_BYTE > | UByteArray |
typedef TemplateIndexArray<
GLushort, Array::UShortArrayType,
1, GL_UNSIGNED_SHORT > | UShortArray |
typedef TemplateIndexArray<
GLuint, Array::UIntArrayType,
1, GL_UNSIGNED_INT > | UIntArray |
typedef TemplateArray< GLfloat,
Array::FloatArrayType,
1, GL_FLOAT > | FloatArray |
typedef TemplateArray< Vec2,
Array::Vec2ArrayType,
2, GL_FLOAT > | Vec2Array |
typedef TemplateArray< Vec3,
Array::Vec3ArrayType,
3, GL_FLOAT > | Vec3Array |
typedef TemplateArray< Vec4,
Array::Vec4ArrayType,
4, GL_FLOAT > | Vec4Array |
typedef TemplateArray< Vec4ub,
Array::Vec4ubArrayType,
4, GL_UNSIGNED_BYTE > | Vec4ubArray |
typedef TemplateArray< Vec2s,
Array::Vec2sArrayType,
2, GL_SHORT > | Vec2sArray |
typedef TemplateArray< Vec3s,
Array::Vec3sArrayType,
3, GL_SHORT > | Vec3sArray |
typedef TemplateArray< Vec4s,
Array::Vec4sArrayType,
4, GL_SHORT > | Vec4sArray |
typedef TemplateArray< Vec2b,
Array::Vec2bArrayType,
2, GL_BYTE > | Vec2bArray |
typedef TemplateArray< Vec3b,
Array::Vec3bArrayType,
3, GL_BYTE > | Vec3bArray |
typedef TemplateArray< Vec4b,
Array::Vec4bArrayType,
4, GL_BYTE > | Vec4bArray |
typedef Matrixd | CoordinateFrame |
typedef std::vector< ref_ptr<
Node > > | NodeList |
typedef Matrixd | Matrix |
typedef RefMatrixd | RefMatrix |
typedef std::vector< Node * > | NodePath |
typedef std::vector< NodePath > | NodePathList |
typedef std::vector< Matrix > | MatrixList |
typedef std::vector< ShadowVolumeOccluder > | ShadowVolumeOccluderList |
typedef HeightField | Grid |
typedef unsigned long long | Timer_t |
typedef Vec2f | Vec2 |
typedef Vec3f | Vec3 |
typedef Vec4f | Vec4 |
Enumerations |
enum | Endian { BigEndian,
LittleEndian
} |
enum | NotifySeverity {
ALWAYS = 0,
FATAL = 1,
WARN = 2,
NOTICE = 3,
INFO = 4,
DEBUG_INFO = 5,
DEBUG_FP = 6
} |
Functions |
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) |
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) |
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 | isGLExtensionSupported (unsigned int contextID, const char *extension) |
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) |
OSG_EXPORT bool | isGLUExtensionSupported (unsigned int contextID, const char *extension) |
OSG_EXPORT Geode * | createGeodeForImage (Image *image) |
OSG_EXPORT Geode * | createGeodeForImage (Image *image, float s, float t) |
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 &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 | absolute (T v) |
float | equivalent (float lhs, float rhs, float epsilon=1e-6) |
double | 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 | 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) |
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) |
OSG_EXPORT void | setNotifyLevel (NotifySeverity severity) |
OSG_EXPORT NotifySeverity | getNotifyLevel () |
OSG_EXPORT bool | isNotifyEnabled (NotifySeverity severity) |
OSG_EXPORT bool | initNotifyLevel () |
OSG_EXPORT std::ostream & | notify (const NotifySeverity severity) |
std::ostream & | notify (void) |
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) |
OSG_EXPORT Matrix | computeLocalToWorld (const NodePath &nodePath, bool ignoreCameraNodes=true) |
OSG_EXPORT Matrix | computeWorldToLocal (const NodePath &nodePath, bool ignoreCameraNodes=true) |
OSG_EXPORT Matrix | computeLocalToEye (const Matrix &modelview, const NodePath &nodePath, bool ignoreCameraNodes=true) |
OSG_EXPORT Matrix | computeEyeToLocal (const Matrix &modelview, const NodePath &nodePath, bool ignoreCameraNodes=true) |
Vec4d::value_type | operator * (const Vec3d &lhs, const Vec4d &rhs) |
Vec4d::value_type | operator * (const Vec4d &lhs, const Vec3d &rhs) |
Vec4f::value_type | operator * (const Vec3f &lhs, const Vec4f &rhs) |
Vec4f::value_type | operator * (const Vec4f &lhs, const Vec3f &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 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) |