CEDRIC  Revision_backup-2009-02
Public Member Functions | List of all members
ChangeLineWidthVisitor Class Reference

NodeVisitor for changing linewidth through stateattribute for geodes. More...

#include <ChangeLineWidthVisitor.h>

Inheritance diagram for ChangeLineWidthVisitor:

Public Member Functions

 ChangeLineWidthVisitor (float lineWidth=1.f)
 
virtual ~ChangeLineWidthVisitor ()
 
void setLineWidth (float lineWidth)
 Set line width. More...
 
virtual void apply (osg::Geode &geode)
 Visitor implementation goes here. More...
 

Detailed Description

NodeVisitor for changing linewidth through stateattribute for geodes.

Constructor & Destructor Documentation

ChangeLineWidthVisitor::ChangeLineWidthVisitor ( float  lineWidth = 1.f)
ChangeLineWidthVisitor::~ChangeLineWidthVisitor ( )
virtual

Member Function Documentation

void ChangeLineWidthVisitor::apply ( osg::Geode &  geode)
virtual

Visitor implementation goes here.

void ChangeLineWidthVisitor::setLineWidth ( float  lineWidth)
inline

Set line width.