NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Public Types | |
enum | LogoPosition { UpperLeft, UpperRight, LowerLeft, LowerRight, Middle } |
Public Member Functions | |
mitkClassMacro (CMICLogo, BaseData) static Pointer New() | |
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 vtkActor * | GetActor () |
virtual vtkPolyDataMapper * | GetMapper () |
virtual void | ForceMBILogoVisible (bool visible) |
Protected Member Functions | |
void | SetupCamera () |
void | SetupPosition () |
CMICLogo () | |
virtual | ~CMICLogo () |
Protected Attributes | |
vtkRenderWindow * | m_RenderWindow |
vtkRenderer * | m_Renderer |
vtkActor * | m_OuterCubeActor |
vtkActor * | m_InnerCubeActor |
vtkActor * | m_MiddleCubeActor |
vtkPolyDataMapper * | 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 |
Renders a company logo in the foreground of a vtkRenderWindow.
|
protected |
|
protectedvirtual |
|
virtual |
Disables drawing of the logo. If you want to enable it, call the Enable() function.
|
virtual |
Enables drawing of the logo. If you want to disable it, call the Disable() function.
|
virtual |
If set true, this method forces the logo rendering mechanism that it always renders the MBI department logo, independent from mainapp option settings.
|
virtual |
Returns the actor associated with the logo
|
virtual |
Returns the mapper associated with the logo
Returns the mapper associated with the logo.
|
virtual |
Returns the vtkRenderWindow, which is used for displaying the logo
|
virtual |
Returns the renderer responsible for rendering the logo into the vtkRenderWindow
|
virtual |
Checks, if the logo is currently enabled (visible)
niftk::CMICLogo::mitkClassMacro | ( | CMICLogo | , |
BaseData | |||
) |
|
overridevirtual |
Empty implementation, since the ManufacturerLogo doesn't support the requested region concept
|
virtual |
Sets the source file for the logo.
|
virtual |
Sets the opacity level of the logo.
|
virtual |
Sets the renderwindow, in which the logo will be shown. Make sure, you have called this function before calling Enable()
|
overridevirtual |
Empty implementation, since the ManufacturerLogo doesn't support the requested region concept
|
overridevirtual |
Empty implementation, since the ManufacturerLogo doesn't support the requested region concept
|
protected |
|
protected |
|
virtual |
Specifies the logo size, values from 0...10, where 1 is a nice little logo
|
overridevirtual |
Empty implementation, since the ManufacturerLogo doesn't support the requested region concept
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |