nifti_user/ocu/src/Panels/VisualizationFrame.cpp
void VisualizationFrame::createColorMaterials()
    {
        createColorMaterial("RVIZ/Red", Ogre::ColourValue(1.0f, 0.0f, 0.0f, 1.0f));
        createColorMaterial("RVIZ/Green", Ogre::ColourValue(0.0f, 1.0f, 0.0f, 1.0f));
        createColorMaterial("RVIZ/Blue", Ogre::ColourValue(0.0f, 0.0f, 1.0f, 1.0f));
        createColorMaterial("RVIZ/Cyan", Ogre::ColourValue(0.0f, 1.0f, 1.0f, 1.0f));
    }
/**
     * Creates names accessible everywhere in RVIZ and that allow to always have
     * the exact same color
     * Todo Get rid of that or put it in an appropriate place
     */
Creates names accessible everywhere in RVIZ and that allow to always have
the exact same color
Todo Get rid of that or put it in an appropriate place
Creates names accessible everywhere in RVIZ and that allow to always have the exact same color Todo Get rid of that or put it in an appropriate place
void VisualizationFrame::createColorMaterials()
    {
        createColorMaterial("RVIZ/Red", Ogre::ColourValue(1.0f, 0.0f, 0.0f, 1.0f));
        createColorMaterial("RVIZ/Green", Ogre::ColourValue(0.0f, 1.0f, 0.0f, 1.0f));
        createColorMaterial("RVIZ/Blue", Ogre::ColourValue(0.0f, 0.0f, 1.0f, 1.0f));
        createColorMaterial("RVIZ/Cyan", Ogre::ColourValue(0.0f, 1.0f, 1.0f, 1.0f));
    }
void VisualizationFrame :: createColorMaterials ( ) { createColorMaterial ( " " , Ogre :: ColourValue ( 1.0f , 0.0f , 0.0f , 1.0f ) ) ; createColorMaterial ( " " , Ogre :: ColourValue ( 0.0f , 1.0f , 0.0f , 1.0f ) ) ; createColorMaterial ( " " , Ogre :: ColourValue ( 0.0f , 0.0f , 1.0f , 1.0f ) ) ; createColorMaterial ( " " , Ogre :: ColourValue ( 0.0f , 1.0f , 1.0f , 1.0f ) ) ; }
Creates names accessible everywhere in RVIZ and that allow to always have
 the exact same color
 Todo Get rid of that or put it in an appropriate place
Creates names accessible everywhere in RVIZ and that allow to always have the exact same color Todo Get rid of that or put it in an appropriate place