Logo Search packages:      
Sourcecode: agave version File versions  Download package

std::ostream & gcs::operator<< ( std::ostream &  out,
tColorRgb  color 
)

Prints out RGB colors in a nice format for debugging

Definition at line 53 of file gcs-types.cc.

References gcs::tColorRgb::blue, gcs::tColorRgb::green, and gcs::tColorRgb::red.

    {
        return out << std::endl << "RGB:" << std::endl \
            << std::setw(12) << "Red: " << std::setw(3) << color.red << std::endl \
            << std::setw(12) << "Green: " << std::setw(3) << color.green << std::endl \
            << std::setw(12) << "Blue: " << std::setw(3) << color.blue << std::endl;
    }


Generated by  Doxygen 1.6.0   Back to index