开发者

VTK move image to center of the bounding box

How can I move my image which is in the bottom left of the bounding box to center of the 开发者_如何学JAVAbox? Also I want to maximize the size of the image that fits to the bounding box.


What do you mean by "bounding box"? If you are using a vtkImageSlice, you can just use SetPosition(-width/2, -height/2, 0).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜