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