BBTK_AUTHOR("InfoDev");
BBTK_DESCRIPTION("No Description.");
BBTK_CATEGORY("empty");
- BBTK_INPUT(VectorFilterDouble,Type,"default (0) -1=Erase line if In0==k1, 0=Erase consecutive duplicated lines, 1=Redimention Vectors, 2=Insert intermediat points,3=Adition k1, 4=Substraction k1, 5=Multilication k1, 6=Division k1, 7=Connect mesh X1,Y1,Z1,idxs1,X2,X2,X2,idx2, 8=Order All vectors with the logic of In0 (or the index k1 if exist) , 9=Invert Vectors, 10=Nearest Point in the vector. In3PointXYZ In0LstX In1LstY In2LstZ (Out0-index Out1-PointXYZ), 11=Mul Spacing (K1[spcX,spcY,spcZ]=Spacing), 12=Div Spacing (K1[spcX,spcY,spcZ]=Spacing), 13=Distance pointIn0 and pontIn1, 14=Select specific segments [k1] in In0=lstPx In1=lstPy In2=lstPz In3=lstIndex (if k1 empty all segments are selected) , 15 swhitch element in a point k1=0 xyz->xzy, k1=1 nothing xyz->xyz, k1=2 xyz->yzx , 16 switch In0 and In1 (k1=0 nothing, k1=1 swhich), 17 new order of out vectors k1[newIndex, newIndex, newIndex]",int,"");
+ BBTK_INPUT(VectorFilterDouble,Type,"default (0) -1=Erase line if In0==k1, 0=Erase consecutive duplicated lines, 1=Redimention Vectors, 2=Insert intermediat points,3=Adition k1, 4=Substraction k1, 5=Multilication k1, 6=Division k1, 7=Connect mesh X1,Y1,Z1,idxs1,X2,X2,X2,idx2, 8=Order All vectors with the logic of In0 (or the index k1 if exist) , 9=Invert Vectors, 10=Nearest Point in the vector. In3PointXYZ In0LstX In1LstY In2LstZ (Out0-index Out1-PointXYZ), 11=Mul Spacing (K1[spcX,spcY,spcZ]=Spacing), 12=Div Spacing (K1[spcX,spcY,spcZ]=Spacing), 13=Distance pointIn0 and pontIn1, 14=Select specific segments [k1] in In0=lstPx In1=lstPy In2=lstPz In3=lstIndex (if k1 empty all segments are selected) , 15 swhitch element in a point k1=0 xyz->xzy, k1=1 nothing xyz->xyz, k1=2 xyz->yzx , 16 switch In0 and In1 (k1=0 nothing, k1=1 swhich), 17 new order of out vectors k1[newIndex, newIndex, newIndex], 18 [min iMax max iMax] of In0",int,"");
BBTK_INPUT(VectorFilterDouble,k1,"(default [0]) nothing (Type0), k1[0]=new size vectors (Type 1) , nothing (Type2), k1[0] = Addition const. (Type 3), k1[0] = Substraction const. (Type 4), k1[0] = Multiplication const. (Type 5) , k1[0] = Division const. (Type 6), k1[0] In0..9 element base to be order (Type 8) , k1[spcX,spcY,spcZ] MulSpc In0_X,In1_Y,In2_Z (type 11), k1[spcX,spcY,spcZ] DivSpc In0_X,In1_Y,In2_Z (type 12) , k1[segment1, segment2,..] (type 14) , direction (type 15), direction (type 16), new index order for the output (type 17)",std::vector<double>,"");
BBTK_INPUT(VectorFilterDouble,In0,"Input vector",std::vector<double>,"");
BBTK_INPUT(VectorFilterDouble,In1,"Input vector",std::vector<double>,"");
}
if (this->Interactor)
- {
+ {
if (!this->InteractorStyle)
- {
+ {
this->InteractorStyle = vtkInteractorStyleImage::New();
wxvtkImageViewer2Callback *cbk = wxvtkImageViewer2Callback::New();
cbk->IV = this;
- this->InteractorStyle->AddObserver(
- vtkCommand::WindowLevelEvent, cbk);
- this->InteractorStyle->AddObserver(
- vtkCommand::StartWindowLevelEvent, cbk);
- this->InteractorStyle->AddObserver(
- vtkCommand::ResetWindowLevelEvent, cbk);
+ this->InteractorStyle->AddObserver( vtkCommand::WindowLevelEvent, cbk );
+ this->InteractorStyle->AddObserver( vtkCommand::StartWindowLevelEvent, cbk );
+ this->InteractorStyle->AddObserver( vtkCommand::ResetWindowLevelEvent, cbk );
cbk->Delete();
- }
+ }
this->Interactor->SetInteractorStyle(this->InteractorStyle);
this->Interactor->SetRenderWindow(this->RenderWindow);
}
if (this->Renderer && this->ImageActor)
- {
- this->Renderer->AddViewProp(this->ImageActor);
- }
+ {
+ this->Renderer->AddViewProp(this->ImageActor);
+ }
if (this->ImageActor && this->WindowLevel)
- {
+ {
//EED 2017-01-01 Migration VTK7
#if VTK_MAJOR_VERSION <= 5
this->ImageActor->SetInput(this->WindowLevel->GetOutput());