#include "igstkTransform.h"
#include "vtkImageData.h"
#include "vtkCamera.h"
Go to the source code of this file.
Classes | |
struct | igstk::EventHelperType::IntegerBoundsType |
struct | igstk::EventHelperType::ImageBoundsType |
struct | igstk::EventHelperType::ImageExtentType |
Namespaces | |
namespace | igstk |
This file contains the declarations of IGSTK Events used to communicate among components. | |
namespace | igstk::EventHelperType |
Defines | |
#define | igstkEventMacro(classname, superclassname) itkEventMacro( classname, superclassname ) |
#define | igstkLoadedEventMacro(name, superclass, payloadtype) |
#define | igstkLoadedObjectEventMacro(name, superclass, payloadtype) |
#define | igstkLoadedConstObjectEventMacro(name, superclass, payloadtype) |
#define | igstkLoadedTemplatedObjectEventMacro(name, superclass, payloadtype) |
#define | igstkLoadedTemplatedConstObjectEventMacro(name, superclass, payloadtype) |
Typedefs | |
typedef itk::Point< double, 3 > | igstk::EventHelperType::PointType |
typedef std::string | igstk::EventHelperType::StringType |
typedef vtkImageData * | igstk::EventHelperType::VTKImagePointerType |
typedef vtkCamera * | igstk::EventHelperType::VTKCameraPointerType |
typedef unsigned int | igstk::EventHelperType::UnsignedIntType |
typedef signed int | igstk::EventHelperType::SignedIntType |
typedef float | igstk::EventHelperType::FloatType |
typedef double | igstk::EventHelperType::DoubleType |
Functions | |
igstk::igstkEventMacro (IGSTKEvent, itk::UserEvent) | |
igstk::igstkEventMacro (IGSTKErrorEvent, IGSTKEvent) | |
igstk::igstkEventMacro (PulseEvent, IGSTKEvent) | |
igstk::igstkEventMacro (RefreshEvent, IGSTKEvent) | |
igstk::igstkEventMacro (CompletedEvent, IGSTKEvent) | |
igstk::igstkEventMacro (InputOutputErrorEvent, IGSTKErrorEvent) | |
igstk::igstkEventMacro (InputOutputTimeoutEvent, IGSTKErrorEvent) | |
igstk::igstkEventMacro (OpenPortErrorEvent, IGSTKErrorEvent) | |
igstk::igstkEventMacro (ClosePortErrorEvent, IGSTKErrorEvent) | |
igstk::igstkEventMacro (InvalidRequestErrorEvent, IGSTKErrorEvent) | |
igstk::igstkEventMacro (TransformNotAvailableEvent, InvalidRequestErrorEvent) | |
igstk::igstkEventMacro (TransformExpiredErrorEvent, TransformNotAvailableEvent) | |
igstk::igstkLoadedEventMacro (PointEvent, IGSTKEvent, EventHelperType::PointType) | |
igstk::igstkLoadedEventMacro (LandmarkRegistrationErrorEvent, IGSTKErrorEvent, EventHelperType::DoubleType) | |
igstk::igstkLoadedEventMacro (StringEvent, IGSTKEvent, EventHelperType::StringType) | |
igstk::igstkLoadedEventMacro (UnsignedIntEvent, IGSTKEvent, EventHelperType::UnsignedIntType) | |
igstk::igstkLoadedEventMacro (IntegerBoundsEvent, IGSTKEvent, EventHelperType::IntegerBoundsType) | |
igstk::igstkLoadedEventMacro (ImageBoundsEvent, IGSTKEvent, EventHelperType::ImageBoundsType) | |
igstk::igstkLoadedEventMacro (ImageExtentEvent, IGSTKEvent, EventHelperType::ImageExtentType) | |
igstk::igstkLoadedEventMacro (VTKImageModifiedEvent, IGSTKEvent, EventHelperType::VTKImagePointerType) | |
igstk::igstkLoadedEventMacro (VTKCameraModifiedEvent, IGSTKEvent, EventHelperType::VTKCameraPointerType) | |
igstk::igstkLoadedEventMacro (DoubleTypeEvent, IGSTKEvent, EventHelperType::DoubleType) | |
igstk::igstkLoadedEventMacro (IGSTKErrorWithStringEvent, IGSTKErrorEvent, EventHelperType::StringType) | |
igstk::igstkEventMacro (AxialSliceBoundsEvent, IntegerBoundsEvent) | |
igstk::igstkEventMacro (SagittalSliceBoundsEvent, IntegerBoundsEvent) | |
igstk::igstkEventMacro (CoronalSliceBoundsEvent, IntegerBoundsEvent) |
#define igstkEventMacro | ( | classname, | |||
superclassname | ) | itkEventMacro( classname, superclassname ) |
Definition at line 30 of file igstkEvents.h.
#define igstkLoadedEventMacro | ( | name, | |||
superclass, | |||||
payloadtype | ) |
class name : public superclass \ { \ public: \ typedef name Self; \ typedef superclass Superclass; \ typedef payloadtype PayloadType; \ name() {} \ virtual ~name() {} \ virtual const char * GetEventName() const { return #name; } \ virtual bool CheckEvent(const ::itk::EventObject* e) const \ { return dynamic_cast<const Self*>(e); } \ virtual ::itk::EventObject* MakeObject() const \ { return new Self; } \ name(const Self&s) :superclass(s){}; \ const PayloadType & Get() const \ { return m_Payload; } \ void Set( const payloadtype & _var ) \ { m_Payload = _var; } \ private: \ void operator=(const Self&); \ PayloadType m_Payload; \ };
Definition at line 33 of file igstkEvents.h.
#define igstkLoadedObjectEventMacro | ( | name, | |||
superclass, | |||||
payloadtype | ) |
class name : public superclass \ { \ public: \ typedef name Self; \ typedef superclass Superclass; \ typedef payloadtype PayloadType; \ name() {} \ virtual ~name() {} \ virtual const char * GetEventName() const { return #name; } \ virtual bool CheckEvent(const ::itk::EventObject* e) const \ { return dynamic_cast<const Self*>(e); } \ virtual ::itk::EventObject* MakeObject() const \ { return new Self; } \ name(const Self&s) :superclass(s){}; \ PayloadType* Get() const\ { return m_Payload.GetPointer(); } \ void Set( payloadtype * _var ) \ { m_Payload = _var; } \ private: \ void operator=(const Self&); \ PayloadType::Pointer m_Payload; \ };
Definition at line 90 of file igstkEvents.h.
#define igstkLoadedConstObjectEventMacro | ( | name, | |||
superclass, | |||||
payloadtype | ) |
class name : public superclass \ { \ public: \ typedef name Self; \ typedef superclass Superclass; \ typedef payloadtype PayloadType; \ name() {} \ virtual ~name() {} \ virtual const char * GetEventName() const { return #name; } \ virtual bool CheckEvent(const ::itk::EventObject* e) const \ { return dynamic_cast<const Self*>(e); } \ virtual ::itk::EventObject* MakeObject() const \ { return new Self; } \ name(const Self&s) :superclass(s){}; \ const PayloadType* Get() const\ { return m_Payload.GetPointer(); } \ void Set( const payloadtype * _var ) \ { m_Payload = _var; } \ private: \ void operator=(const Self&); \ PayloadType::ConstPointer m_Payload; \ };
Definition at line 115 of file igstkEvents.h.
#define igstkLoadedTemplatedObjectEventMacro | ( | name, | |||
superclass, | |||||
payloadtype | ) |
class name : public superclass \ { \ public: \ typedef name Self; \ typedef superclass Superclass; \ typedef payloadtype PayloadType; \ name() {} \ virtual ~name() {} \ virtual const char * GetEventName() const { return #name; } \ virtual bool CheckEvent(const ::itk::EventObject* e) const \ { return dynamic_cast<const Self*>(e); } \ virtual ::itk::EventObject* MakeObject() const \ { return new Self; } \ name(const Self&s) :superclass(s){}; \ PayloadType * Get() const\ { return m_Payload.GetPointer(); } \ void Set( payloadtype * _var ) \ { m_Payload = _var; } \ private: \ void operator=(const Self&); \ typename PayloadType::Pointer m_Payload; \ };
Definition at line 140 of file igstkEvents.h.
#define igstkLoadedTemplatedConstObjectEventMacro | ( | name, | |||
superclass, | |||||
payloadtype | ) |
class name : public superclass \ { \ public: \ typedef name Self; \ typedef superclass Superclass; \ typedef payloadtype PayloadType; \ name() {} \ virtual ~name() {} \ virtual const char * GetEventName() const { return #name; } \ virtual bool CheckEvent(const ::itk::EventObject* e) const \ { return dynamic_cast<const Self*>(e); } \ virtual ::itk::EventObject* MakeObject() const \ { return new Self; } \ name(const Self&s) :superclass(s){}; \ const PayloadType * Get() const\ { return m_Payload.GetPointer(); } \ void Set( const payloadtype * _var ) \ { m_Payload = _var; } \ private: \ void operator=(const Self&); \ typename PayloadType::ConstPointer m_Payload; \ };
Definition at line 165 of file igstkEvents.h.