]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Interface/ImplicitFunction.h
18ff63d3d5767afe1707be4c24099c5cb9cb99ec
[cpPlugins.git] / lib / cpPlugins / Interface / ImplicitFunction.h
1 #ifndef __CPPLUGINS__INTERFACE__IMPLICITFUNCTION__H__
2 #define __CPPLUGINS__INTERFACE__IMPLICITFUNCTION__H__
3
4 #include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
5 #include <cpPlugins/Interface/DataObject.h>
6
7 #include <itkSpatialObject.h>
8
9 #include <vtkSmartPointer.h>
10 #include <vtkImplicitFunction.h>
11
12 namespace cpPlugins
13 {
14   namespace Interface
15   {
16     /**
17      */
18     class cpPlugins_Interface_EXPORT ImplicitFunction
19       : public DataObject
20     {
21     public:
22       typedef ImplicitFunction                Self;
23       typedef DataObject                      Superclass;
24       typedef itk::SmartPointer< Self >       Pointer;
25       typedef itk::SmartPointer< const Self > ConstPointer;
26
27     public:
28       itkNewMacro( Self );
29       itkTypeMacro( ImplicitFunction, DataObject );
30
31     public:
32       void SetFunction( vtkImplicitFunction* function );
33
34       void SetFunctionToBox( );
35       void SetFunctionToCone( );
36       void SetFunctionToCylinder( );
37       void SetFunctionToImplicitBoolean( );
38       void SetFunctionToImplicitDataSet( );
39       void SetFunctionToImplicitHalo( );
40       void SetFunctionToImplicitPolyDataDistance( );
41       void SetFunctionToImplicitSelectionLoop( );
42       void SetFunctionToImplicitSum( );
43       void SetFunctionToImplicitVolume( );
44       void SetFunctionToImplicitWindowFunction( );
45       void SetFunctionToPerlinNoise( );
46       void SetFunctionToPlane( );
47       void SetFunctionToPlanes( );
48       void SetFunctionToPlanesIntersection( );
49       void SetFunctionToPolyPlane( );
50       void SetFunctionToQuadric( );
51       void SetFunctionToSphere( );
52       void SetFunctionToSuperquadric( );
53
54     protected:
55       ImplicitFunction( );
56       virtual ~ImplicitFunction( );
57
58     private:
59       // Purposely not implemented
60       ImplicitFunction( const Self& );
61       Self& operator=( const Self& );
62     };
63
64   } // ecapseman
65
66 } // ecapseman
67
68 #endif // __CPPLUGINS__INTERFACE__IMPLICITFUNCTION__H__
69
70 // eof - $RCSfile$