Program: bbtk
Module: $RCSfile: bbvtkMarchingCubes.h,v $
Language: C++
- Date: $Date: 2008/05/07 06:31:37 $
- Version: $Revision: 1.5 $
+ Date: $Date: 2008/05/07 07:26:51 $
+ Version: $Revision: 1.6 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
public bbtk::AtomicBlackBox,
public vtkMarchingCubes
{
- BBTK_BLACK_BOX_INTERFACE(MarchingCubes,bbtk::AtomicBlackBox);
-
- BBTK_DECLARE_VTK_INPUT(vtkMarchingCubes,In,vtkImageData *);
- BBTK_DECLARE_VTK_OUTPUT(vtkMarchingCubes,Out,vtkPolyData *);
+ BBTK_VTK_BLACK_BOX_INTERFACE(MarchingCubes,
+ bbtk::AtomicBlackBox,
+ vtkMarchingCubes);
+
+ BBTK_DECLARE_VTK_INPUT(In,vtkImageData *);
+ BBTK_DECLARE_VTK_OUTPUT(Out,vtkPolyData *);
// For the 'Value' parameter, the standard bbtk macro does not work
// as vtk Get/Set accessors have a parameter...
void bbSetInputValue (double d)
{ vtkMarchingCubes::SetValue(0,d); }
-
- BBTK_PROCESS(DoProcess);
- void DoProcess() { vtkMarchingCubes::Update(); }
-
- // Overload bbDelete to handle vtk reference counting
- BBTK_VTK_DELETE(vtkMarchingCubes);
- //void bbDelete() { Delete(); }
+ BBTK_VTK_PROCESS();
};
//=======================================================================