Program: bbtk
Module: $RCSfile: bbtkPackage.cxx,v $
Language: C++
- Date: $Date: 2009/06/08 14:50:04 $
- Version: $Revision: 1.30 $
+ Date: $Date: 2009/06/09 08:42:12 $
+ Version: $Revision: 1.31 $
=========================================================================*/
/* ---------------------------------------------------------------------
#if defined(MACOSX)
BlackBoxDescriptor::Pointer desc = pack.lock()->mDescriptorMap[*descname];
if ( (dyn==0) || (boost::dynamic_pointer_cast<ComplexBlackBoxDescriptor>(desc)) )
+ {
PackageReleaseBlackBoxDescriptorInternal(pack,*descname);
+ }
#else
PackageReleaseBlackBoxDescriptorInternal(pack,*descname);
#endif
Program: bbtk
Module: $RCSfile: bbtkConfigure.h.in,v $
Language: C++
- Date: $Date: 2008/11/17 10:00:27 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2009/06/09 08:42:16 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#cmakedefine BBTK_WORDS_BIGENDIAN
/* Allow access to UINT32_MAX , cf bbtkCommon.h */
+#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
-
+#endif
/* Hardcode the path to BBTK_DATA_ROOT */
#ifndef BBTK_DATA_ROOT
Program: bbtk
Module: $RCSfile: bbvtkImagePlanes.cxx,v $
Language: C++
- Date: $Date: 2009/05/28 08:12:16 $
- Version: $Revision: 1.25 $
+ Date: $Date: 2009/06/09 08:41:53 $
+ Version: $Revision: 1.26 $
=========================================================================*/
/* ---------------------------------------------------------------------
};
//================================================================
- //vtkCxxRevisionMacro(ImagePlanes::VtkCallbackType, "$Revision: 1.25 $");
+ //vtkCxxRevisionMacro(ImagePlanes::VtkCallbackType, "$Revision: 1.26 $");
//================================================================
bbGetOutputPlaneX()->SetInput(bbGetInputIn());
bbGetOutputPlaneX()->SetPlaneOrientationToXAxes();
bbGetOutputPlaneX()->SetSlicePosition((xMax+xMin)/2.*xSpacing);
-
+
+
+// bbGetOutputPlaneX()->SetOrigin( 58*xSpacing , 80*ySpacing , 82*zSpacing );
+// bbGetOutputPlaneX()->SetPoint1( 0*xSpacing, 146*ySpacing, 186*zSpacing);
+// bbGetOutputPlaneX()->SetPoint2( 126*xSpacing, 146*ySpacing, 0*zSpacing);
+
+
bbGetOutputPlaneY()->SetInput(bbGetInputIn());
bbGetOutputPlaneY()->SetPlaneOrientationToYAxes();
bbGetOutputPlaneY()->SetSlicePosition((yMax+yMin)/2.*ySpacing);
Program: bbtk
Module: $RCSfile: bbvtkImagePlanes.h,v $
Language: C++
- Date: $Date: 2009/05/15 14:58:01 $
- Version: $Revision: 1.15 $
+ Date: $Date: 2009/06/09 08:41:53 $
+ Version: $Revision: 1.16 $
=========================================================================*/
/* ---------------------------------------------------------------------
BBTK_DECLARE_OUTPUT(PlaneX,vtkImagePlaneWidget*);
BBTK_DECLARE_OUTPUT(PlaneY,vtkImagePlaneWidget*);
BBTK_DECLARE_OUTPUT(PlaneZ,vtkImagePlaneWidget*);
+ BBTK_DECLARE_OUTPUT(Plane3Pts,vtkImagePlaneWidget*);
BBTK_DECLARE_OUTPUT(ImageX,vtkImageData*);
BBTK_DECLARE_OUTPUT(ImageY,vtkImageData*);
BBTK_DECLARE_OUTPUT(ImageZ,vtkImageData*);
+ BBTK_DECLARE_OUTPUT(Image3Pts,vtkImageData*);
BBTK_PROCESS(Process);
void Process();
BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
BBTK_DESCRIPTION("Creates three 3D planes with the input image mapped onto with which the user can interact. The output vtkImagePlaneWidget objects are to be inserted into a 3D scene (e.g. a Viewer3D)");
BBTK_CATEGORY("3D object creator");
- BBTK_INPUT(ImagePlanes, In, "Input Image", vtkImageData *, "");
- BBTK_INPUT(ImagePlanes, WindowLevel, "Widdow Level", winLevel, "");
+ BBTK_INPUT(ImagePlanes, In , "Input Image" , vtkImageData * , "");
+ BBTK_INPUT(ImagePlanes, WindowLevel , "Widdow Level" , winLevel , "");
BBTK_OUTPUT(ImagePlanes,PlaneX,"The image plane in X direction",vtkImagePlaneWidget*,"");
BBTK_OUTPUT(ImagePlanes,PlaneY,"The image plane in Y direction",vtkImagePlaneWidget*,"");
BBTK_OUTPUT(ImagePlanes,PlaneZ,"The image plane in Z direction",vtkImagePlaneWidget*,"");
+ BBTK_OUTPUT(ImagePlanes,Plane3Pts,"The image plane (3 points definition) ",vtkImagePlaneWidget*,"");
BBTK_OUTPUT(ImagePlanes,ImageX,"The image in X direction", vtkImageData*, "");
BBTK_OUTPUT(ImagePlanes,ImageY,"The image in Y direction", vtkImageData*, "");
BBTK_OUTPUT(ImagePlanes,ImageZ,"The image in Z direction", vtkImageData*, "");
+ BBTK_OUTPUT(ImagePlanes,Image3Pts,"The image (3 points plane definition)", vtkImageData*, "");
BBTK_END_DESCRIBE_BLACK_BOX(ImagePlanes);
//=================================================================