摘要:
vtkOutlineSource创建一个线框的形状盒子。通过SetBounds()方法可以设置边界盒的长高宽。通过SetCorners()方法可以设置边角的弧度形状。例子:#-*- coding: UTF-8 -*-#-------------------------------------------------------------------------------# Name: outlineActorFactory package# Purpose: 通过两个点,创建一条直线## Author: ankier## Created: 08-12... 阅读全文
摘要:
vtkLineSource 通过两点(x, y, z) 来创建一条线的poly data。基本方法: SetPoint1,SetPoint2设置先的2个端点。virtual voidSetPoint1 (double, double, double)virtual voidSetPoint1 (double[3])virtual double *GetPoint1 ()virtual voidGetPoint1 (double data[3])virtual voidSetPoint2 (double, double, double)virtual voidSetPoint2 (double. 阅读全文