#ifndef __CPPLUGINS__INTERFACE__POLYDATA__H__ #define __CPPLUGINS__INTERFACE__POLYDATA__H__ #include #include #include #include #include #include namespace cpPlugins { namespace Interface { /** */ class cpPlugins_Interface_EXPORT PolyData : public DataObject { public: typedef PolyData Self; typedef DataObject Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; public: itkNewMacro( Self ); itkTypeMacro( PolyData, DataObject ); public: virtual std::string GetClassName( ) const; virtual void SetRealDataObject( itk::DataObject* dobj ); virtual void SetRealDataObject( vtkDataObject* dobj ); vtkPolyData* GetData( ) const; vtkPolyDataMapper* GetMapper( ) const; vtkActor* GetActor( ) const; protected: PolyData( ); virtual ~PolyData( ); private: // Purposely not implemented PolyData( const Self& ); Self& operator=( const Self& ); protected: vtkSmartPointer< vtkPolyData > m_Data; vtkSmartPointer< vtkPolyDataMapper > m_Mapper; vtkSmartPointer< vtkActor > m_Actor; }; } // ecapseman } // ecapseman #endif // __CPPLUGINS__INTERFACE__POLYDATA__H__ // eof - $RCSfile$