本文整理汇总了Java中eu.mihosoft.vrl.annotation.OutputInfo类的典型用法代码示例。如果您正苦于以下问题:Java OutputInfo类的具体用法?Java OutputInfo怎么用?Java OutputInfo使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
OutputInfo类属于eu.mihosoft.vrl.annotation包,在下文中一共展示了OutputInfo类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setParams
import eu.mihosoft.vrl.annotation.OutputInfo; //导入依赖的package包/类
@OutputInfo(style = "silent", name = "params")
public DensityVisualizationParams setParams(
@ParamGroupInfo(group = "General|false|Visualization Type, Number of Visualizations etc.")
@ParamInfo(name = "Visualization Type",
style = "selection",
options = "value=[\"Cubes\",\"Convex Hull\",\"Divided Convex Hull\"]") String selectionInput,
@ParamGroupInfo(group = "General")
@ParamInfo(name = "Tolerance") double tolerance,
@ParamGroupInfo(group = "General")
@ParamInfo(name = "Number of Visualizations",
style = "selection",
options = "value=[1,2,3,4]") int numberOfVisualizations,
@ParamGroupInfo(group = "Colors|false|Visualization Colors")
@ParamInfo(name = "BGColor", style="color-chooser") Color backgroundColor,
@ParamGroupInfo(group = "Colors")
@ParamInfo(name = "Color 1", style="color-chooser") Color color1,
@ParamGroupInfo(group = "Colors")
@ParamInfo(name = "Color 2", style="color-chooser") Color color2,
@ParamGroupInfo(group = "Colors")
@ParamInfo(name = "Color 3", style="color-chooser") Color color3,
@ParamGroupInfo(group = "Colors")
@ParamInfo(name = "Color 4", style="color-chooser") Color color4,
@ParamGroupInfo(group = "Values|false|Values")
@ParamInfo(name = "Value 1") float value1,
@ParamGroupInfo(group = "Values")
@ParamInfo(name = "Value 2") float value2,
@ParamGroupInfo(group = "Values")
@ParamInfo(name = "Value 3") float value3,
@ParamGroupInfo(group = "Values")
@ParamInfo(name = "Value 4") float value4,
@ParamGroupInfo(group = "Transparencies|false|Visualization Transparencies")
@ParamInfo(name = "Transparency 1") float transparency1,
@ParamGroupInfo(group = "Transparencies")
@ParamInfo(name = "Transparency 2") float transparency2,
@ParamGroupInfo(group = "Transparencies")
@ParamInfo(name = "Transparency 3") float transparency3,
@ParamGroupInfo(group = "Transparencies")
@ParamInfo(name = "Transparency 4") float transparency4) {
boolean visualizeWithCubes = CUBES.equals(selectionInput);
boolean visualizeWithConvexHull = CONVEX_HULL.equals(selectionInput);
boolean visualizeWithDividedConvexHull = DEVIDED_CONVEX_HULL.equals(selectionInput);
return new DensityVisualizationParams(
VRLDensityVisualizationTask.Density.IMAGE,
visualizeWithCubes,
visualizeWithConvexHull,
visualizeWithDividedConvexHull,
tolerance,
numberOfVisualizations,
color2Color3f(backgroundColor),
color2Color3f(color1),
color2Color3f(color2),
color2Color3f(color3),
color2Color3f(color4),
value1, value2, value3, value4,
transparency1,
transparency2,
transparency3,
transparency4);
}
示例2: get_file
import eu.mihosoft.vrl.annotation.OutputInfo; //导入依赖的package包/类
/**
* @brief gets the filename
* @return
*/
@OutputInfo(name="SWC File")
public File get_file() {
return m_file;
}