Click or drag to resize
SoNormalCache Methods

The SoNormalCache type exposes the following members.

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 methodGetNormalBinding

Returns the normal binding in the cache.

Public methodGetNormals

Returns the list of normals in the cache .

Public methodGetNum

Returns the number of normals in the cache.

Public methodGetStartIndex

Returns the startIndex offset 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[], SoNormalBindingElement.Bindings)
Calls Set(normals, normalBinding, System.Int32(0)).
Public methodSet(SbVec3f[], SoNormalBindingElement.Bindings, Int32)

Stores a list of normals 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
See Also