parallel coordinates view
vtk吧
全部回复
仅看楼主
level 1
hellotoyou9 楼主
怎么改变刷操作的颜色 ,而不是使用默认的颜色
2015年08月17日 07点08分 1
level 12
贴代码,帮你看[吐舌]
2015年08月18日 01点08分 2
level 1
hellotoyou9 楼主
view->SetRepresentation(rep);
view->SetInspectMode(1);
view->SetDisplayHoverText(1);
// Brush Mode determines the type of interaction you perform to select data
view->SetBrushModeToLasso();
view->SetBrushOperatorToReplace();
这样设定 刷的时候都是默认的红色
2015年08月18日 01点08分 3
level 12
是图中红颜色的线吗?
2015年08月18日 06点08分 4
level 12
#include <vtkParallelCoordinatesView.h>
#include <vtkParallelCoordinatesRepresentation.h>
2015年08月18日 06点08分 5
是的 可是我想要的是改变这个线条的颜色
2015年08月18日 06点08分
level 12
[吐舌]
2015年08月18日 07点08分 6
level 12
@hellotoyou9 快来看
2015年08月18日 07点08分 7
level 12
问题在这里:一直只是获取第一个值 red 。
然后,你想办法把这个值改掉,或者 调用后面的颜色值就OK了
2015年08月18日 07点08分 8
这个源代码是在哪的?我怎么找不到
2015年08月18日 10点08分
level 12
[汗]vtk工具包里的,就是这个类:vtkParallelCoordinatesRepresentation
2015年08月18日 12点08分 9
我只能找到头文件 vtkParallelCoordinatesRepresentation.h[汗]
2015年08月19日 01点08分
level 12
我的是在这个文件夹下
2015年08月19日 05点08分 10
哦哦 找到了 谢了
2015年08月19日 06点08分
如果将刷操作设置为SetBrushOperatorToAdd(),然后将第一条线刷为红色 第二条线刷为绿色,第三条线刷为其他颜色,应该怎么做@rabbitbride
2015年08月20日 09点08分
@hellotoyou9 [啊]同学,程序员一般不会这么无聊
2015年08月20日 11点08分
@rabbitbride 我想实现的是这样的功能[img pic_type= width= height=]file:///C:/Users/Administrator/AppData/Roaming/Tencent/Users/616456468/QQ/WinTemp/RichOle/H_UE6$RYEER%7B@_S]]S%7B%25YQ0.png[/img]
2015年08月21日 00点08分
level 10
Single dog, single dog, single all the day. See AV, hit the plane, they’re doing all the day. Hey! Single dog, single dog, why not be a gay? No more wait, no more afraid, make him be a gay!
2015年08月20日 23点08分 11
level 1
hellotoyou9 楼主
2015年08月21日 00点08分 12
level 12
那你需要自己派生这个类了 vtkParallelCoordinatesRepresentation
2015年08月21日 01点08分 13
吧主能给做一个吗
2015年08月21日 07点08分
@hellotoyou9 [哈哈]我只负责抛砖,玉还得你自己来引
2015年08月21日 10点08分
1