Call an specifica class frome c++ in python

hello
I’m trying to access to this action:
vtkMRMLLabelMapVolumeDisplayNode::vtkMRMLLabelMapVolumeDisplayNode()
{
this->MapToColors = vtkImageMapToColors::New();
this->MapToColors->SetOutputFormatToRGBA();

 // set a thicker default slice intersection thickness for use when showing
 // the outline of the label map
 this->SliceIntersectionThickness = 3;
}

what I want is to call this instruction in python: SliceIntersectionThickness = 3;

Hello @aldoSanchez

You can do something like the following

  labelMapNode.GetDisplayNode().SetSliceIntersectionThickness(3)

-Andinet

thanks, it works perfectly
I leave the code here:

labelMapNode=getNode(‘nameOftheNode’)
labelMapNode.GetDisplayNode().SetSliceIntersectionThickness(1)