Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkManufacturerLogo.h>
Public Types | |
enum | LogoPosition { UpperLeft, UpperRight, LowerLeft, LowerRight, Middle } |
typedef ManufacturerLogo | Self |
typedef BaseData | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Types inherited from mitk::BaseData | |
typedef BaseData | Self |
typedef itk::DataObject | 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 |
virtual void | SetRenderWindow (vtkRenderWindow *renderWindow) |
virtual void | SetLogoSource (const char *filename) |
virtual void | SetOpacity (double opacity) |
virtual void | SetZoomFactor (double factor) |
virtual void | Enable () |
virtual void | Disable () |
virtual bool | IsEnabled () |
virtual void | SetRequestedRegionToLargestPossibleRegion () override |
virtual bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
virtual bool | VerifyRequestedRegion () override |
virtual void | SetRequestedRegion (const itk::DataObject *) override |
virtual vtkRenderWindow * | GetRenderWindow () |
virtual vtkRenderer * | GetVtkRenderer () |
virtual vtkImageActor * | GetActor () |
virtual vtkImageMapper * | GetMapper () |
virtual void | ForceMBILogoVisible (bool visible) |
Public Member Functions inherited from mitk::BaseData | |
const mitk::TimeGeometry * | GetTimeGeometry () const |
Return the TimeGeometry of the data as const pointer. More... | |
const mitk::TimeGeometry * | GetTimeSlicedGeometry () const |
Return the TimeGeometry of the data as const pointer. More... | |
mitk::TimeGeometry * | GetTimeGeometry () |
Return the TimeGeometry of the data as pointer. More... | |
const mitk::TimeGeometry * | GetUpdatedTimeGeometry () |
Return the TimeGeometry of the data. More... | |
const mitk::TimeGeometry * | GetUpdatedTimeSliceGeometry () |
Return the TimeGeometry of the data. More... | |
virtual void | Expand (unsigned int timeSteps) |
Expands the TimeGeometry to a number of TimeSteps. More... | |
const mitk::BaseGeometry * | GetUpdatedGeometry (int t=0) |
Return the BaseGeometry of the data at time t. More... | |
mitk::BaseGeometry * | GetGeometry (int t=0) const |
Return the geometry, which is a TimeGeometry, of the data as non-const pointer. More... | |
void | UpdateOutputInformation () override |
Update the information for this BaseData (the geometry in particular) so that it can be used as an output of a BaseProcess. More... | |
void | CopyInformation (const itk::DataObject *data) override |
Copy information from the specified data set. More... | |
virtual bool | IsInitialized () const |
Check whether the data has been initialized, i.e., at least the Geometry and other header data has been set. More... | |
virtual void | Clear () |
Calls ClearData() and InitializeEmpty();. More... | |
virtual bool | IsEmptyTimeStep (unsigned int t) const |
Check whether object contains data (at a specified time), e.g., a set of points may be empty. More... | |
virtual bool | IsEmpty () const |
Check whether object contains data (at least at one point in time), e.g., a set of points may be empty. More... | |
void | ExecuteOperation (Operation *operation) override |
overwrite if the Data can be called by an Interactor (StateMachine). More... | |
virtual void | SetGeometry (BaseGeometry *aGeometry3D) |
Set the BaseGeometry of the data, which will be referenced (not copied!). Assumes the data object has only 1 time step ( is a 3D object ) and creates a new TimeGeometry which saves the given BaseGeometry. If an TimeGeometry has already been set for the object, it will be replaced after calling this function. More... | |
virtual void | SetTimeGeometry (TimeGeometry *geometry) |
Set the TimeGeometry of the data, which will be referenced (not copied!). More... | |
virtual void | SetClonedGeometry (const BaseGeometry *aGeometry3D) |
Set a clone of the provided TimeGeometry as TimeGeometry of the data. Assumes the data object has only 1 time step ( is a 3D object ) and creates a new TimeGeometry. If an TimeGeometry has already been set for the object, it will be replaced after calling this function. More... | |
virtual void | SetClonedTimeGeometry (const TimeGeometry *geometry) |
Set a clone of the provided TimeGeometry as TimeGeometry of the data. More... | |
virtual void | SetClonedGeometry (const BaseGeometry *aGeometry3D, unsigned int time) |
Set a clone of the provided geometry as BaseGeometry of a given time step. More... | |
mitk::PropertyList::Pointer | GetPropertyList () const |
Get the data's property list. More... | |
void | SetPropertyList (PropertyList *propertyList) |
Set the data's property list. More... | |
mitk::BaseProperty::Pointer | GetProperty (const char *propertyKey) const |
Get the property (instance of BaseProperty) with key propertyKey from the PropertyList, and set it to this, respectively;. More... | |
void | SetProperty (const char *propertyKey, BaseProperty *property) |
virtual void | SetOrigin (const Point3D &origin) |
Convenience method for setting the origin of the BaseGeometry instances of all time steps. More... | |
itk::SmartPointer< mitk::BaseDataSource > | GetSource () const |
Get the process object that generated this data object. More... | |
unsigned int | GetTimeSteps () const |
Get the number of time steps from the TimeGeometry As the base data has not a data vector given by itself, the number of time steps is defined over the time sliced geometry. In sub classes, a better implementation could be over the length of the data vector. More... | |
virtual unsigned long | GetMTime () const override |
Get the modified time of the last change of the contents this data object or its geometry. More... | |
virtual void | Graft (const DataObject *) override |
Public Member Functions inherited from mitk::OperationActor | |
itkTypeMacroNoParent (OperationActor) virtual ~OperationActor() | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Static Public Member Functions inherited from mitk::BaseData | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
void | SetupCamera () |
void | SetupPosition () |
ManufacturerLogo () | |
~ManufacturerLogo () | |
Protected Member Functions inherited from mitk::BaseData | |
BaseData () | |
BaseData (const BaseData &other) | |
~BaseData () | |
virtual void | InitializeTimeGeometry (unsigned int timeSteps=1) |
Initialize the TimeGeometry for a number of time steps. The TimeGeometry is initialized empty and evenly timed. In many cases it will be necessary to overwrite this in sub-classes. More... | |
virtual void | InitializeTimeSlicedGeometry (unsigned int timeSteps=1) |
Initialize the TimeGeometry for a number of time steps. The TimeGeometry is initialized empty and evenly timed. In many cases it will be necessary to overwrite this in sub-classes. More... | |
virtual void | ClearData () |
reset to non-initialized state, release memory More... | |
virtual void | InitializeEmpty () |
Pure virtual; Must be used in subclasses to get a data object to a valid state. Should at least create one empty object and call Superclass::InitializeTimeGeometry() to ensure an existing valid geometry. More... | |
virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
Protected Attributes | |
vtkRenderWindow * | m_RenderWindow |
vtkRenderer * | m_Renderer |
vtkImageActor * | m_Actor |
vtkImageMapper * | m_Mapper |
vtkPNGReader * | m_PngReader |
vtkCamera * | m_Camera |
vtkImageImport * | m_VtkImageImport |
std::string | m_FileName |
bool | m_IsEnabled |
bool | m_ForceShowMBIDepartmentLogo |
LogoPosition | m_LogoPosition |
double | m_ZoomFactor |
double | m_Opacity |
char * | m_ImageData |
Protected Attributes inherited from mitk::BaseData | |
bool | m_LastRequestedRegionWasOutsideOfTheBufferedRegion |
unsigned int | m_SourceOutputIndexDuplicate |
bool | m_Initialized |
Renders a company logo in the foreground of a vtkRenderWindow.
Definition at line 41 of file mitkManufacturerLogo.h.
typedef itk::SmartPointer<const Self> mitk::ManufacturerLogo::ConstPointer |
Definition at line 44 of file mitkManufacturerLogo.h.
Definition at line 44 of file mitkManufacturerLogo.h.
Definition at line 44 of file mitkManufacturerLogo.h.
Definition at line 44 of file mitkManufacturerLogo.h.
Enumerator | |
---|---|
UpperLeft | |
UpperRight | |
LowerLeft | |
LowerRight | |
Middle |
Definition at line 48 of file mitkManufacturerLogo.h.
|
protected |
Constructor
Definition at line 46 of file mitkManufacturerLogo.cpp.
References LowerRight, m_Actor, m_FileName, m_ForceShowMBIDepartmentLogo, m_IsEnabled, m_LogoPosition, m_Mapper, m_Opacity, m_PngReader, m_Renderer, m_RenderWindow, m_VtkImageImport, m_ZoomFactor, and mitk::New().
|
protected |
Destructor
Definition at line 67 of file mitkManufacturerLogo.cpp.
Pointer mitk::ManufacturerLogo::Clone | ( | ) | const |
|
virtual |
Disables drawing of the logo. If you want to enable it, call the Enable() function.
Definition at line 339 of file mitkManufacturerLogo.cpp.
References mitk::VtkLayerController::GetInstance(), and mitk::VtkLayerController::RemoveRenderer().
|
virtual |
Enables drawing of the logo. If you want to disable it, call the Disable() function.
Definition at line 152 of file mitkManufacturerLogo.cpp.
References mitk::VtkLayerController::GetInstance(), mitk::VtkLayerController::InsertForegroundRenderer(), mbiLogo_Data, mbiLogo_Height, mbiLogo_NumberOfScalars, and mbiLogo_Width.
|
virtual |
If set true, this method forces the logo rendering mechanism that it always renders the MBI department logo, independent from mainapp option settings.
Definition at line 321 of file mitkManufacturerLogo.cpp.
|
virtual |
Returns the actor associated with the logo
Definition at line 124 of file mitkManufacturerLogo.cpp.
|
inlineoverridevirtual |
Reimplemented from mitk::BaseData.
Definition at line 44 of file mitkManufacturerLogo.h.
|
virtual |
Reimplemented from mitk::BaseData.
|
virtual |
Returns the mapper associated with the logo
Returns the mapper associated with the logo.
Definition at line 133 of file mitkManufacturerLogo.cpp.
|
virtual |
Returns the vtkRenderWindow, which is used for displaying the logo
Definition at line 106 of file mitkManufacturerLogo.cpp.
|
inlinestatic |
Definition at line 44 of file mitkManufacturerLogo.h.
|
virtual |
Returns the renderer responsible for rendering the logo into the vtkRenderWindow
Definition at line 116 of file mitkManufacturerLogo.cpp.
|
virtual |
Checks, if the logo is currently enabled (visible)
Definition at line 352 of file mitkManufacturerLogo.cpp.
|
static |
|
overridevirtual |
Empty implementation, since the ManufacturerLogo doesn't support the requested region concept
Implements mitk::BaseData.
Definition at line 362 of file mitkManufacturerLogo.cpp.
|
virtual |
Sets the source file for the logo.
Definition at line 138 of file mitkManufacturerLogo.cpp.
References filename.
|
virtual |
Sets the opacity level of the logo.
Definition at line 330 of file mitkManufacturerLogo.cpp.
|
virtual |
Sets the renderwindow, in which the logo will be shown. Make sure, you have called this function before calling Enable()
Definition at line 97 of file mitkManufacturerLogo.cpp.
|
overridevirtual |
Empty implementation, since the ManufacturerLogo doesn't support the requested region concept
Implements mitk::BaseData.
Definition at line 372 of file mitkManufacturerLogo.cpp.
|
overridevirtual |
Empty implementation, since the ManufacturerLogo doesn't support the requested region concept
Implements mitk::BaseData.
Definition at line 357 of file mitkManufacturerLogo.cpp.
|
protected |
Definition at line 214 of file mitkManufacturerLogo.cpp.
References max().
|
protected |
Definition at line 259 of file mitkManufacturerLogo.cpp.
References LowerLeft, LowerRight, max(), Middle, UpperLeft, and UpperRight.
|
virtual |
Specifies the logo size, values from 0...10, where 1 is a nice little logo
Definition at line 326 of file mitkManufacturerLogo.cpp.
|
overridevirtual |
Empty implementation, since the ManufacturerLogo doesn't support the requested region concept
Implements mitk::BaseData.
Definition at line 367 of file mitkManufacturerLogo.cpp.
|
protected |
Definition at line 164 of file mitkManufacturerLogo.h.
Referenced by ManufacturerLogo().
|
protected |
Definition at line 167 of file mitkManufacturerLogo.h.
|
protected |
Definition at line 170 of file mitkManufacturerLogo.h.
Referenced by ManufacturerLogo().
|
protected |
Definition at line 173 of file mitkManufacturerLogo.h.
Referenced by ManufacturerLogo().
|
protected |
Definition at line 179 of file mitkManufacturerLogo.h.
|
protected |
Definition at line 172 of file mitkManufacturerLogo.h.
Referenced by ManufacturerLogo().
|
protected |
Definition at line 175 of file mitkManufacturerLogo.h.
Referenced by ManufacturerLogo().
|
protected |
Definition at line 165 of file mitkManufacturerLogo.h.
Referenced by ManufacturerLogo().
|
protected |
Definition at line 177 of file mitkManufacturerLogo.h.
Referenced by ManufacturerLogo().
|
protected |
Definition at line 166 of file mitkManufacturerLogo.h.
Referenced by ManufacturerLogo().
|
protected |
Definition at line 163 of file mitkManufacturerLogo.h.
Referenced by ManufacturerLogo().
|
protected |
Definition at line 162 of file mitkManufacturerLogo.h.
Referenced by ManufacturerLogo().
|
protected |
Definition at line 168 of file mitkManufacturerLogo.h.
Referenced by ManufacturerLogo().
|
protected |
Definition at line 176 of file mitkManufacturerLogo.h.
Referenced by ManufacturerLogo().