SoCacheElement Class Reference
[Elements]

Stores the most recently opened cache. More...

#include <Inventor/elements/SoCacheElement.h>

Inheritance diagram for SoCacheElement:
SoElement SoTypedObject

List of all members.

Classes

struct  MTstruct

Public Member Functions

SoCache * getCache () const
virtual void pop (SoState *state, const SoElement *prevTopElement)
SoCacheElementgetNextCacheElement () const

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, SoCache *cache)
static SbBool anyOpen (SoState *state)
static void closeAnyOpen (SoState *state)
static void invalidate (SoState *state)

Friends

class SoElement

Detailed Description

Stores the most recently opened cache.

This element stores the most recently opened cache.

SEE ALSO

SoSeparator, SoRenderList, SoVRMLCollision, SoVRMLGroup, SoVRMLShape, SoVRMLStaticGroup

See related examples:

BooleanOperations


Member Function Documentation

static SbBool SoCacheElement::anyOpen ( SoState state  )  [static]

Returns TRUE if any cache is currently open in the state.

static void SoCacheElement::closeAnyOpen ( SoState state  )  [static]

Closes any open cache.

SoCache* SoCacheElement::getCache (  )  const [inline]

Returns the cache stored in an instance.

This may be NULL.

static int SoCacheElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoElement.

static SoType SoCacheElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoElement.

SoCacheElement* SoCacheElement::getNextCacheElement (  )  const [inline]

Returns the next cache element in the stack.

static void SoCacheElement::invalidate ( SoState state  )  [static]

Invalidate any open caches.

This is called by nodes that should not be cached.

virtual void SoCacheElement::pop ( SoState state,
const SoElement prevTopElement 
) [virtual]

Overrides this method to unref cache.

static void SoCacheElement::set ( SoState state,
SoCache *  cache 
) [static]

Sets cache in element accessed from state.


Friends And Related Function Documentation

friend class SoElement [friend]

The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 11 Nov 2019
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/