public | abstract |
Inheritance Graph
graph BT
NodeRendererState
NodeRendererState --> State
SurfelRenderer --> NodeRendererState
BudgetAnnotationState --> NodeRendererState
ColorCubeRenderer --> NodeRendererState
LODRenderer --> NodeRendererState
SurfelRenderer --> NodeRendererState
ProjSizeFilterState --> NodeRendererState
BudgetRenderer --> NodeRendererState
GeometryNodeCollector --> NodeRendererState
Renderer --> NodeRendererState
SphereVisualizationRenderer --> NodeRendererState
TransparencyRenderer --> NodeRendererState
click NodeRendererState "classMinSG_1_1NodeRendererState"
click State "classMinSG_1_1State"
click SurfelRenderer "classMinSG_1_1BlueSurfels_1_1SurfelRenderer"
click BudgetAnnotationState "classMinSG_1_1BudgetAnnotationState"
click ColorCubeRenderer "classMinSG_1_1ColorCubeRenderer"
click LODRenderer "classMinSG_1_1LODRenderer"
click SurfelRenderer "classMinSG_1_1MAR_1_1SurfelRenderer"
click ProjSizeFilterState "classMinSG_1_1ProjSizeFilterState"
click BudgetRenderer "classMinSG_1_1SVS_1_1BudgetRenderer"
click GeometryNodeCollector "classMinSG_1_1SVS_1_1GeometryNodeCollector"
click Renderer "classMinSG_1_1SVS_1_1Renderer"
click SphereVisualizationRenderer "classMinSG_1_1SVS_1_1SphereVisualizationRenderer"
click TransparencyRenderer "classMinSG_1_1TransparencyRenderer"
Description
Abstract class for a node renderer that registers itself at the FrameContext when activated, and unregisters itself at the FrameContext when deactivated.
Author: Benjamin Eikel
Date: 2012-04-18
Protected Functions
stateResult_t | doEnableState( FrameContext & context, Node * node, const RenderParam & rp) Register the node renderer at the configured channel. |
void | doDisableState( FrameContext & context, Node * node, const RenderParam & rp) Remove the node renderer from the configured channel. |
Public Functions
NodeRendererState( Util::StringIdentifier newChannel) | |
NodeRendererState(const NodeRendererState & other) | |
~NodeRendererState() | |
Util::StringIdentifier | getSourceChannel() const |
void | setSourceChannel( Util::StringIdentifier newChannel) |
Documentation
function
MinSG::NodeRendererState::doEnableState
protected | virtual |
stateResult_t doEnableState( | FrameContext & | context, |
Node * | node, | |
const RenderParam & | rp | |
) |
Register the node renderer at the configured channel.
Defined in MinSG/Core/States/NodeRendererState.h:51
function
MinSG::NodeRendererState::doDisableState
protected | virtual |
void doDisableState( | FrameContext & | context, |
Node * | node, | |
const RenderParam & | rp | |
) |
Remove the node renderer from the configured channel.
Defined in MinSG/Core/States/NodeRendererState.h:54
function
MinSG::NodeRendererState::NodeRendererState
public |
NodeRendererState( | Util::StringIdentifier | newChannel ) |
Create a new node renderer that treats the given channel.
Parameters
- newChannel
- Rendering channel identifier
Defined in MinSG/Core/States/NodeRendererState.h:62
function
MinSG::NodeRendererState::NodeRendererState
public |
NodeRendererState( | const NodeRendererState & | other ) |
Defined in MinSG/Core/States/NodeRendererState.h:64
function
MinSG::NodeRendererState::~NodeRendererState
public |
~NodeRendererState( | ) |
Defined in MinSG/Core/States/NodeRendererState.h:65
function
MinSG::NodeRendererState::getSourceChannel
public | const | inline |
Util::StringIdentifier getSourceChannel( | ) const |
Return the channel that is treated by the node renderer.
Returns
Rendering channel identifier
Defined in MinSG/Core/States/NodeRendererState.h:72
function
MinSG::NodeRendererState::setSourceChannel
public | inline |
void setSourceChannel( | Util::StringIdentifier | newChannel ) |
Configure the channel that will be treated by the node renderer.
Note: The channel must not be changed betweendoEnableStateanddoDisableState
Parameters
- newChannel
- Rendering channel identifier
Defined in MinSG/Core/States/NodeRendererState.h:82