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

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

Prints out HSV colors in a nice format for debugging

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

References gcs::tColorHsv::hue, gcs::tColorHsv::saturation, and gcs::tColorHsv::value.

    {
        return out << std::endl << "HSV:" << std::endl \
            << std::setw(12) << "Hue: " << std::setw(3) << color.hue << std::endl \
            << std::setw(12) << "Saturation: " << std::setw(3) << color.saturation << std::endl \
            << std::setw(12) << "Value: " << std::setw(3) << color.value << std::endl;
    }


Generated by  Doxygen 1.6.0   Back to index