QVTKWidget
CACHE STRING "Base Qt4-based vtkRenderWindow"
)
- # ADD_DEFINITIONS(-DcpPlugins_QT4 -DcpExtensions_QT4)
-ELSE(BUILD_QT4_COMPONENTS)
- # ADD_DEFINITIONS(-UcpPlugins_QT4 -UcpExtensions_QT4)
+ MARK_AS_ADVANCED(CLEAR cpPlugins_Qt4_VTKWidget)
ENDIF(BUILD_QT4_COMPONENTS)
## eof - $RCSfile$
SET(ITK_DIR "@ITK_DIR@")
SET(VTK_DIR "@VTK_DIR@")
IF("@Qt4_FOUND@" STREQUAL "TRUE")
- SET(USE_QT4 ON)
+ SET(BUILD_QT4_COMPONENTS ON)
SET(QT_QMAKE_EXECUTABLE "@QT_QMAKE_EXECUTABLE@")
ENDIF("@Qt4_FOUND@" STREQUAL "TRUE")
#include <cpInstances/DataObjects/Skeleton.h>
// -------------------------------------------------------------------------
-void cpInstances::Skeleton::
+void cpInstances::DataObjects::Skeleton::
SetITK( itk::LightObject* o )
{
this->Superclass::SetITK( o );
}
// -------------------------------------------------------------------------
-void cpInstances::Skeleton::
+void cpInstances::DataObjects::Skeleton::
SetVTK( vtkObjectBase* o )
{
}
// -------------------------------------------------------------------------
-cpInstances::Skeleton::
+cpInstances::DataObjects::Skeleton::
Skeleton( )
: Superclass( )
{
}
// -------------------------------------------------------------------------
-cpInstances::Skeleton::
+cpInstances::DataObjects::Skeleton::
~Skeleton( )
{
}
-#ifndef __cpInstances__Skeleton__h__
-#define __cpInstances__Skeleton__h__
+#ifndef __cpInstances__DataObjects__Skeleton__h__
+#define __cpInstances__DataObjects__Skeleton__h__
#include <cpInstances/cpPluginsDataObjects_Export.h>
#include <cpPlugins/Pipeline/DataObject.h>
namespace cpInstances
{
- /**
- */
- class cpPluginsDataObjects_EXPORT Skeleton
- : public cpPlugins::Pipeline::DataObject
+ namespace DataObjects
{
- public:
- typedef Skeleton Self;
- typedef cpPlugins::Pipeline::DataObject Superclass;
- typedef itk::SmartPointer< Self > Pointer;
- typedef itk::SmartPointer< const Self > ConstPointer;
-
- public:
- itkNewMacro( Self );
- itkTypeMacro( Skeleton, cpPlugins::Pipeline::DataObject );
- cpPlugins_Id_Macro( Skeleton, Object );
- cpPlugins_Compatibility_Macro;
-
- public:
- virtual void SetITK( itk::LightObject* o ) cpPlugins_OVERRIDE;
- virtual void SetVTK( vtkObjectBase* o ) cpPlugins_OVERRIDE;
-
- protected:
- Skeleton( );
- virtual ~Skeleton( );
-
- private:
- // Purposely not implemented
- Skeleton( const Self& );
- Self& operator=( const Self& );
- };
+ /**
+ */
+ class cpPluginsDataObjects_EXPORT Skeleton
+ : public cpPlugins::Pipeline::DataObject
+ {
+ public:
+ typedef Skeleton Self;
+ typedef cpPlugins::Pipeline::DataObject Superclass;
+ typedef itk::SmartPointer< Self > Pointer;
+ typedef itk::SmartPointer< const Self > ConstPointer;
+
+ public:
+ itkNewMacro( Self );
+ itkTypeMacro( Skeleton, cpPlugins::Pipeline::DataObject );
+ cpPlugins_Id_Macro( Skeleton, Object );
+ cpPlugins_Compatibility_Macro;
+
+ public:
+ virtual void SetITK( itk::LightObject* o ) cpPlugins_OVERRIDE;
+ virtual void SetVTK( vtkObjectBase* o ) cpPlugins_OVERRIDE;
+
+ protected:
+ Skeleton( );
+ virtual ~Skeleton( );
+
+ private:
+ // Purposely not implemented
+ Skeleton( const Self& );
+ Self& operator=( const Self& );
+ };
+
+ } // ecapseman
} // ecapseman
SkeletonReader( )
: Superclass( )
{
- this->_ConfigureOutput< cpInstances::Skeleton >( "Output" );
+ this->_ConfigureOutput< cpInstances::DataObjects::Skeleton >( "Output" );
this->m_Parameters.ConfigureAsOpenFileName( "FileName", "" );
this->m_Parameters.SetAcceptedFileExtensions(
"FileName",
SkeletonToImageFilter( )
: Superclass( )
{
- this->_ConfigureInput< cpInstances::Skeleton >( "Skeleton", true, false );
+ this->_ConfigureInput< cpInstances::DataObjects::Skeleton >( "Skeleton", true, false );
this->_ConfigureInput< cpInstances::DataObjects::Image >( "TemplateImage", true, false );
this->_ConfigureOutput< cpInstances::DataObjects::Image >( "Output" );
this->m_Parameters.ConfigureAsUint( "InsideValue", 1 );
SkeletonWriter( )
: Superclass( )
{
- this->_ConfigureInput< cpInstances::Skeleton >( "Input", true, false );
+ this->_ConfigureInput< cpInstances::DataObjects::Skeleton >( "Input", true, false );
this->m_Parameters.ConfigureAsSaveFileName( "FileName", "" );
this->m_Parameters.SetAcceptedFileExtensions(
"FileName",