Open Inventor Reference
|
#include <Inventor/system/SbSystem.h>
#include "SbTypeDefs.h"
#include <sys/types.h>
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | SO_VERSION 2 |
These symbols can be used to determine what version of Inventor your application is compiling against. | |
#define | SO_VERSION_REVISION 5 |
#define | SO_VERSION_PATCHLEVEL 1 |
#define | SGI_VERSION 20501 |
#define | TRUE 1 |
#define | FALSE 0 |
#define | SoEXTENDER |
Provide inline template functions for abs, swap, min, max, and clamp. | |
#define | SoINTERNAL |
#define | M_E 2.7182818284590452354 |
#define | M_LOG2E 1.4426950408889634074 |
#define | M_LOG10E 0.43429448190325182765 |
#define | M_LN2 0.69314718055994530942 |
#define | M_LN10 2.30258509299404568402 |
#define | M_PI 3.14159265358979323846 |
#define | M_PI_2 1.57079632679489661923 |
#define | M_PI_4 0.78539816339744830962 |
#define | M_1_PI 0.31830988618379067154 |
#define | M_2_PI 0.63661977236758134308 |
#define | M_2_SQRTPI 1.12837916709551257390 |
#define | M_SQRT2 1.41421356237309504880 |
#define | M_SQRT1_2 0.70710678118654752440 |
#define | MAXFLOAT ((float)3.40282346638528860e+38) |
Typedefs | |
typedef bool | SbBool |
The original OIV version used SbBool as a typedef to int. | |
typedef size_t | SbNodeIdType |
Type of unique ids of SoNode, used in the notification/change detection handling. | |
#define FALSE 0 |
Definition at line 79 of file SbBasic.h.
Referenced by SoBase::addWriteReference(), SoBaseKit::addWriteReference(), SoFieldContainer::addWriteReference(), SoAction::apply(), SoBoxHighlightRenderAction::apply(), SoLineHighlightRenderAction::apply(), SoWWWInline::cancelURLDataRequest(), SoNode::copy(), SoFieldContainer::copyFieldValues(), SoBaseKit::createPathToAnyPart(), SoInteractionKit::createPathToAnyPart(), SoMaterialBundle::forceSend(), SbViewVolume::getAlignRotation(), SoBaseKit::getAnyPart(), SoInteractionKit::getAnyPart(), SoGLTextureEnabledElement::getDefault(), SoDB::getHeaderData(), SoGLRenderAction::handleTransparency(), SoEventCallback::isHandled(), SoGLLazyElement::matches(), SoInput::openFile(), SbTime::operator<(), SbTime::operator<=(), SbPList::operator==(), SbTime::operator>(), SbTime::operator>=(), SoInput::read(), SbPlaneProjector::SbPlaneProjector(), SbPlaneProjector::SbPlaneProjector(), SoMaterialBundle::send(), SoMaterialBundle::sendFirst(), SoInteractionKit::setAnyPartAsPath(), SoInteractionKit::setAnySurrogatePath(), SoBaseKit::setUpConnections(), SoCenterballDragger::setUpConnections(), SoDirectionalLightDragger::setUpConnections(), SoDragPointDragger::setUpConnections(), SoHandleBoxDragger::setUpConnections(), SoInteractionKit::setUpConnections(), SoJackDragger::setUpConnections(), SoPointLightDragger::setUpConnections(), SoRotateCylindricalDragger::setUpConnections(), SoRotateDiscDragger::setUpConnections(), SoRotateSphericalDragger::setUpConnections(), SoScale1Dragger::setUpConnections(), SoScale2Dragger::setUpConnections(), SoScale2UniformDragger::setUpConnections(), SoScaleUniformDragger::setUpConnections(), SoSeparatorKit::setUpConnections(), SoSpotLightDragger::setUpConnections(), SoTabBoxDragger::setUpConnections(), SoTabPlaneDragger::setUpConnections(), SoTrackballDragger::setUpConnections(), SoTransformBoxDragger::setUpConnections(), SoTransformerDragger::setUpConnections(), SoTranslate1Dragger::setUpConnections(), SoTranslate2Dragger::setUpConnections(), SoMaterialBundle::setUpMultiple(), SoAsciiText::~SoAsciiText(), and SoText3::~SoText3().
#define SO_VERSION 2 |
#define SoEXTENDER |
These symbols are used in Inventor header files to distinguish between varying levels of use of classes and members.
Types of classes are:
"class" means a public class intended for use by all users. "SoEXTENDER class" indicates a class that is used only by people extending the set of Inventor classes. "SoINTERNAL class" means that the class is used only by Inventor developers at Silicon Graphics.
Types of member variables and methods are:
"public:" members are used by everybody. "SoEXTENDER public:" members are used when extending Inventor. "SoINTERNAL public:" members are for SGI Inventor developers only. "protected:" members are for people extending Inventor classes. (The "SoEXTENDER" is implied.) "SoINTERNAL protected:" members are for SGI use only. "private:" members are private, dammit.
Definition at line 154 of file SbBasic.h.
Referenced by SoArray::affectsState(), SoMultipleCopy::affectsState(), SoNodeKitListPart::affectsState(), SoSwitch::affectsState(), SoConeDetail::copy(), SoCubeDetail::copy(), SoCylinderDetail::copy(), SoFaceDetail::copy(), SoLineDetail::copy(), SoNodeKitDetail::copy(), SoPointDetail::copy(), SoTextDetail::copy(), SoFile::copyChildren(), SoDB::doSelect(), SoDragger::enableValueChangedCallbacks(), SoSceneManager::getAntialiasing(), SoNode::getByName(), SoFontStyle::getFontName(), SoSeparator::getNumRenderCaches(), SoPickedPoint::getObjectTextureCoords(), SoRayPickAction::getPickedPoint(), SoRotationXYZ::getRotation(), SoCallbackAction::getSwitch(), SoMemoryError::getTypeId(), SoReadError::getTypeId(), SoCamera::getViewportBounds(), SoText2::GLRender(), SoCone::hasPart(), SoCylinder::hasPart(), SoSurroundScale::invalidate(), SoAction::invalidateState(), SoGLRenderAction::invalidateState(), SoError::isOfType(), SoNodekitCatalog::isPublic(), SoPrimitiveVertex::operator=(), SoAntiSquish::recalc(), SoTransform::recenter(), SoDirectionalLightManip::replaceManip(), SoPointLightManip::replaceManip(), SoSpotLightManip::replaceManip(), SoTransformManip::replaceManip(), SoMFEnum::set1Value(), SoOutput::setFloatPrecision(), SoWWWAnchor::setHighlightURLCallBack(), SoBaseKit::setSearchingChildren(), SoSFEnum::setValue(), SoAsciiText::SoAsciiText(), SoBaseColor::SoBaseColor(), SoBlinker::SoBlinker(), SoClipPlane::SoClipPlane(), SoComplexity::SoComplexity(), SoCoordinate3::SoCoordinate3(), SoCoordinate4::SoCoordinate4(), SoCube::SoCube(), SoDirectionalLight::SoDirectionalLight(), SoDrawStyle::SoDrawStyle(), SoEnvironment::SoEnvironment(), SoFaceSet::SoFaceSet(), SoFont::SoFont(), SoIndexedFaceSet::SoIndexedFaceSet(), SoIndexedLineSet::SoIndexedLineSet(), SoIndexedNurbsCurve::SoIndexedNurbsCurve(), SoIndexedNurbsSurface::SoIndexedNurbsSurface(), SoIndexedTriangleSet::SoIndexedTriangleSet(), SoIndexedTriangleStripSet::SoIndexedTriangleStripSet(), SoLevelOfDetail::SoLevelOfDetail(), SoLightModel::SoLightModel(), SoLinearProfile::SoLinearProfile(), SoLineSet::SoLineSet(), SoLocateHighlight::SoLocateHighlight(), SoLOD::SoLOD(), SoMaterial::SoMaterial(), SoMaterialBinding::SoMaterialBinding(), SoMatrixTransform::SoMatrixTransform(), SoNormal::SoNormal(), SoNormalBinding::SoNormalBinding(), SoNurbsCurve::SoNurbsCurve(), SoNurbsProfile::SoNurbsProfile(), SoNurbsSurface::SoNurbsSurface(), SoPackedColor::SoPackedColor(), SoPathSwitch::SoPathSwitch(), SoPickStyle::SoPickStyle(), SoPointLight::SoPointLight(), SoPointSet::SoPointSet(), SoPolygonOffset::SoPolygonOffset(), SoProfileCoordinate2::SoProfileCoordinate2(), SoProfileCoordinate3::SoProfileCoordinate3(), SoQuadMesh::SoQuadMesh(), SoResetTransform::SoResetTransform(), SoRotation::SoRotation(), SoScale::SoScale(), SoShapeHints::SoShapeHints(), SoSphere::SoSphere(), SoSpotLight::SoSpotLight(), SoText3::SoText3(), SoTexture2::SoTexture2(), SoTexture2Transform::SoTexture2Transform(), SoTextureCoordinate2::SoTextureCoordinate2(), SoTextureCoordinateBinding::SoTextureCoordinateBinding(), SoTextureCoordinateDefault::SoTextureCoordinateDefault(), SoTextureCoordinateEnvironment::SoTextureCoordinateEnvironment(), SoTextureCoordinatePlane::SoTextureCoordinatePlane(), SoTransformSeparator::SoTransformSeparator(), SoTranslation::SoTranslation(), SoTriangleStripSet::SoTriangleStripSet(), SoUnits::SoUnits(), SoUnknownNode::SoUnknownNode(), SoVertexProperty::SoVertexProperty(), and SoByteStream::unconvert().
#define SoINTERNAL |
Definition at line 155 of file SbBasic.h.
Referenced by SoSearchAction::addPath(), SoFieldData::addRemovedFieldName(), SoTabBoxDragger::adjustScaleTabSize(), SoTabPlaneDragger::adjustScaleTabSize(), SoSceneKit::affectsState(), SoSeparatorKit::affectsState(), SoShape::affectsState(), SoDragger::appendRotation(), SoRayPickAction::beginTraversal(), SoBaseColor::callback(), SoDrawStyle::callback(), SoEnvironment::callback(), SoLightModel::callback(), SoMaterial::callback(), SoTexture2::callback(), SoDetail::copy(), SoUnknownEngine::copyContents(), SoMFString::deleteText(), SoAntiSquish::doAction(), SoTextureCoordinateDefault::doAction(), SoTextureCoordinateEnvironment::doAction(), SoTextureCoordinatePlane::doAction(), SoInput::eof(), SoEngine::evaluate(), SoMFBitMask::findEnumValue(), SoSFBitMask::findEnumValue(), SoSFImage::finishEditing(), SoQuadMesh::generateDefaultNormals(), SoTriangleStripSet::generateDefaultNormals(), SoVertexShape::generateDefaultNormals(), SoFont::getBoundingBox(), SoIndexedNurbsCurve::getBoundingBox(), SoLineSet::getBoundingBox(), SoNurbsCurve::getBoundingBox(), SoPointSet::getBoundingBox(), SoProfileCoordinate2::getBoundingBox(), SoShapeHints::getBoundingBox(), SoPath::getByName(), SoFieldConverter::getConnectedInput(), SoDB::getConverter(), SoBoxHighlightRenderAction::getLineWidth(), SoLineHighlightRenderAction::getLineWidth(), SoTransformSeparator::getMatrix(), SoGLClipPlaneElement::getMaxGLPlanes(), SoStencilBitsElement::getNumGLBits(), SoHandleEventAction::getPickedPointList(), SoKeyboardEvent::getPrintableCharacter(), SoError::getString(), SoLinearProfile::getVertices(), SoNurbsProfile::getVertices(), SoProfile::getVertices(), SoComputeBoundingBox::getViewportRegion(), SoOrthographicCamera::getViewVolume(), SoPerspectiveCamera::getViewVolume(), SoDirectionalLight::GLRender(), SoPointLight::GLRender(), SoPolygonOffset::GLRender(), SoSpotLight::GLRender(), SoAnnotation::GLRenderInPath(), SoLocateHighlight::GLRenderInPath(), SoLOD::GLRenderOffPath(), SoSeparator::GLRenderOffPath(), SoNode::grabEventsCleanup(), SoWWWAnchor::handleEvent(), SoGLRenderAction::handleTransparency(), SoOutput::indent(), SoText2::initClass(), SoMouseButtonEvent::isButtonReleaseEvent(), SoSpaceballButtonEvent::isButtonReleaseEvent(), SoDelayQueueSensor::isIdleOnly(), SoSensor::isScheduled(), SoShapeStyleElement::isScreenDoor(), SoInt32Element::matches(), SoSFTrigger::operator!=(), SoType::overrideType(), SoClipPlane::pick(), SoComplexity::pick(), SoCoordinate3::pick(), SoCoordinate4::pick(), SoFile::pick(), SoFontStyle::pick(), SoMaterialBinding::pick(), SoMatrixTransform::pick(), SoNormal::pick(), SoNormalBinding::pick(), SoPickStyle::pick(), SoProfileCoordinate3::pick(), SoResetTransform::pick(), SoRotation::pick(), SoRotationXYZ::pick(), SoScale::pick(), SoTexture2Transform::pick(), SoTextureCoordinate2::pick(), SoTextureCoordinateBinding::pick(), SoTransform::pick(), SoTranslation::pick(), SoUnits::pick(), SoVertexProperty::pick(), SoWWWInline::pick(), SoGLDrawStyleElement::pop(), SoGLLinePatternElement::pop(), SoGLLineWidthElement::pop(), SoGLModelMatrixElement::pop(), SoGLPointSizeElement::pop(), SoGLProjectionMatrixElement::pop(), SoGLShapeHintsElement::pop(), SoGLTextureCoordinateElement::pop(), SoGLTextureEnabledElement::pop(), SoGLTextureImageElement::pop(), SoGLTextureMatrixElement::pop(), SoGLViewingMatrixElement::pop(), SoGLViewportRegionElement::pop(), SoBBoxModelMatrixElement::popMatrix(), SoMemoryError::post(), SoReadError::post(), SoDebugError::postInfo(), SoAccumulatedElement::print(), SoClipPlaneElement::print(), SoComplexityTypeElement::print(), SoCoordinateElement::print(), SoCreaseAngleElement::print(), SoDrawStyleElement::print(), SoFloatElement::print(), SoFontNameElement::print(), SoGLCacheContextElement::print(), SoGLLightIdElement::print(), SoGLRenderPassElement::print(), SoGLUpdateAreaElement::print(), SoLightAttenuationElement::print(), SoLinePatternElement::print(), SoLocalBBoxMatrixElement::print(), SoMaterialBindingElement::print(), SoModelMatrixElement::print(), SoNormalBindingElement::print(), SoNormalElement::print(), SoOverrideElement::print(), SoPickRayElement::print(), SoPickStyleElement::print(), SoProfileCoordinateElement::print(), SoProfileElement::print(), SoProjectionMatrixElement::print(), SoReplacedElement::print(), SoShapeHintsElement::print(), SoState::print(), SoTextureCoordinateBindingElement::print(), SoTextureCoordinateElement::print(), SoTextureImageElement::print(), SoTextureMatrixElement::print(), SoTextureOverrideElement::print(), SoUnitsElement::print(), SoViewingMatrixElement::print(), SoViewportRegionElement::print(), SoViewVolumeElement::print(), SoWindowElement::push(), SoAsciiText::rayPick(), SoCamera::rayPick(), SoCone::rayPick(), SoCube::rayPick(), SoCylinder::rayPick(), SoIndexedNurbsSurface::rayPick(), SoLevelOfDetail::rayPick(), SoNurbsSurface::rayPick(), SoSphere::rayPick(), SoText3::rayPick(), SoBase::readInstance(), SoGetBoundingBoxAction::resetCenter(), SoCenterballDragger::saveStartParameters(), SoArray::search(), SoDirectionalLightManip::search(), SoMultipleCopy::search(), SoNodeKitListPart::search(), SoPathSwitch::search(), SoPointLightManip::search(), SoSpotLightManip::search(), SoTransformManip::search(), SoGLCoordinateElement::send(), SoGLMaterialIndexElement::send(), SoGLNormalElement::send(), SoMFColor::set1HSVValue(), SoTrackballDragger::setAnimationEnabled(), SoPickedPoint::setDetail(), SoPolygonOffsetElement::setElt(), SoMFEnum::setEnums(), SoSFEnum::setEnums(), SoSFColor::setHSVValue(), SoTransformerManip::setLocateHighlighting(), SoNodekitCatalog::setNullByDefault(), SoInteractionKit::setSwitchValue(), SoMFMatrix::setValue(), SoMFMatrixd::setValue(), SoMFName::setValue(), SoMFRotation::setValue(), SoMFRotationd::setValue(), SoMFVec2d::setValue(), SoMFVec2f::setValue(), SoMFVec3d::setValue(), SoMFVec3f::setValue(), SoMFVec4d::setValue(), SoMFVec4f::setValue(), SoSFMatrix::setValue(), SoSFMatrixd::setValue(), SoSFName::setValue(), SoSFRotation::setValue(), SoSFRotationd::setValue(), SoSFString::setValue(), SoSFVec2d::setValue(), SoSFVec2f::setValue(), SoSFVec2s::setValue(), SoSFVec3d::setValue(), SoSFVec3f::setValue(), SoSFVec3s::setValue(), SoSFVec4d::setValue(), SoSFVec4f::setValue(), SoAction::shouldCompactPathLists(), SoCallbackAction::shouldGeneratePrimitives(), SoDragPointDragger::showNextDraggerSet(), SoAppearanceKit::SoAppearanceKit(), SoBoolOperation::SoBoolOperation(), SoCalculator::SoCalculator(), SoCameraKit::SoCameraKit(), SoCenterballManip::SoCenterballManip(), SoCounter::SoCounter(), SoElapsedTime::SoElapsedTime(), SoField::SoField(), SoHandleBoxManip::SoHandleBoxManip(), SoInfo::SoInfo(), SoJackManip::SoJackManip(), SoLabel::SoLabel(), SoLightKit::SoLightKit(), SoOneShot::SoOneShot(), SoOnOff::SoOnOff(), SoPendulum::SoPendulum(), SoRotor::SoRotor(), SoSField::SoSField(), SoShapeKit::SoShapeKit(), SoShuttle::SoShuttle(), SoTabBoxManip::SoTabBoxManip(), SoTextureCoordinateFunction::SoTextureCoordinateFunction(), SoTimeCounter::SoTimeCounter(), SoTrackballManip::SoTrackballManip(), SoTransformBoxManip::SoTransformBoxManip(), SoTransformVec3f::SoTransformVec3f(), SoTriggerAny::SoTriggerAny(), SoWrapperKit::SoWrapperKit(), SoChildList::traverse(), SoDataSensor::unschedule(), SoTimerSensor::unschedule(), SoBaseKit::write(), SoBlinker::write(), SoCallback::write(), SoGroup::write(), SoSwitch::write(), SoUnknownNode::write(), SoGLPolygonOffsetElement::~SoGLPolygonOffsetElement(), SoGLStencilBitsElement::~SoGLStencilBitsElement(), SoGLVBOElement::~SoGLVBOElement(), and SoLocation2Event::~SoLocation2Event().
#define TRUE 1 |
Definition at line 76 of file SbBasic.h.
Referenced by SoInput::addReference(), SoByteStream::convert(), SoByteStream::convert(), SoByteStream::convert(), SoMaterialBundle::forceSend(), SoNormalBundle::generate(), SoClipPlaneElement::get(), SoBaseKit::getContainerNode(), SoShapeHintsElement::getDefaultVBOUsage(), SoRayPickAction::intersect(), SoInteractionKit::isPathSurrogateInMySubgraph(), SoGLLazyElement::lazyMatches(), SbString::makeEmpty(), SoGLCacheList::open(), SbPList::operator!=(), SbTime::operator<(), SbTime::operator<=(), SbTime::operator>(), SbTime::operator>=(), SoTranSender::prepareToSend(), SoSceneManager::render(), SbCylinderPlaneProjector::SbCylinderPlaneProjector(), SbCylinderPlaneProjector::SbCylinderPlaneProjector(), SbCylinderSectionProjector::SbCylinderSectionProjector(), SbCylinderSectionProjector::SbCylinderSectionProjector(), SbCylinderSheetProjector::SbCylinderSheetProjector(), SbCylinderSheetProjector::SbCylinderSheetProjector(), SbSpherePlaneProjector::SbSpherePlaneProjector(), SbSpherePlaneProjector::SbSpherePlaneProjector(), SbSphereSectionProjector::SbSphereSectionProjector(), SbSphereSectionProjector::SbSphereSectionProjector(), SbSphereSheetProjector::SbSphereSheetProjector(), SbSphereSheetProjector::SbSphereSheetProjector(), SoBaseKit::setAnyPart(), SoInteractionKit::setAnyPart(), SoInteractionKit::setAnyPartAsDefault(), SoInteractionKit::setAnyPartAsDefault(), SoTimerSensor::setBaseTime(), SoSearchAction::setFound(), SoHandleEventAction::setHandled(), SoInteractionKit::setPartAsDefault(), SoInteractionKit::setPartAsDefault(), SoSelection::setPickFilterCallback(), SoGetBoundingBoxAction::setResetPath(), SoSearchAction::setType(), SoMaterialBundle::setUpMultiple(), SoTextureCoordinateBundle::SoTextureCoordinateBundle(), and SoField::valueChanged().
typedef bool SbBool |
typedef size_t SbNodeIdType |