try{
VISU::Prs3d_i::CreateActor(anActor,theIO);
anActor->SetRepresentation(VTK_POINTS);
- anActor->SetVTKMapping(true);
UpdateActor(anActor);
}catch(...){
anActor->Delete();
unsigned char* anAlphaDataPtr = (unsigned char*)anAlphaImageData->GetScalarPointer();
unsigned char *aCompositeDataPtr = (unsigned char * )aCompositeImageData->GetScalarPointer();
- int aCompositeSize = aMainImageSize[0] * aMainImageSize[1];
int aNbMainComponents = aMainImageData->GetNumberOfScalarComponents();
int aNbAlphaComponents = anAlphaImageData->GetNumberOfScalarComponents();
+ int aCompositeSize = aMainImageSize[0] * aMainImageSize[1] * aNbCompositeComponents;
int aMainId = 0, anAlphaId = 0, aCompositeId = 0;
for(; aCompositeId < aCompositeSize;)