From 6257f16889a92bb4898a4345086240708a13865f Mon Sep 17 00:00:00 2001 From: Eduardo Enrique Davila Serrano Date: Fri, 7 Oct 2022 16:52:04 +0200 Subject: [PATCH] #3491 vtk9itk5wx3-macos --- bbtk_creaVtk_PKG/src/bbcreaVtkActor.cxx | 5 +---- bbtk_creaVtk_PKG/src/bbcreaVtkActor.h | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkActor.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkActor.cxx index 84e89e6..db523e5 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkActor.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkActor.cxx @@ -32,7 +32,6 @@ void Actor::Process() // bbSetOutputOut( bbGetInputIn() ); // std::cout << "Output value = " <SetUserTransform( bbGetInputTransform() ); } - // bbSetOutputOut( vtkactor ); // Interface Update - if ((bbGetInputRenderer()!=NULL) && ( backActive!=bbGetInputActive() )) { if (bbGetInputActive()==true ) @@ -67,7 +64,6 @@ void Actor::Process() backActive=bbGetInputActive(); } // if Renderer }// bbGetInputIn - } //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) @@ -89,6 +85,7 @@ void Actor::bbUserSetDefaultValues() bbSetInputLineWidth( 0.5 ); bbSetInputRenderer( NULL ); bbSetInputColor( color ); + bbSetInputTransform( NULL ); } //===== diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkActor.h b/bbtk_creaVtk_PKG/src/bbcreaVtkActor.h index 101b2ab..5fed993 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkActor.h +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkActor.h @@ -50,6 +50,7 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(Actor,bbtk::AtomicBlackBox); BBTK_INPUT(Actor,Opacity,"Opacity 0..1 (default 1)",double,""); BBTK_INPUT(Actor,Color,"(default [1 0 0]red ) RGB color vector [0..1, 0..1, 0..1] )", std::vector,""); BBTK_INPUT(Actor,LineWidth,"(default 0.5 ) With ligne )",double,""); + BBTK_INPUT(Actor,Transform,"Transform",vtkTransform*,""); BBTK_INPUT(Actor,Renderer,"Renderer",vtkRenderer*,""); // BBTK_OUTPUT(Actor,Out,"First output",double,""); -- 2.47.1