Click or drag to resize
SoTangentCache Class

Class OIV.Inventor.Caches.SoTangentCache:

Inheritance Hierarchy

Namespace: OIV.Inventor.Caches
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public class SoTangentCache : SoCache

The SoTangentCache type exposes the following members.

Constructors
  NameDescription
Public methodSoTangentCache
Initializes a new instance of the SoTangentCache class
Top
Methods
  NameDescription
Public methodAddCacheDependency

Adds a dependency of this instance on another cache instance.

(Inherited from SoCache.)
Public methodAddElement

Adds an element to elements-used list if not already there.

(Inherited from SoCache.)
Public methodDispose
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCachedInvalidElement

Assuming OIV.Inventor.Caches.SoCache.IsValid(OIV.Inventor.Misc.SoState) returns false, this will return the first cached element that is invalid (auto-caching uses this in its heuristic).

(Inherited from SoCache.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetInvalidElement

Assuming OIV.Inventor.Caches.SoCache.IsValid(OIV.Inventor.Misc.SoState) returns false, this will return the first state element that is invalid (auto-caching uses this in its heuristic).

(Inherited from SoCache.)
Public methodGetNum

Returns the number of tangents in the cache.

Public methodGetStartIndex

Returns the startIndex offset in the cache.

Public methodGetTangentBinding

Returns the tangent binding in the cache.

Public methodGetTangents

Returns the list of tangents in the cache .

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvalidate

Make this cache invalid.

(Inherited from SoCache.)
Public methodIsContextDependent

return current context dependency state.

(Inherited from SoBaseContextCache.)
Public methodIsValid(SoState)

Returns true if cache is valid with respect to the given state.

(Inherited from SoCache.)
Public methodIsValid(SoState, SoElement)

Return is the given element is valid True if the element is not monitored.

(Inherited from SoCache.)
Public methodRelease

This function is called when a context has been requested to delete the context through the SoDeviceContext.dispose() method.

(Inherited from SoBaseContextCache.)
Public methodSet(SbVec3f, SoTangentBindingElementBindings)
Calls Set(tangents, tangentBinding, System.Int32(0)).
Public methodSet(SbVec3f, SoTangentBindingElementBindings, Int32)

Stores a list of tangents in the cache .

Public methodSetContextDependent
Calls SetContextDependent(true).
(Inherited from SoBaseContextCache.)
Public methodSetContextDependent(Boolean)

Object is considered not context dependent as long as OIV.Inventor.Devices.SoDeviceContext was not ref by this object.

(Inherited from SoBaseContextCache.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyIsDisposable
ISafeDisposable interface implementation.
(Inherited from SoDisposable.)
Top
Remarks

A tangent cache stores a list of tangents.

See Also