blob: 2fe9b0ff2feb402b01c0337633f4547ede79907a [file] [log] [blame]
package org.eclipse.apogy.addons.sensors.fov.ui.jme3.utils;
/*******************************************************************************
* Copyright (c) 2018 Agence spatiale canadienne / Canadian Space Agency.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Pierre Allard - initial API and implementation
* Regent L'Archeveque
* SPDX-License-Identifier: EPL-1.0
*******************************************************************************/
import org.eclipse.apogy.common.topology.Node;
import org.eclipse.apogy.common.topology.ui.jme3.JME3Application;
import org.eclipse.swt.graphics.RGB;
public abstract class AbstractFieldOfViewImageProjectorControl<T extends Node> extends ImageProjectorControl<T> {
protected RGB projectionColor = new RGB(0, 255, 0);
public AbstractFieldOfViewImageProjectorControl(JME3Application jme3Application, T node) {
super(jme3Application, node);
}
public void setProjectionColor(RGB rgb) {
this.projectionColor = rgb;
updateProjectorFOVSettings();
}
public RGB getProjectionColor() {
return this.projectionColor;
}
}