![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Colors namespace. More...
Namespaces | |
| LookUpTable | |
Classes | |
| struct | is_same_type |
| struct | is_same_type< T1, T1 > |
| class | RgbTpl |
| RGB color structure. More... | |
| class | RgbaTpl |
| RGBA color structure. More... | |
| class | Generator |
| Colors generator. More... | |
| class | Convert |
| Color space conversion. More... | |
Typedefs | |
| using | Rgbf = RgbTpl< float > |
| 3 components, float type More... | |
| using | Rgbub = RgbTpl< unsigned char > |
| 3 components, unsigned byte type More... | |
| using | Rgb = RgbTpl< ColorCompType > |
| 3 components, default type More... | |
| using | Rgbaf = RgbaTpl< float > |
| 4 components, float type More... | |
| using | Rgbaub = RgbaTpl< unsigned char > |
| 4 components, unsigned byte type More... | |
| using | Rgba = RgbaTpl< ColorCompType > |
| 4 components, default type More... | |
Functions | |
| constexpr Rgb | white (MAX, MAX, MAX) |
| constexpr Rgb | lightGrey (static_cast< ColorCompType >(MAX *0.8), static_cast< ColorCompType >(MAX *0.8), static_cast< ColorCompType >(MAX *0.8)) |
| constexpr Rgb | darkGrey (MAX/2, MAX/2, MAX/2) |
| constexpr Rgb | red (MAX, 0, 0) |
| constexpr Rgb | green (0, MAX, 0) |
| constexpr Rgb | blue (0, 0, MAX) |
| constexpr Rgb | darkBlue (0, 0, MAX/2) |
| constexpr Rgb | magenta (MAX, 0, MAX) |
| constexpr Rgb | cyan (0, MAX, MAX) |
| constexpr Rgb | orange (MAX, MAX/2, 0) |
| constexpr Rgb | black (0, 0, 0) |
| constexpr Rgb | yellow (MAX, MAX, 0) |
| constexpr Rgba | owhite (MAX, MAX, MAX, OPACITY) |
| constexpr Rgba | olightGrey (static_cast< ColorCompType >(MAX *0.8), static_cast< ColorCompType >(MAX *0.8), static_cast< ColorCompType >(MAX *0.8), OPACITY) |
| constexpr Rgba | odarkGrey (MAX/2, MAX/2, MAX/2, OPACITY) |
| constexpr Rgba | ored (MAX, 0, 0, OPACITY) |
| constexpr Rgba | ogreen (0, MAX, 0, OPACITY) |
| constexpr Rgba | oblue (0, 0, MAX, OPACITY) |
| constexpr Rgba | odarkBlue (0, 0, MAX/2, OPACITY) |
| constexpr Rgba | omagenta (MAX, 0, MAX, OPACITY) |
| constexpr Rgba | ocyan (0, MAX, MAX, OPACITY) |
| constexpr Rgba | oorange (MAX, MAX/2, 0, OPACITY) |
| constexpr Rgba | oblack (0, 0, 0, OPACITY) |
| constexpr Rgba | oyellow (MAX, MAX, 0, OPACITY) |
| constexpr Rgbaf | bright (1.00f, 1.00f, 1.00f, 1.00f) |
| constexpr Rgbaf | lighter (0.83f, 0.83f, 0.83f, 1.00f) |
| constexpr Rgbaf | light (0.66f, 0.66f, 0.66f, 1.00f) |
| constexpr Rgbaf | middle (0.50f, 0.50f, 0.50f, 1.00f) |
| constexpr Rgbaf | dark (0.34f, 0.34f, 0.34f, 1.00f) |
| constexpr Rgbaf | darker (0.17f, 0.17f, 0.17f, 1.00f) |
| constexpr Rgbaf | darkest (0.08f, 0.08f, 0.08f, 1.00f) |
| constexpr Rgbaf | night (0.00f, 0.00f, 0.00f, 1.00F) |
| constexpr Rgbaf | defaultMeshFrontDiff (0.00f, 0.90f, 0.27f, 1.00f) |
| constexpr Rgbaf | defaultMeshBackDiff (0.27f, 0.90f, 0.90f, 1.00f) |
| constexpr Rgbf | defaultViewBkgColor (10/255.0f, 102/255.0f, 151/255.0f) |
| constexpr Rgbub | defaultBkgColor (135, 206, 235) |
| constexpr Rgbub | defaultColor (MAX, MAX, MAX) |
| constexpr Rgbub | defaultLabelBkgColor (MAX, MAX, MAX) |
| constexpr Rgbub | defaultLabelMarkerColor (MAX, 0, MAX) |
| Rgb | FromRgbfToRgb (const Rgbf &color) |
| Conversion from Rgbf. More... | |
| Rgb | FromRgbafToRgb (const Rgbaf &color) |
| Conversion from Rgbaf. More... | |
| Rgba | FromRgbToRgba (const Rgb &color) |
| Conversion from Rgb to Rgba. More... | |
| Rgb | FromRgbaToRgb (const Rgba &color) |
| Conversion from Rgba to Rgb. More... | |
| Rgba | FromRgbafToRgba (const Rgbaf &color) |
| Conversion from Rgbaf to Rgba. More... | |
| Rgbf | FromRgb (const Rgb &color) |
| Rgbf | FromRgb (const Rgba &color) |
| Rgbaf | FromRgba (const Rgba &color) |
| Rgbaf | FromRgbub (const Rgbub &color) |
| Rgb | FromQRgb (QRgb qColor) |
| Conversion from QRgb. More... | |
| Rgba | FromQRgba (QRgb qColor) |
| Conversion from QRgb'a'. More... | |
| Rgb | FromQColor (QColor qColor) |
| Conversion from QColor. More... | |
| Rgba | FromQColora (QColor qColor) |
| Conversion from QColor'a'. More... | |
| Rgbf | FromQColorf (QColor qColor) |
| Conversion from QColor (floating point) More... | |
| Rgbaf | FromQColoraf (QColor qColor) |
| Conversion from QColor'a' (floating point) More... | |
Variables | |
| constexpr ColorCompType | MAX = 255 |
| Max value of a single color component (default type) More... | |
| constexpr ColorCompType | OPACITY = 255 |
Colors namespace.
| using ecvColor::Rgb = typedef RgbTpl<ColorCompType> |
3 components, default type
Definition at line 141 of file ecvColorTypes.h.
| using ecvColor::Rgba = typedef RgbaTpl<ColorCompType> |
4 components, default type
Definition at line 196 of file ecvColorTypes.h.
| using ecvColor::Rgbaf = typedef RgbaTpl<float> |
4 components, float type
Definition at line 192 of file ecvColorTypes.h.
| using ecvColor::Rgbaub = typedef RgbaTpl<unsigned char> |
4 components, unsigned byte type
Definition at line 194 of file ecvColorTypes.h.
| using ecvColor::Rgbf = typedef RgbTpl<float> |
3 components, float type
Definition at line 137 of file ecvColorTypes.h.
| using ecvColor::Rgbub = typedef RgbTpl<unsigned char> |
3 components, unsigned byte type
Definition at line 139 of file ecvColorTypes.h.
|
constexpr |
Referenced by ccCloudLayersHelper::apply(), ccColorLevelsDlg::ccColorLevelsDlg(), cc2Point5DimEditor::create2DView(), ccAsprsModel::createNewItem(), ColorScheme::Default(), DistanceMapGenerationDlg::DistanceMapGenerationDlg(), LasScalarFieldLoader::handleRGBValue(), ccContourExtractorDlg::init(), CodeEditor::lineNumberAreaPaintEvent(), LASFWFFilter::loadFile(), LASFilter::loadFile(), ccCloudLayersHelper::moveItem(), StereogramWidget::paintEvent(), ColorScaleElementSlider::paintEvent(), ColorBarWidget::paintEvent(), DxfProfilesExporter::SaveHorizontalProfiles(), DxfProfilesExporter::SaveVerticalProfiles(), ccColorFromScalarDlg::updateColormaps(), and ccColorLevelsDlg::updateHistogram().
Referenced by ccColorScaleEditorWidget::ccColorScaleEditorWidget(), ccColorScaleEditorDialog::createNewScale(), ColorScheme::Default(), ccCompass::estimateStrain(), LasScalarFieldLoader::handleRGBValue(), HSVDialog::HSVDialog(), LASFilter::loadFile(), HSVDialog::onItemPicked(), ecvConsole::refresh(), ccWaveWidget::refresh(), cloudViewer::visualization::rendering::ColorGradingParams::SetChannelMixer(), qCanupo2DViewDialog::trainClassifier(), qCanupoTools::TrainClassifier(), ccColorFromScalarDlg::updateColormaps(), ccColorLevelsDlg::updateHistogram(), ccPinchNode::updateMetadata(), and HSVDialog::updateValues().
|
constexpr |
Referenced by DRCFilter::loadFile().
Referenced by contourPoly(), contourPoly2(), and ccNote::updateMetadata().
|
constexpr |
Referenced by TemplateAlignment::compute().
|
constexpr |
Referenced by DRCFilter::loadFile().
|
constexpr |
Referenced by ccRasterizeTool::addNewContour(), and ccHistogramWindow::refresh().
|
constexpr |
Referenced by define_ccDisplayTools(), and ecvDisplayTools::HotZone::HotZone().
|
constexpr |
|
constexpr |
|
constexpr |
|
inline |
Conversion from QColor.
Definition at line 426 of file ecvColorTypes.h.
Referenced by ccCloudLayersHelper::mouseMove(), ccCloudLayersHelper::moveItem(), and ccEntityAction::setColor().
|
inline |
Conversion from QColor'a'.
Definition at line 433 of file ecvColorTypes.h.
Referenced by ccCloudLayersHelper::apply(), and ccColorFromScalarDlg::onApply().
|
inline |
Conversion from QColor'a' (floating point)
Definition at line 447 of file ecvColorTypes.h.
|
inline |
Conversion from QColor (floating point)
Definition at line 441 of file ecvColorTypes.h.
|
inline |
Conversion from QRgb.
Definition at line 411 of file ecvColorTypes.h.
Referenced by CSVMatrixFilter::loadFile().
|
inline |
Conversion from QRgb'a'.
Definition at line 418 of file ecvColorTypes.h.
Definition at line 386 of file ecvColorTypes.h.
Definition at line 392 of file ecvColorTypes.h.
Definition at line 398 of file ecvColorTypes.h.
Conversion from Rgbaf to Rgba.
Definition at line 379 of file ecvColorTypes.h.
Conversion from Rgb to Rgba.
Definition at line 371 of file ecvColorTypes.h.
Definition at line 404 of file ecvColorTypes.h.
Referenced by ccGraphicalSegmentationTool::ccGraphicalSegmentationTool(), ccTracePolylineTool::ccTracePolylineTool(), qSRA::computeCloud2ProfileRadialDist(), ccPointPair::drawMeOnly(), ccTracePolylineTool::exportLine(), LasScalarFieldLoader::handleRGBValue(), HSVDialog::HSVDialog(), ProfileLoader::Load(), LASFilter::loadFile(), HSVDialog::onItemPicked(), ccTracePolylineTool::onItemPicked(), DxfProfilesExporter::SaveHorizontalProfiles(), DxfProfilesExporter::SaveVerticalProfiles(), cloudViewer::visualization::rendering::ColorGradingParams::SetChannelMixer(), cloudViewer::PointViewerWidget::Show(), ccColorFromScalarDlg::updateColormaps(), ccColorLevelsDlg::updateHistogram(), and HSVDialog::updateValues().
|
constexpr |
Referenced by cloudViewer::visualization::rendering::FilamentScene::AddDirectionalLight(), cloudViewer::visualization::rendering::FilamentScene::AddPointLight(), cloudViewer::visualization::rendering::FilamentScene::AddSpotLight(), cloudViewer::visualization::rendering::FilamentScene::EnableIndirectLight(), cloudViewer::visualization::rendering::FilamentScene::EnableLightShadow(), cloudViewer::visualization::rendering::FilamentScene::GetIndirectLightIntensity(), cloudViewer::visualization::rendering::FilamentScene::GetIndirectLightRotation(), cloudViewer::visualization::rendering::FilamentScene::RemoveLight(), cloudViewer::visualization::rendering::FilamentScene::SetIndirectLight(), cloudViewer::visualization::rendering::FilamentScene::SetIndirectLightIntensity(), cloudViewer::visualization::rendering::FilamentScene::SetIndirectLightRotation(), cloudViewer::visualization::rendering::FilamentScene::UpdateLightColor(), cloudViewer::visualization::rendering::FilamentScene::UpdateLightDirection(), cloudViewer::visualization::rendering::FilamentScene::UpdateLightFalloff(), cloudViewer::visualization::rendering::FilamentScene::UpdateLightIntensity(), and cloudViewer::visualization::rendering::FilamentScene::UpdateLightPosition().
|
constexpr |
Referenced by AnglesCustomPlot::createQCPBars().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Referenced by ccPinchNode::updateMetadata().
Referenced by ccPointPairRegistrationDlg::addAlignedPoint(), ccAlignDlg::ccAlignDlg(), ccColorScaleEditorWidget::ccColorScaleEditorWidget(), ccOrderChoiceDlg::ccOrderChoiceDlg(), ccRegistrationDlg::ccRegistrationDlg(), ExtractSIFT::compute(), ccColorScaleEditorDialog::createNewScale(), ColorScheme::Default(), ColorScheme::Dracula(), ccContourExtractor::ExtractConcaveHull2D(), FastGlobalRegistrationDialog::FastGlobalRegistrationDialog(), LasScalarFieldLoader::handleRGBValue(), HSVDialog::HSVDialog(), LASFilter::loadFile(), HSVDialog::onItemPicked(), StereogramWidget::paintEvent(), ColorScaleElementSlider::paintEvent(), cloudViewer::FeatureImageViewerWidget::ReadAndShowWithKeypoints(), ecvConsole::refresh(), ccHistogramWindow::refresh(), ccWaveWidget::refresh(), DxfProfilesExporter::SaveHorizontalProfiles(), DxfProfilesExporter::SaveVerticalProfiles(), cloudViewer::visualization::rendering::ColorGradingParams::SetChannelMixer(), ccAlignDlg::setColorsAndLabels(), ccOrderChoiceDlg::setColorsAndLabels(), cloudViewer::PointViewerWidget::Show(), qCanupo2DViewDialog::trainClassifier(), qCanupoTools::TrainClassifier(), ccColorFromScalarDlg::updateColormaps(), ccRegistrationDlg::updateGUI(), FastGlobalRegistrationDialog::updateGUI(), ccColorLevelsDlg::updateHistogram(), ccNote::updateMetadata(), HSVDialog::updateValues(), and WolmanCustomPlot::WolmanCustomPlot().
Referenced by ComputeAverageColor(), cc2Point5DimEditor::create2DView(), ColorScheme::Default(), DistanceMapGenerationDlg::DistanceMapGenerationDlg(), cloudViewer::visualization::GuiSettingsModel::GetCurrentMaterialColor(), ccContourExtractorDlg::init(), ecvAnnotationsTool::onLabelChanged(), ccColorScaleEditorWidget::onPointClicked(), StereogramWidget::paintEvent(), QCPHiddenArea::QCPHiddenArea(), ccEntityAction::setColor(), ccColorFromScalarDlg::updateColormaps(), and ecvAnnotationsTool::updateLabelsCombox().
Referenced by ccPointPairRegistrationDlg::addReferencePoint(), ccAlignDlg::ccAlignDlg(), ccOrderChoiceDlg::ccOrderChoiceDlg(), ccRegistrationDlg::ccRegistrationDlg(), ColorScheme::Default(), ccGraphicalSegmentationTool::doExportSegmentationPolyline(), FastGlobalRegistrationDialog::FastGlobalRegistrationDialog(), ccAlignDlg::setColorsAndLabels(), ccOrderChoiceDlg::setColorsAndLabels(), ccRegistrationDlg::updateGUI(), and FastGlobalRegistrationDialog::updateGUI().
|
constexpr |
Max value of a single color component (default type)
Definition at line 34 of file ecvColorTypes.h.
Referenced by ccCloudLayersHelper::apply(), ComputeAverageColor(), GrainsAsEllipsoids::exportResultsAsCloud(), ecvColor::RgbTpl< Type >::FromEigen(), FromFbxMesh(), FromRgb(), FromRgba(), FromRgbafToRgb(), FromRgbafToRgba(), FromRgbfToRgb(), FromRgbToRgba(), FromRgbub(), GetKeyCluster(), ecvColor::Convert::hsl2rgb(), ecvColor::Convert::hsv2rgb(), ccCloudLayersHelper::mouseMove(), ccColorFromScalarDlg::onApply(), ccColorLevelsDlg::onApply(), MAFilter::saveToFile(), GrainsAsEllipsoids::setGrainColorsTable(), ToFbxMesh(), and GrainsAsEllipsoids::updateMeshAndLineSet().
|
constexpr |
Definition at line 35 of file ecvColorTypes.h.