Classes | |
class | AnimatedQuads |
GeoSet for animated Quads. More... | |
class | AnimatedTransform |
Class representing an animated transformation. More... | |
class | AnimatedTriangles |
GeoSet for animated Triangles. More... | |
class | Animation |
Class defining the common interface of an animation. More... | |
class | Camera |
Base class for all camera types. More... | |
class | CgFx |
Effect attribute. More... | |
class | CullData |
Class holding culling information for an object and it's children. More... | |
class | DALHost |
Device Abstraction Link (DAL) Host. More... | |
class | DALDataCreator |
Creating DALData to be exchanged via a Device Abstraction Link requires this particular interface. More... | |
class | DALData |
Device Abstraction Link Data. More... | |
class | DALServer |
Device Abstraction Link Server. More... | |
class | DirectedLight |
Class representing a directed light. More... | |
class | Drawable |
Base class of all drawable objects. More... | |
class | NVSGException |
struct | Face |
Helper class for Quads and Triangles. More... | |
class | FaceAttributeData |
Data of a FaceAttribute that is worth sharing. More... | |
class | FaceAttribute |
StateAttribute that determines the render modes to use for the following geometries. More... | |
class | FramedAnimation |
An Animation that holds a complete data set for each frame. More... | |
class | GeoNode |
Node to hold a set of geometry. More... | |
class | GeoSet |
Base class for Geometries. More... | |
class | Group |
Group node. More... | |
class | HighlightBox |
Base class for Highlighting objects that can be attached to Geosets. More... | |
class | HighlightEdges |
Base class for Highlighting objects that can be attached to Geosets. More... | |
class | HighlightObject |
Base class for Highlighting objects that can be attached to Geosets. More... | |
class | InterpolatedAnimation |
Base class for an interpolating Animation . More... | |
class | JitterCamera |
A jittering camera. More... | |
class | LightSource |
Base class for representing all light sources. More... | |
class | LinearInterpolatedAnimation |
An InterpolatedAnimation that performs linear interpolations between the key frames. More... | |
class | LOD |
Level Of Detail class. More... | |
class | Material |
StateAttribute that determines the material properties to use for the following geometries. More... | |
class | MonoCamera |
A monoscopic camera. More... | |
class | Node |
Base class for all nodes of the scene graph. More... | |
class | Object |
Base class for all objects. More... | |
class | ParallelCamera |
A parallel camera. More... | |
class | Path |
Path representation in the tree. More... | |
class | PerspectiveCamera |
A perspective camera. More... | |
class | SceneLoader |
Pure virtual base class for NVSG scene loader plug-ins. More... | |
class | SceneSaver |
Pure virtual base class for NVSG scene saver plug-ins. More... | |
class | PointLight |
Class representing a point light. More... | |
class | Quads |
GeoSet for Quads. More... | |
class | QuadStrips |
GeoSet defining quad strips. More... | |
class | Scene |
Shrink wrap class to subsume all scene related information. More... | |
class | SimpleCamera |
A simple camera. More... | |
class | Bone |
Internal helper class for SkinnedTriangles. More... | |
struct | Skin |
Internal helper class for SkinnedTriangles. More... | |
class | SkinnedTriangles |
GeoSet for animated Triangles. More... | |
class | SpotLight |
Class representing a spot light. More... | |
class | StateAttribute |
Pure virtual base class of all state attribute objects. More... | |
class | StateSet |
Class to hold a list of StateAttributes. More... | |
class | StereoCamera |
A stereoscopic camera. More... | |
class | Switch |
Switch node. More... | |
class | Texture |
Class to hold a texture. More... | |
class | TextureAttributeItemData |
Data of a texture attribute item that is worth sharing. More... | |
class | TextureAttributeItem |
Texture attribute item. More... | |
class | TextureAttribute |
Texture attribute. More... | |
class | Transform |
Transformation node. More... | |
class | Triangles |
GeoSet for Triangles. More... | |
class | TriStrips |
GeoSet defining triangle strips. More... | |
class | ViewState |
Class to encapsulate the view specific states. More... | |
class | VNVector |
Helper class for use in Animation . More... | |
Typedefs | |
typedef const CgFxAnnotation * | CgFxAnnotationHandle |
Handle to a CgFxAnnotation . | |
typedef const CgFxParameter * | CgFxParameterHandle |
Handle to a CgFxParameter . | |
typedef const CgFxTechnique * | CgFxTechniqueHandle |
Handle to a CgFxTechnique . | |
typedef const CgFxPass * | CgFxPassHandle |
Handle to a CgFxPass . | |
typedef std::pair< eCgFxSemantic, CgFxParameterHandle > | CgFxTransform |
A pair of a eCgFxSemantic and a CgFxParameterHandle . | |
typedef Face< 3 > | Face3 |
Shortcut for a 3-element face. | |
typedef Face< 4 > | Face4 |
Shortcut for a 4-element face. | |
typedef std::vector< unsigned int > | IndexSet |
Shortcut for a vector of indices as used in TriStrips and QuadStrips. | |
typedef unsigned long long | DataID |
64-bit save DataID. | |
Enumerations | |
enum | eCgFxSemantic { CGFX_SEMANTIC_UNKNOWN = 0, CGFX_SEMANTIC_WORLD, CGFX_SEMANTIC_FIRST_TRANSFORM = CGFX_SEMANTIC_WORLD, CGFX_SEMANTIC_VIEW, CGFX_SEMANTIC_PROJECTION, CGFX_SEMANTIC_WORLDT, CGFX_SEMANTIC_VIEWT, CGFX_SEMANTIC_PROJECTIONT, CGFX_SEMANTIC_WORLDI, CGFX_SEMANTIC_VIEWI, CGFX_SEMANTIC_PROJECTIONI, CGFX_SEMANTIC_WORLDIT, CGFX_SEMANTIC_VIEWIT, CGFX_SEMANTIC_PROJECTIONIT, CGFX_SEMANTIC_WORLDVIEW, CGFX_SEMANTIC_WORLDVIEWPROJECTION, CGFX_SEMANTIC_WORLDVIEWT, CGFX_SEMANTIC_WORLDVIEWPROJECTIONT, CGFX_SEMANTIC_WORLDVIEWI, CGFX_SEMANTIC_WORLDVIEWPROJECTIONI, CGFX_SEMANTIC_WORLDVIEWIT, CGFX_SEMANTIC_WORLDVIEWPROJECTIONIT, CGFX_SEMANTIC_LAST_TRANSFORM = CGFX_SEMANTIC_WORLDVIEWPROJECTIONIT } |
enum | CullCode { CC_OUT, CC_IN, CC_PART } |
ID to describe the cull code for an object. More... | |
enum | TextureCoordType { TCT_CYLINDRICAL, TCT_PLANAR, TCT_SPHERICAL } |
Type to specify the type of texture coordinate to generate. More... | |
enum | { OC_INVALID = 0xFFFFFFFF, OC_OBJECT = 0, OC_NODE = OC_OBJECT, OC_GEONODE, OC_GROUP, OC_LOD, OC_SWITCH, OC_TRANSFORM, OC_ANIMATEDTRANSFORM, OC_DIRECTEDLIGHT, OC_POINTLIGHT, OC_SPOTLIGHT, OC_DRAWABLES = 0x20, OC_GEOSET, OC_QUADS, OC_ANIMATEDQUADS, OC_QUADSTRIPS, OC_TRIANGLES, OC_ANIMATEDTRIANGLES, OC_SKINNEDTRIANGLES, OC_TRISTRIPS, OC_STATESET = 0x40, OC_STATEATTRIBUTE, OC_CGFX, OC_FACEATTRIBUTE, OC_MATERIAL, OC_TEXTUREATTRIBUTE, OC_TEXTUREATTRIBUTEITEM, OC_ANIMATION = 0x60, OC_FRAMEDTRAFOANIMATION, OC_FRAMEDVNVECTORANIMATION, OC_LINEARINTERPOLATEDTRAFOANIMATION, OC_LINEARINTERPOLATEDVNVECTORANIMATION, OC_CAMERA = 0x80, OC_JITTERCAMERA, OC_PARALLELCAMERA, OC_PERSPECTIVECAMERA, OC_STEREOCAMERA, OC_HIGHLIGHTOBJECT = 0xA0, OC_HIGHLIGHTBOX, OC_HIGHLIGHTEDGES, OC_CUSTOMOBJECT = 0xC0 } |
Object Codes for NVCSG Object Type Identification. More... | |
enum | TextureType { TT_INVALID = 0, TT_TRANSPARENT = 1, TT_DIFFUSE = 3 } |
Texture types. More... | |
enum | TexCoordAxis { TCA_S = 0, TCA_T, TCA_R, TCA_Q } |
Texture coordinate axis. More... | |
enum | TextureEnvMode { TEM_REPLACE = 0, TEM_MODULATE, TEM_DECAL, TEM_BLEND, TEM_ADD } |
Texture environment mode. More... | |
enum | TexGenLinearMode { TGML_OBJECT = 0, TGML_EYE } |
Texture coordinate generation linear mode. More... | |
enum | TexGenMode { TGM_OFF = -1, TGM_OBJECT_LINEAR = TGML_OBJECT, TGM_EYE_LINEAR = TGML_EYE, TGM_SPHERE_MAP } |
Texture coordinate generation mode. More... | |
enum | TextureWrapMode { TWM_REPEAT = 0, TWM_CLAMP, TWM_MIRROR } |
Texture wrap mode. More... | |
enum | TextureMinFilterMode { TFM_MIN_NEAREST = 0, TFM_MIN_BILINEAR, TFM_MIN_TRILINEAR } |
Texture minification mode. More... | |
enum | TextureMagFilterMode { TFM_MAG_NEAREST = 0, TFM_MAG_BILINEAR } |
Texture magnification mode. More... | |
Functions | |
NVSG_API bool | CgFx_getTextureFileName (const CgFx *cgfx, CgFxParameterHandle hdl, std::string &file) |
Get texture file name. | |
NVSG_API void | CgFx_setTextureFileName (CgFx *cgfx, CgFxParameterHandle hdl, const std::string &file) |
Set texture file name. | |
const char * | getParameterName (CgFxParameterHandle hdl) |
Get the name for a certain parameter. | |
const char * | getPassName (CgFxPassHandle hdl) |
Get the name for a certain render pass. | |
const char * | getTechniqueName (CgFxTechniqueHandle hdl) |
Get the name for a certain render technique. | |
const char * | getParameterSemantic (CgFxParameterHandle hdl) |
Get the semantic for a certain parameter. | |
CgFXPARAMETERTYPE | getParameterType (CgFxParameterHandle hdl) |
Get the type of a certain parameter. | |
bool | isParameterScalarType (CgFxParameterHandle hdl) |
Detect if the parameter identified by hdl is a scalar type. | |
bool | isParameterVector2Type (CgFxParameterHandle hdl) |
Detect if the parameter identified by hdl is a two-dimensional vector type. | |
bool | isParameterVector3Type (CgFxParameterHandle hdl) |
Detect if the parameter identified by hdl is a three-dimensional vector type. | |
bool | isParameterVector4Type (CgFxParameterHandle hdl) |
Detect if the parameter identified by hdl is a four-dimensional vector type. | |
bool | isParameterMatrix33Type (CgFxParameterHandle hdl) |
Detect if the parameter identified by hdl is a 3x3 matrix type. | |
bool | isParameterMatrix34Type (CgFxParameterHandle hdl) |
Detect if the parameter identified by hdl is a 3x4 matrix type. | |
bool | isParameterMatrix43Type (CgFxParameterHandle hdl) |
Detect if the parameter identified by hdl is a 4x3 matrix type. | |
bool | isParameterMatrix44Type (CgFxParameterHandle hdl) |
Detect if the parameter identified by hdl is a 4x4 matrix type. | |
bool | isParameterTextureType (CgFxParameterHandle hdl) |
Detect if the parameter identified by hdl is a texture type. | |
bool | isParameterSamplerType (CgFxParameterHandle hdl) |
Detect if the parameter identified by hdl is a sampler type. | |
bool | isTechniqueValid (CgFxTechniqueHandle hdl) |
Detect whether the technique identified by hdl is valid. | |
typedef void | NVSGERRORHANDLER (const NVSGException &) |
NVSGERRORHANDLER * | nvsgSetErrorHandler (NVSGERRORHANDLER *newErrorHandler) |
NVSG_API void | nvsgInitialize (bool runInMultithreadedEnvironment=false) |
Per-application initialization of NVSG global data. | |
NVSG_API void | nvsgTerminate () |
Per-application termination of nvsg global data. | |
NVSG_API void | getVersionString (std::string &string) |
Get the version string of the NVSGSDK. | |
NVSG_API void | getSDKName (std::string &string) |
Get the NVSGSDK name string. | |
NVSG_API void | getCopyrightString (std::string &string) |
Get the NVSGSDK copyright string. | |
NVSG_API void | getVendorName (std::string &string) |
Get the NVSGSDK vendor name. | |
template<typename T> | |
const T * | endEdit (const T *&obj) |
template<typename T> | |
bool | isTypeOf (const Object *p) |
Detect if the Object pointed to by p is a pointer to a specified (templated) type. | |
bool | areOfSameType (const Object &p0, const Object &p1) |
Detect if the two Objects p0 and p1 are of the same type. | |
VNVector | lerp (float alpha, const VNVector &v0, const VNVector &v1) |
Linear interpolation between two VNVector . | |
Variables | |
class class class class class typedef const CgFxEntity * | CgFxEntityHandle |
Handle to a CgFxEntity . | |
class typedef unsigned long | HDAL |
const HDAL | HDAL_INVALID |
NVSGERRORHANDLER * | nvsgErrorHandler |
This namespace contains all core NVSG classes. Put all the scenegraph and node related classes in here.
|
Handle to a
|
|
Handle to a
|
|
Handle to a
|
|
Handle to a
|
|
A pair of a
|
|
Shortcut for a 3-element face.
|
|
Shortcut for a 4-element face.
|
|
Shortcut for a vector of indices as used in TriStrips and QuadStrips.
|
|
64-bit save DataID.
The DataID is used to identify an instance of an |
|
|
|
ID to describe the cull code for an object.
|
|
Type to specify the type of texture coordinate to generate. There are three different types of texture coordinate generation available: cylindrical, planar, and spherical.
|
|
Object Codes for NVCSG Object Type Identification.
For a custom traverser it is essential to identify all actual scenegraph components while traversing the scenegraph, and to call the corresponding handler routine for a particular object. For this reason, all concrete NVSG object types must be assigned to a unique object code. Secure object codes for custom defined NVSG objects start at OC_CUSTOMOBJECT.
|
|
Texture types.
|
|
Texture coordinate axis.
|
|
Texture environment mode.
|
|
Texture coordinate generation linear mode.
|
|
Texture coordinate generation mode.
|
|
Texture wrap mode.
|
|
Texture minification mode.
|
|
Texture magnification mode.
|
|
Get texture file name. If a texture filename is available for a texture type parameter identified by hdl, this function obtains the texture file name in fname.
|
|
Set texture file name. For a texture type parameter identified by hdl, this function sets the texture file name to file.
|
|
Get the name for a certain parameter.
|
|
Get the name for a certain render pass.
|
|
Get the name for a certain render technique.
|
|
Get the semantic for a certain parameter.
|
|
Get the type of a certain parameter.
|
|
Detect if the parameter identified by hdl is a scalar type.
|
|
Detect if the parameter identified by hdl is a two-dimensional vector type.
|
|
Detect if the parameter identified by hdl is a three-dimensional vector type.
|
|
Detect if the parameter identified by hdl is a four-dimensional vector type.
|
|
Detect if the parameter identified by hdl is a 3x3 matrix type.
|
|
Detect if the parameter identified by hdl is a 3x4 matrix type.
|
|
Detect if the parameter identified by hdl is a 4x3 matrix type.
|
|
Detect if the parameter identified by hdl is a 4x4 matrix type.
|
|
Detect if the parameter identified by hdl is a texture type.
|
|
Detect if the parameter identified by hdl is a sampler type.
|
|
Detect whether the technique identified by hdl is valid.
|
|
A NVSG error handler routine is of this type |
|
Replace the current NVSG error handler by newErrorHandler Parameters
Return Value A pointer to the formerly used error handler routine. |
|
Per-application initialization of NVSG global data. An application must call this routine once before any other NVSG API call. This routine properly initializes all global data required by the NVSG API.
In addition, this routine optionally configures the NVSG library to run safe in a multithreaded environment. This will be achieved by specifying It is recommended to call this routine inside the application's initial entry point.
|
|
Per-application termination of nvsg global data. It is strongly recommended to call this routine when the application terminates. This routine properly frees all global data required by the nvsg API.
|
|
Get the version string of the NVSGSDK.
|
|
Get the NVSGSDK name string.
|
|
Get the NVSGSDK copyright string.
|
|
Get the NVSGSDK vendor name.
|
|
Detect if the
|
|
Detect if the two
|
|
Linear interpolation between two
Performs a linear interpolation v = v0 + alpha * ( v1 - v0 ) of each corresponding vertex and normal of the two
|
|
Handle to a
|
|
Global pointer to the currently used NVSG error handler routine. Use the nvsgSetErrorHandler function to assign a new error handler routine . |