-basic-miktex-2.6.2742.exe
(You have to make update)
-tth_exe.zip (c:\Creatis\tth_exe)
+ -nsis-2.34-setup.exe
http://www.creatis.insa-lyon.fr/~davila/bbtk/Software/new/
-graphviz-2.2.1.exe
-doxygen-1.5.3-setup.exe
# If the REFERENCED_BY_RELATION tag is set to YES (the default)
# then for each documented function all documented
# functions referencing it will be listed.
-REFERENCED_BY_RELATION = NO
+REFERENCED_BY_RELATION = YES
# If the REFERENCES_RELATION tag is set to YES (the default)
# then for each documented function all documented entities
INCLUDE(${BBTK_CMAKE_DIR}/BBTKCreatePackageBBdoc.cmake)
BBTK_CREATE_PACKAGE_BBDOC(${BBTK_PACKAGE_NAME})
+
+BBTK_DOC_INSTALL_IMAGES(bbdoc/${BBTK_PACKAGE_NAME})
\ No newline at end of file
SET(BBFY_CXX_OUT ${CMAKE_CURRENT_BINARY_DIR}/${filename}.cxx)
IF (WIN32)
- SET(command00 Path=%WXWIN%/lib/vc_dll/__RR__%VTK_DIR%__RR__%ITK_DIR%/../../bin/__RR__%PATH% )
- STRING(REPLACE "__RR__" "\;" command0 ${command00} )
- SET(SETPATH "set ${command0} &&")
+ SET(command00 Path=%WXWIN%/lib/vc_dll/__RR__%VTK_DIR%__RR__%ITK_DIR%/../../bin/__RR__%PATH%)
+ STRING(REPLACE "__RR__" "\;" SETPATH ${command00} )
+ # SET(SETPATH set ${command0} &&)
+ ADD_CUSTOM_COMMAND(
+ OUTPUT ${BBFY_CXX_OUT}
+ COMMAND
+ set ${SETPATH} && ${BBTK_BBFY} ${xmlfile} ${BBTK_PACKAGE_NAME} ${CMAKE_CURRENT_BINARY_DIR}/ -q
+ DEPENDS ${xmlfile}
+ ${BBTK_BBFY_DEPENDENCY}
+ )
ELSE(WIN32)
- SET(SETPATH "")
- ENDIF(WIN32)
-
- ADD_CUSTOM_COMMAND(
+ ADD_CUSTOM_COMMAND(
OUTPUT ${BBFY_CXX_OUT}
COMMAND
- ${SETPATH} ${BBTK_BBFY} ${xmlfile} ${BBTK_PACKAGE_NAME} ${CMAKE_CURRENT_BINARY_DIR}/ -q
+ ${BBTK_BBFY} ${xmlfile} ${BBTK_PACKAGE_NAME} ${CMAKE_CURRENT_BINARY_DIR}/ -q
DEPENDS ${xmlfile}
${BBTK_BBFY_DEPENDENCY}
)
+
+ ENDIF(WIN32)
+
SET_SOURCE_FILES_PROPERTIES(
${BBFY_CXX_OUT}
PROPERTIES GENERATED ON)
- # IF(NOT ${BBTK_PACKAGE_NAME}_CXX_SOURCES MATCHES "${filename}")
+ IF(NOT ${BBTK_PACKAGE_NAME}_CXX_SOURCES MATCHES "${filename}.cxx")
# message ("EED Alert BBTKConfigurePackage_src " "IF NOT MATCHES" )
SET(${BBTK_PACKAGE_NAME}_CXX_SOURCES
${${BBTK_PACKAGE_NAME}_CXX_SOURCES}
- ${filename}
+ ${filename}.cxx
)
-# ENDIF(NOT ${BBTK_PACKAGE_NAME}_CXX_SOURCES MATCHES "${filename}")
+ ENDIF(NOT ${BBTK_PACKAGE_NAME}_CXX_SOURCES MATCHES "${filename}.cxx")
INSTALL(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${filename}.h
+
+
#-----------------------------------------------------------------------------
#OPTION(USE_VTK "Build VTK-based black boxes" OFF)
IF(USE_VTK)
ENDIF(USE_TTH)
#-----------------------------------------------------------------------------
-
#-----------------------------------------------------------------------------
IF(USE_BOOST)
IF(BBTK_USE_SHIPPED_BOOST)
${JPG_IMAGES}
${TIF_IMAGES}
)
- # MESSAGE(ERROR ${IMAGES})
+# MESSAGE(ERROR ${IMAGES} )
FOREACH(image ${IMAGES})
GET_FILENAME_COMPONENT(filename "${image}" NAME)
CONFIGURE_FILE(
${BBTK_DOC_BUILD_PATH}/${DOC_RELATIVE_INSTALL_PATH}/${filename}
COPYONLY
)
+
# IF (WIN32)
# CONFIGURE_FILE(
# ${image}
# then for each documented function all documented
# functions referencing it will be listed.
-REFERENCED_BY_RELATION = NO
+REFERENCED_BY_RELATION = YES
# If the REFERENCES_RELATION tag is set to YES (the default)
# then for each documented function all documented entities
# The tag DOT_PATH can be used to specify the path where the dot tool can be
# found. If left blank, it is assumed the dot tool can be found in the path.
-DOT_PATH = @DOXYGEN_DOT_PATH@
+DOT_PATH = "@DOXYGEN_DOT_PATH@"
# The DOTFILE_DIRS tag can be used to specify one or more directories that
# contain dot files that are included in the documentation (see the
IF (WIN32)
SET(command00 Path=%WXWIN%/lib/vc_dll/__RR__%VTK_DIR%__RR__%ITK_DIR%/../../bin/__RR__%PATH% )
STRING(REPLACE "__RR__" "\;" command0 ${command00} )
- SET(SETPATH "set ${command0} &&")
+ ADD_CUSTOM_COMMAND(
+ OUTPUT ${INDEX_OUTPUT}
+ COMMAND
+ set ${command0} cd ${BBTK_BIN_PATH} && ${BBTK_BBI} -N -q ${CMAKE_CURRENT_BINARY_DIR}/make-index.bbs
+ DEPENDS ${BBTK_BBI_DEPENDENCY} ${BBTK_PACKAGES_DEPS}
+ )
ELSE (WIN32)
- SET(SETPATH "")
+ ADD_CUSTOM_COMMAND(
+ OUTPUT ${INDEX_OUTPUT}
+ COMMAND
+ cd ${BBTK_BIN_PATH} && ${BBTK_BBI} -N -q ${CMAKE_CURRENT_BINARY_DIR}/make-index.bbs
+ DEPENDS ${BBTK_BBI_DEPENDENCY} ${BBTK_PACKAGES_DEPS}
+ )
ENDIF (WIN32)
-ADD_CUSTOM_COMMAND(
- OUTPUT ${INDEX_OUTPUT}
- COMMAND
- ${SETPATH} cd ${BBTK_BIN_PATH} && ${BBTK_BBI} -N -q ${CMAKE_CURRENT_BINARY_DIR}/make-index.bbs
- DEPENDS ${BBTK_BBI_DEPENDENCY} ${BBTK_PACKAGES_DEPS}
- )
ADD_CUSTOM_TARGET(bbdoc_index ALL
DEPENDS ${INDEX_OUTPUT}
)
ENDFOREACH(iLST)
ENDIF(${VTK_DIR})
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkCommon.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkDICOMParser.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkexoIIc.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkexpat.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkFiltering.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkfreetype.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkftgl.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkGenericFiltering.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkGraphics.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkHybrid.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkImaging.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkIO.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkjpeg.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkNetCDF.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkpng.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkRendering.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtksys.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtktiff.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkVolumeRendering.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkWidgets.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkzlib.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkCommon.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkDICOMParser.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkexoIIc.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkexpat.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkFiltering.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkfreetype.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkftgl.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkGenericFiltering.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkGraphics.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkHybrid.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkImaging.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkIO.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkjpeg.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkNetCDF.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkpng.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkRendering.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtksys.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtktiff.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkVolumeRendering.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkWidgets.dll DESTINATION bin/ )
+ INSTALL( FILES ${VTK_DIR}/../../bin/vtkzlib.dll DESTINATION bin/ )
ENDIF(USE_VTK)
IF(USE_ITK)
- INSTALL( FILES ${ITK_DIR}/bin/Release/ITKCommon.dll DESTINATION bin/ )
+ INSTALL( FILES ${ITK_DIR}/../../bin/ITKCommon.dll DESTINATION bin/ )
ENDIF(USE_ITK)
IF(USE_WXWIDGETS)
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_xrc_vc_custom.dll DESTINATION bin/ )
+ INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_xrc_vc_custom.dll DESTINATION bin/ )
INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_richtext_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_qa_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_media_vc_custom.dll DESTINATION bin/ )
+ INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_qa_vc_custom.dll DESTINATION bin/ )
+ INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_media_vc_custom.dll DESTINATION bin/ )
INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_html_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_gl_vc_custom.dll DESTINATION bin/ )
+ INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_gl_vc_custom.dll DESTINATION bin/ )
INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_core_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_aui_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_adv_vc_custom.dll DESTINATION bin/ )
+ INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_aui_vc_custom.dll DESTINATION bin/ )
+ INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_adv_vc_custom.dll DESTINATION bin/ )
INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28d_xml_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28d_vc_custom.dll DESTINATION bin/ )
+ INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28d_vc_custom.dll DESTINATION bin/ )
INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28d_odbc_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28d_net_vc_custom.dll DESTINATION bin/ )
+ INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28d_net_vc_custom.dll DESTINATION bin/ )
ENDIF(USE_WXWIDGETS)
ENDIF(WIN32)
Program: bbtk
Module: $RCSfile: bbtkBlackBoxDescriptor.cxx,v $
Language: C++
- Date: $Date: 2008/05/06 13:45:12 $
- Version: $Revision: 1.17 $
+ Date: $Date: 2008/05/14 10:26:29 $
+ Version: $Revision: 1.18 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::string descr = GetDescription();
- Utilities::html_format(descr);
+ //Utilities::html_format(descr);
std::string author = GetAuthor();
Utilities::html_format(author);
Utilities::html_format(type);
std::string descr(in->second->GetDescription());
- Utilities::html_format(descr);
+ //Utilities::html_format(descr);
std::string out =
"<TR><TD style='vertical-align: top;' bgcolor=\"" + col
Utilities::html_format(type);
std::string descr(o->second->GetDescription());
- Utilities::html_format(descr);
+ //Utilities::html_format(descr);
std::string out =
"<TR><TD style='vertical-align: top;' bgcolor=\"" + col
Program: bbtk
Module: $RCSfile: bbtkComplexBlackBoxDescriptor.cxx,v $
Language: C++
- Date: $Date: 2008/04/18 12:59:15 $
- Version: $Revision: 1.15 $
+ Date: $Date: 2008/05/14 10:26:29 $
+ Version: $Revision: 1.16 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::string descr = GetDescription();
- Utilities::html_format(descr);
+ //Utilities::html_format(descr);
std::string author = GetAuthor();
Utilities::html_format(author);
Utilities::html_format(type);
std::string descr(in->second->GetDescription());
- Utilities::html_format(descr);
+ //Utilities::html_format(descr);
(s) << "<TR><TD style='vertical-align: top;'><B><PRE> "<<name<<" </PRE></B></TD>"
<< "<TD style='vertical-align: top;'><I><PRE> "<<type<<" </PRE></I></TD>"
Utilities::html_format(type);
std::string descr(o->second->GetDescription());
- Utilities::html_format(descr);
+ //Utilities::html_format(descr);
(s) << "<TR><TD style='vertical-align: top;'><B><PRE> "<<name<<" </PRE></B></TD>"
<< "<TD style='vertical-align: top;'><I><PRE> "<<type<<" </PRE></I></TD>"
Program: bbtk
Module: $RCSfile: bbtkPackage.cxx,v $
Language: C++
- Date: $Date: 2008/05/09 10:39:46 $
- Version: $Revision: 1.18 $
+ Date: $Date: 2008/05/14 10:26:29 $
+ Version: $Revision: 1.19 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See doc/license.txt or
std::string name = i->second->GetTypeName();
Utilities::html_format(name);
std::string descr = i->second->GetDescription();
- Utilities::html_format(descr);
+ //Utilities::html_format(descr);
s << "<TR>";
s << "<TD style='vertical-align: top;'>";
# then for each documented function all documented
# functions referencing it will be listed.
-REFERENCED_BY_RELATION = NO
+REFERENCED_BY_RELATION = YES
# If the REFERENCES_RELATION tag is set to YES (the default)
# then for each documented function all documented entities
# The tag DOT_PATH can be used to specify the path where the dot tool can be
# found. If left blank, it is assumed the dot tool can be found in the path.
-DOT_PATH = @DOXYGEN_DOT_PATH@
+DOT_PATH = "@DOXYGEN_DOT_PATH@"
# The DOTFILE_DIRS tag can be used to specify one or more directories that
# contain dot files that are included in the documentation (see the
# then for each documented function all documented
# functions referencing it will be listed.
-REFERENCED_BY_RELATION = NO
+REFERENCED_BY_RELATION = YES
# If the REFERENCES_RELATION tag is set to YES (the default)
# then for each documented function all documented entities
# then for each documented function all documented
# functions referencing it will be listed.
-REFERENCED_BY_RELATION = NO
+REFERENCED_BY_RELATION = YES
# If the REFERENCES_RELATION tag is set to YES (the default)
# then for each documented function all documented entities
# The tag DOT_PATH can be used to specify the path where the dot tool can be
# found. If left blank, it is assumed the dot tool can be found in the path.
-DOT_PATH = @DOXYGEN_DOT_PATH@
+DOT_PATH = "@DOXYGEN_DOT_PATH@"
# The DOTFILE_DIRS tag can be used to specify one or more directories that
# contain dot files that are included in the documentation (see the
# then for each documented function all documented
# functions referencing it will be listed.
-REFERENCED_BY_RELATION = NO
+REFERENCED_BY_RELATION = YES
# If the REFERENCES_RELATION tag is set to YES (the default)
# then for each documented function all documented entities
+print "=== GaussianSmooth box example ==="
+description "GaussianSmooth box example"
+author "eduardo.davila at creatis.insa-lyon.fr"
+category "example"
+
include std
include vtk
include wx
include itkvtk
include wxvtk
-description "Example ..."
-author "eduardo.davila@creatis.insa-lyon.fr"
-category "example"
-
-
new MetaImageReader reader
include std/boxes/bbPrependPackageDataPath.bbs
new PrependPackageDataPath prependDatapath
#---------------------------------------------------------------------
new Slider slider
-
+ set slider.Title "Slice"
+ set slider.Max 190
+ set slider.In 10
+
#---------------------------------------------------------------------
new Viewer2D viewer2DImageOriginal
connect reader.Out viewer2DImageOriginal.In
connect slider.Out viewer2DImageOriginal.Slice
- connect slider.BoxChange viewer2DImageOriginal.BoxExecute
+ connect slider.BoxChange viewer2DImageOriginal.BoxExecute
#---------------------------------------------------------------------
new BinaryThresholdImageFilter threshold
- set threshold.LowerThreshold 2000
+ set threshold.LowerThreshold 1000
set threshold.UpperThreshold 5000
set threshold.InsideValue 255
set threshold.OutsideValue 0
connect reader.Out threshold.In
new Viewer2D viewer2DImageSegmented
- connect threshold.Out viewer2DImageSegmented.In
+ connect threshold.Out viewer2DImageSegmented.In
connect slider.Out viewer2DImageSegmented.Slice
- connect slider.BoxChange viewer2DImageSegmented.BoxExecute
+ connect slider.BoxChange viewer2DImageSegmented.BoxExecute
#---------------------------------------------------------------------
set smooth.StdDevZ 1
new Viewer2D viewer2DImageSmooth
- connect smooth.Out viewer2DImageSmooth.In
+ connect smooth.Out viewer2DImageSmooth.In
connect slider.Out viewer2DImageSmooth.Slice
- connect slider.BoxChange viewer2DImageSmooth.BoxExecute
+ connect slider.BoxChange viewer2DImageSmooth.BoxExecute
#---------------------------------------------------------------------
new LayoutLine upLayout
set upLayout.Orientation H
- connect viewer2DImageOriginal.Widget upLayout.Widget1
+ connect viewer2DImageOriginal.Widget upLayout.Widget1
connect viewer2DImageSegmented.Widget upLayout.Widget2
connect viewer2DImageSmooth.Widget upLayout.Widget3
# then for each documented function all documented
# functions referencing it will be listed.
-REFERENCED_BY_RELATION = NO
+REFERENCED_BY_RELATION = YES
# If the REFERENCES_RELATION tag is set to YES (the default)
# then for each documented function all documented entities
# then for each documented function all documented
# functions referencing it will be listed.
-REFERENCED_BY_RELATION = NO
+REFERENCED_BY_RELATION = YES
# If the REFERENCES_RELATION tag is set to YES (the default)
# then for each documented function all documented entities
# The tag DOT_PATH can be used to specify the path where the dot tool can be
# found. If left blank, it is assumed the dot tool can be found in the path.
-DOT_PATH = @DOXYGEN_DOT_PATH@
+DOT_PATH = "@DOXYGEN_DOT_PATH@"
# The DOTFILE_DIRS tag can be used to specify one or more directories that
# contain dot files that are included in the documentation (see the
-description "Example of complex 3D view of an image using vtk::ImagePlanes and wxvtk::IsoSurfaceWithControls."
+description "Example of complex 3D view of an image using vtk::ImagePlanes and wxvtk::IsoSurfaceWithControls. Screenshot : <img src=ExampleView3DImage1.jpg></img>"
author "laurent.guigues at creatis.insa-lyon.fr"
category "example"
# then for each documented function all documented
# functions referencing it will be listed.
-REFERENCED_BY_RELATION = NO
+REFERENCED_BY_RELATION = YES
# If the REFERENCES_RELATION tag is set to YES (the default)
# then for each documented function all documented entities
Program: bbtk
Module: $RCSfile: bbwxvtkViewer3D.cxx,v $
Language: C++
- Date: $Date: 2008/05/09 10:39:47 $
- Version: $Revision: 1.5 $
+ Date: $Date: 2008/05/14 10:26:32 $
+ 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
Viewer3DWidget* w = new Viewer3DWidget(this,bbGetWxParent());
w->Update();
- vtkRenderer *renderer = w->GetRenderer();
- if (renderer!=NULL)
- {
- if (bbGetInputIn1()!=NULL) {renderer->AddActor( bbGetInputIn1() ); }
- if (bbGetInputIn2()!=NULL) {renderer->AddActor( bbGetInputIn2() ); }
- if (bbGetInputIn3()!=NULL) {renderer->AddActor( bbGetInputIn3() ); }
- if (bbGetInputIn4()!=NULL) {renderer->AddActor( bbGetInputIn4() ); }
- if (bbGetInputIn5()!=NULL) {renderer->AddActor( bbGetInputIn5() ); }
- renderer->ResetCamera();
- bbSetOutputRenderer( renderer );
- }
vtkRenderWindowInteractor *interactor = w->GetInteractor();
if (interactor!=NULL)
{
bbSetOutputInteractor( w->GetInteractor() );
}
+
+ vtkRenderer *renderer = w->GetRenderer();
+ if (renderer!=NULL)
+ {
+ if (bbGetInputIn1()!=NULL) {renderer->AddActor( bbGetInputIn1() ); }
+ if (bbGetInputIn2()!=NULL) {renderer->AddActor( bbGetInputIn2() ); }
+ if (bbGetInputIn3()!=NULL) {renderer->AddActor( bbGetInputIn3() ); }
+ if (bbGetInputIn4()!=NULL) {renderer->AddActor( bbGetInputIn4() ); }
+ if (bbGetInputIn5()!=NULL) {renderer->AddActor( bbGetInputIn5() ); }
+ renderer->ResetCamera();
+ bbSetOutputRenderer( renderer );
+ }
+
bbSetOutputWidget(w);
bbtkDebugDecTab("Core",9);