for (i=iGeneral;i<size;i++)
{
//multiplicar ver parametros spacing, en maracas cuando se toca la imagen y se ve dycom
- //hay parámetro dycom, vtkImagedata valor spacing y esos datos hay que multiplicar al polydata
+ //hay par·metro dycom, vtkImagedata valor spacing y esos datos hay que multiplicar al polydata
allPoints->InsertNextPoint( bbGetInputlstPointX()[i]*spc[0],
bbGetInputlstPointY()[i]*spc[1],
bbGetInputlstPointZ()[i]*spc[2] );
// color
double r,g,b;
- if ( (iAxis*3+1) < bbGetInputColour().size() ){
+ if ( (iAxis*3+1) < (int)(bbGetInputColour().size()) ){
r = bbGetInputColour()[0+iAxis*3];
g = bbGetInputColour()[1+iAxis*3];
b = bbGetInputColour()[2+iAxis*3];
}
-void DrawAxisTree3D::bbUserConstructor()
+void DrawAxisTree3D::bbUserSetDefaultValues()
{
bbSetInputiAxis(0);
std::vector<double> colour;
}
-void DrawAxisTree3D::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
-{
-}
-
-void DrawAxisTree3D::bbUserDestructor()
-{
-}
+
+ //-----------------------------------------------------------------
+ void DrawAxisTree3D::bbUserInitializeProcessing()
+ {
+ }
+
+ //-----------------------------------------------------------------
+ void DrawAxisTree3D::bbUserFinalizeProcessing()
+ {
+ }
+
+ //-----------------------------------------------------------------
}
// EO namespace bbcreaMaracasVisu