You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#include "GraphInteractionOperator.h"
|
|
|
|
|
|
|
|
|
|
namespace EventOper
|
|
|
|
|
{
|
|
|
|
|
void GraphInteractionOperator::picked(Comp::FITKGraph3DWindowVTK* graphWindow, vtkActor2D* actor)
|
|
|
|
|
{
|
|
|
|
|
// 根据不同子类重写。
|
|
|
|
|
Q_UNUSED(graphWindow);
|
|
|
|
|
Q_UNUSED(actor);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void GraphInteractionOperator::picked(Comp::FITKGraph3DWindowVTK* graphWindow, vtkActor* actor, int index, double* pickedWorldPos)
|
|
|
|
|
{
|
|
|
|
|
// 根据不同子类重写。
|
|
|
|
|
Q_UNUSED(graphWindow);
|
|
|
|
|
Q_UNUSED(actor);
|
|
|
|
|
Q_UNUSED(index);
|
|
|
|
|
Q_UNUSED(pickedWorldPos);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void GraphInteractionOperator::picked(Comp::FITKGraph3DWindowVTK* graphWindow, QList<vtkActor*> actors, vtkPlanes* cutPlane)
|
|
|
|
|
{
|
|
|
|
|
// 根据不同子类重写。
|
|
|
|
|
Q_UNUSED(graphWindow);
|
|
|
|
|
Q_UNUSED(actors);
|
|
|
|
|
Q_UNUSED(cutPlane);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void GraphInteractionOperator::clear(Comp::FITKGraph3DWindowVTK* graphWindow)
|
|
|
|
|
{
|
|
|
|
|
// 根据不同子类重写。
|
|
|
|
|
Q_UNUSED(graphWindow);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void GraphInteractionOperator::setPickedColor(QColor color)
|
|
|
|
|
{
|
|
|
|
|
// 根据不同子类重写。
|
|
|
|
|
Q_UNUSED(color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void GraphInteractionOperator::setActorStateByPickInfo(int pickObjType, int pickMethod, int dataObjId)
|
|
|
|
|
{
|
|
|
|
|
// 根据不同子类重写。
|
|
|
|
|
Q_UNUSED(pickObjType);
|
|
|
|
|
Q_UNUSED(pickMethod);
|
|
|
|
|
Q_UNUSED(dataObjId);
|
|
|
|
|
}
|
|
|
|
|
} // namespace EventOper
|