Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
The ColorProperty class RGB color property. More...
#include <mitkColorProperty.h>
Public Types | |
typedef ColorProperty | Self |
typedef BaseProperty | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef mitk::Color | ValueType |
Public Types inherited from mitk::BaseProperty | |
typedef BaseProperty | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
const mitk::Color & | GetColor () const |
const mitk::Color & | GetValue () const |
std::string | GetValueAsString () const override |
void | SetColor (const mitk::Color &color) |
void | SetValue (const mitk::Color &color) |
void | SetColor (float red, float green, float blue) |
Public Member Functions inherited from mitk::BaseProperty | |
Pointer | Clone () const |
bool | operator== (const BaseProperty &property) const |
Subclasses must implement IsEqual(const BaseProperty&) to support comparison. More... | |
BaseProperty & | operator= (const BaseProperty &property) |
Assigns property to this BaseProperty instance. More... | |
bool | AssignProperty (const BaseProperty &property) |
Assigns property to this BaseProperty instance. More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
static Pointer | New (const float *_arg) |
static Pointer | New (const mitk::Color &_arg) |
static Pointer | New (const float _arga, const float _argb, const float _argc) |
Static Public Member Functions inherited from mitk::BaseProperty | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
ColorProperty () | |
ColorProperty (const ColorProperty &other) | |
ColorProperty (const float red, const float green, const float blue) | |
ColorProperty (const float color[3]) | |
ColorProperty (const mitk::Color &color) | |
Protected Member Functions inherited from mitk::BaseProperty | |
BaseProperty () | |
BaseProperty (const BaseProperty &other) | |
virtual | ~BaseProperty () |
Protected Attributes | |
mitk::Color | m_Color |
Additional Inherited Members | |
Static Public Attributes inherited from mitk::BaseProperty | |
static const std::string | VALUE_CANNOT_BE_CONVERTED_TO_STRING |
Default return value if a property which can not be returned as string. More... | |
The ColorProperty class RGB color property.
Definition at line 51 of file mitkColorProperty.h.
typedef itk::SmartPointer<const Self> mitk::ColorProperty::ConstPointer |
Definition at line 67 of file mitkColorProperty.h.
Definition at line 67 of file mitkColorProperty.h.
Definition at line 67 of file mitkColorProperty.h.
Definition at line 67 of file mitkColorProperty.h.
Definition at line 71 of file mitkColorProperty.h.
|
protected |
Definition at line 20 of file mitkColorProperty.cpp.
|
protected |
Definition at line 24 of file mitkColorProperty.cpp.
|
protected |
Definition at line 32 of file mitkColorProperty.cpp.
|
protected |
Definition at line 28 of file mitkColorProperty.cpp.
|
protected |
Definition at line 37 of file mitkColorProperty.cpp.
Pointer mitk::ColorProperty::Clone | ( | ) | const |
|
inlineoverridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 67 of file mitkColorProperty.h.
|
virtual |
Reimplemented from mitk::BaseProperty.
const mitk::Color & mitk::ColorProperty::GetColor | ( | ) | const |
Definition at line 52 of file mitkColorProperty.cpp.
Referenced by mitk::PointSetVtkMapper3D::ApplyAllProperties(), QmitkColorPropertyView::DisplayColor(), QmitkPropertyListPopup::fillPopup(), mitk::Label::GetColor(), mitk::FiberBundleMapper3D::InternalGenerateData(), QmitkColorPropertyEditor::mousePressEvent(), and QmitkPropertyListPopup::onColorClicked().
|
inlinestatic |
Definition at line 67 of file mitkColorProperty.h.
const mitk::Color & mitk::ColorProperty::GetValue | ( | ) | const |
Definition at line 84 of file mitkColorProperty.cpp.
Referenced by mitk::ConnectomicsNetworkMapper3D::PropertiesChanged().
|
overridevirtual |
Reimplemented from mitk::BaseProperty.
Definition at line 77 of file mitkColorProperty.cpp.
|
static |
Referenced by mitk::OtsuTool3D::Activated(), ApplyMaterial(), mitk::BinaryThresholdTool::BinaryThresholdTool(), mitk::BinaryThresholdULTool::BinaryThresholdULTool(), QmitkSurfaceBasedInterpolatorWidget::ChangeSurfaceColor(), QmitkSlicesInterpolator::ChangeSurfaceColor(), QmitkDataManagerView::ColorChanged(), mitk::PickingTool::ConfirmSegmentation(), QmitkBoundingObjectWidget::CreateBoundingObject(), mitk::Tool::CreateSegmentationNode(), mitk::AffineBaseDataInteractor3D::DataNodeChanged(), mitk::DataNodeFactory::DefaultColorForOrgan(), mitk::UnstructuredGridMapper2D::GenerateDataForRenderer(), QmitkScalarBarOverlay::GetProperties(), mitk::PointSetDataInteractor::InitMove(), mitk::ContourModelGLMapper2DBase::InternalDrawContour(), mitk::ContourModelSetGLMapper2D::InternalDrawContour(), mitkImageVtkMapper2DColorTest(), mitkPropertySerializationTest(), mitkViewportRenderingTest(), mitk::LiveWireTool2D::OnInitLiveWire(), mitk::PickingTool::PickingTool(), QmitkSlicesInterpolator::QmitkSlicesInterpolator(), QmitkSurfaceBasedInterpolatorWidget::QmitkSurfaceBasedInterpolatorWidget(), mitk::RTStructureSetReader::ReadStructureSet(), mitk::Label::SetColor(), mitk::Overlay::SetColor(), mitk::DataNode::SetColor(), mitk::PlanarFigureObjectFactory::SetDefaultProperties(), mitk::ContourModelGLMapper2D::SetDefaultProperties(), mitk::FiberBundleMapper3D::SetDefaultProperties(), mitk::ContourModelSetGLMapper2D::SetDefaultProperties(), mitk::GizmoMapper2D::SetDefaultProperties(), mitk::UnstructuredGridVtkMapper3D::SetDefaultProperties(), mitk::FiberBundleMapper2D::SetDefaultProperties(), mitk::SurfaceVtkMapper2D::SetDefaultProperties(), mitk::EnhancedPointSetVtkMapper3D::SetDefaultProperties(), mitk::ContourModelSetMapper3D::SetDefaultProperties(), mitk::ContourModelMapper2D::SetDefaultProperties(), mitk::ContourModelMapper3D::SetDefaultProperties(), mitk::SurfaceVtkMapper3D::SetDefaultProperties(), mitk::PointSetVtkMapper3D::SetDefaultProperties(), mitk::PlanarFigureMapper2D::SetDefaultProperties(), mitk::RegEvaluationMapper2D::SetDefaultProperties(), mitk::ImageVtkMapper2D::SetDefaultProperties(), mitk::DoseImageVtkMapper2D::SetDefaultProperties(), mitk::FeedbackContourTool::SetFeedbackContourColor(), mitk::FeedbackContourTool::SetFeedbackContourColorDefault(), QmitkSurfaceBasedInterpolatorWidget::StopUpdateInterpolationTimer(), QmitkSlicesInterpolator::StopUpdateInterpolationTimer(), TestDataStorage(), mitk::ShowSegmentationAsSmoothedSurface::ThreadedUpdateSuccessful(), mitk::ShowSegmentationAsSurface::ThreadedUpdateSuccessful(), and QmitkTextOverlay::UpdateFontProperties().
|
inlinestatic |
Definition at line 69 of file mitkColorProperty.h.
|
inlinestatic |
Definition at line 70 of file mitkColorProperty.h.
|
inlinestatic |
Definition at line 71 of file mitkColorProperty.h.
void mitk::ColorProperty::SetColor | ( | const mitk::Color & | color | ) |
Definition at line 57 of file mitkColorProperty.cpp.
Referenced by QmitkPropertyListPopup::onColorClicked(), and mitk::Label::SetColor().
void mitk::ColorProperty::SetColor | ( | float | red, |
float | green, | ||
float | blue | ||
) |
Definition at line 71 of file mitkColorProperty.cpp.
void mitk::ColorProperty::SetValue | ( | const mitk::Color & | color | ) |
Definition at line 66 of file mitkColorProperty.cpp.
|
protected |
Definition at line 54 of file mitkColorProperty.h.