1 #ifndef __cpPlugins__BaseObjects__Object__hxx__
2 #define __cpPlugins__BaseObjects__Object__hxx__
4 // -------------------------------------------------------------------------
5 template< class _TType >
6 _TType* cpPlugins::BaseObjects::Object::
9 return( dynamic_cast< _TType* >( this->m_ITK.GetPointer( ) ) );
12 // -------------------------------------------------------------------------
13 template< class _TType >
14 const _TType* cpPlugins::BaseObjects::Object::
17 return( dynamic_cast< const _TType* >( this->m_ITK.GetPointer( ) ) );
20 // -------------------------------------------------------------------------
21 template< class _TType >
22 _TType* cpPlugins::BaseObjects::Object::
25 return( dynamic_cast< _TType* >( this->m_VTK.GetPointer( ) ) );
28 // -------------------------------------------------------------------------
29 template< class _TType >
30 const _TType* cpPlugins::BaseObjects::Object::
33 return( dynamic_cast< const _TType* >( this->m_VTK.GetPointer( ) ) );
36 #endif // __cpPlugins__BaseObjects__Object__hxx__