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  ElementInfos
 Keep track of which node setted a given element.
struct  ListContainer
 When a separator is traversed, SoCacheElement::push() is called and it should call this class' push() method.
struct  MTstruct

Public Member Functions

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

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


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.

virtual void SoCacheElement::push ( SoState state  )  [virtual]

push to save dependencies list

Reimplemented from SoElement.

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 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/