]> Creatis software - bbtk.git/commitdiff
re indent
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Fri, 10 Jun 2011 09:53:40 +0000 (09:53 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Fri, 10 Jun 2011 09:53:40 +0000 (09:53 +0000)
packages/vtk/src/bbvtkVolumeRenderer.h

index 296f955d6110aaeae03d6fc44a0242f7f1fc46b7..fd8b27b9bfd27fb7ff50bd1bfa24194b3f102a9b 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbvtkVolumeRenderer.h,v $
   Language:  C++
-  Date:      $Date: 2009/08/07 15:06:26 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2011/06/10 09:53:40 $
+  Version:   $Revision: 1.6 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
 
 namespace bbvtk
 {
-
-
-  
   class bbvtk_EXPORT VolumeRenderer : public bbtk::AtomicBlackBox
   { 
   public:
     BBTK_BLACK_BOX_INTERFACE(VolumeRenderer,bbtk::AtomicBlackBox);
 
-    BBTK_DECLARE_INPUT(In,vtkImageData *);
-    BBTK_DECLARE_INPUT(ColorFunction,vtkPiecewiseFunction*);
-       BBTK_DECLARE_INPUT(ColorFunction1,vtkColorTransferFunction *);
+    BBTK_DECLARE_INPUT(In,             vtkImageData *);
+    BBTK_DECLARE_INPUT(ColorFunction,  vtkPiecewiseFunction*);
+    BBTK_DECLARE_INPUT(ColorFunction1, vtkColorTransferFunction *);
     BBTK_DECLARE_INPUT(OpacityFunction,vtkPiecewiseFunction*);
-    BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
+    
+    BBTK_DECLARE_OUTPUT(Out, vtkProp3D*);
     BBTK_PROCESS(Process);
     void Process();
     
   protected:
 
   private:
-    vtkVolumeProperty mVolumeProperty;
-    vtkVolumeRayCastCompositeFunction * mRayCastFunction;
-    vtkVolumeRayCastMappermMapper;
-    vtkVolumemVolume;
-       vtkVolumeProperty* _volumeProperty;
+    vtkVolumeProperty                 *mVolumeProperty;
+    vtkVolumeRayCastCompositeFunction *mRayCastFunction;
+    vtkVolumeRayCastMapper            *mMapper;
+    vtkVolume                         *mVolume;
+    vtkVolumeProperty                 *_volumeProperty;
   };
    
   //=================================================================
@@ -104,11 +102,12 @@ namespace bbvtk
   BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
   BBTK_DESCRIPTION("Renders a 3D image. Creates a vtkProp3D object to insert into a 3D scene (e.g. a Viewer3D)");
   BBTK_CATEGORY("3D object creator");
-  BBTK_INPUT(VolumeRenderer,ColorFunction,"Color function",vtkPiecewiseFunction*,"");
-  BBTK_INPUT(VolumeRenderer,ColorFunction1,"Color function1 instead of Color function",vtkColorTransferFunction*,"");
-  BBTK_INPUT(VolumeRenderer,OpacityFunction,"Opacity function",vtkPiecewiseFunction*,"");
-  BBTK_INPUT(VolumeRenderer,In,"Input Image",vtkImageData *,"");
-  BBTK_OUTPUT(VolumeRenderer,Out,"3D object to plug into a 3D viewer",vtkProp3D*,"");
+  BBTK_INPUT(VolumeRenderer,ColorFunction,  "Color function",                           vtkPiecewiseFunction*,"");
+  BBTK_INPUT(VolumeRenderer,ColorFunction1, "Color function1 instead of Color function",vtkColorTransferFunction*,"");
+  BBTK_INPUT(VolumeRenderer,OpacityFunction,"Opacity function",                         vtkPiecewiseFunction*,"");
+  BBTK_INPUT(VolumeRenderer,In,             "Input Image",                              vtkImageData *,"");
+  
+  BBTK_OUTPUT(VolumeRenderer,Out, "3D object to plug into a 3D viewer",vtkProp3D*, "");
   BBTK_END_DESCRIBE_BLACK_BOX(VolumeRenderer);
   //=================================================================