Inventor/actions/SoShapeHighlightRenderAction.h File Reference

#include <Inventor/actions/SoGLRenderAction.h>
#include <Inventor/nodes/SoMaterial.h>
#include <Inventor/nodes/SoDepthOffset.h>
#include <Inventor/lists/SoPathList.h>

Go to the source code of this file.

Defines

#define _SO_HIGHLIGHT_ACTION_H_   1

Functions

static SoType getClassTypeId ()
 SoShapeHighlightRenderAction ()
 SoShapeHighlightRenderAction (const SbViewportRegion &viewportRegion)
virtual ~SoShapeHighlightRenderAction ()
virtual void apply (SoNode *node)
void setColor (const SbColor &c)
const SbColorgetColor () const
static void initClass ()
static void exitClass ()

Variables

SoShapeHighlightRenderAction __pad0__
static SoEnabledElementsList * enabledElements
static SoActionMethodList * methods
static SoType classTypeId
static SbBool classTypeIdIsSet
SoRef< SoPathm_selPath
SoPathList m_highlightedPaths
SbColor m_baseColor
bool m_dirty

Define Documentation

#define _SO_HIGHLIGHT_ACTION_H_   1

Function Documentation

virtual void apply ( SoNode node  )  [virtual]
static void exitClass (  )  [static]
static SoType getClassTypeId (  )  [static]

Returns the type identifier for this class.

const SbColor& getColor (  )  const

Gets the color of the highlight.

static void initClass (  )  [static]
void setColor ( const SbColor c  ) 

Sets the color of the highlight.

Default is red (1,0,0). The application is responsible for forcing a redraw of the scene to see the effects of this change.

SoShapeHighlightRenderAction ( const SbViewportRegion viewportRegion  ) 
SoShapeHighlightRenderAction (  ) 
virtual ~SoShapeHighlightRenderAction (  )  [virtual]

Variable Documentation

SoType classTypeId [static]
SoEnabledElementsList* enabledElements [static]
bool m_dirty
SoActionMethodList* methods [static]

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/