Abstract. As implementation of one of the strategic steps in OpenCASCADE visualization component development road-map, support for GLSL shader program...
分类:
其他好文 时间:
2015-07-23 00:36:56
阅读次数:
261
在这篇文章中,我们将介绍如何使用Loader来加载不同的QML文件来实现动态的UI。在之前的文章“如何使用Loader来动态载入一个基于item的Component”中,我们已经介绍了一些关于它的用法。Loader的好处是只有在我们需要的时候才装载我们所需要的QML文件,这样可以节省应用所需要的内存,也同时可以提高应用的启动时间(如果利用好的话)。下面我们以一个简单的例子来做一个介绍。...
分类:
其他好文 时间:
2015-07-22 14:32:41
阅读次数:
2016
如何在spring aop中使用aspectJ
1:声明一个切面:如下:
@Aspect //切面注解
@Component //spring 实体类实例化注解
public class ErrorLog {
//声明切点
@Pointcut("execution(* com.base.user.service.*.*(..))")
public void service()...
分类:
编程语言 时间:
2015-07-21 22:16:33
阅读次数:
179
AOP使用注解配置流程:
1、当spring容器启动时候,
context:component- scan base-package= "cn.itheima03.spring.aop.annotation" >/context :component-scan>
2、在上面的包及子包中查询所有的类,按照类扫描注解的机制把类放入到spring...
分类:
编程语言 时间:
2015-07-21 18:50:02
阅读次数:
145
继承层次:Object->Component->Behaviour->MonoBehaviour
MonoBehaviour是所有脚本的基类,使用javascript的话,每个脚本都会自动继承自MonoBehaviour,但使用C#或Boo就必须显式从MonoBehaviour继承。注意:复选框控件(在编辑中)仅仅会阻止Start、Awake、Update、FixedUpdate和OnGUI函数的执行...
分类:
编程语言 时间:
2015-07-21 12:54:07
阅读次数:
240
1. JavaScript Component (1) add a CustomComponent.manifest# The {classID} here must match the classID in CustomComponent.jscomponent {e6b866e3-41b2-4....
分类:
其他好文 时间:
2015-07-21 12:00:59
阅读次数:
91
原文:http://blog.codinglabs.org/articles/pca-tutorial.htmlPCA(Principal Component Analysis)是一种常用的数据分析方法。PCA通过线性变换将原始数据变换为一组各维度线性无关的表示,可用于提取数据的主要特征分量,常用于...
分类:
其他好文 时间:
2015-07-21 01:17:43
阅读次数:
200
1 at first, we use the (keyup) event handler to update the modify@Component({ selector: 'my-app'})@Template({ inline: '{{myName}}' + '' + ...
分类:
其他好文 时间:
2015-07-21 01:09:31
阅读次数:
123
1 import directive [For]import {Component, Template, bootstrap, For} from 'angular2/angular2'; it is important2 define your listclass MyApp { cons...
分类:
其他好文 时间:
2015-07-21 01:09:07
阅读次数:
105
1 add clock.es6 fileimport {Component, Template, bootstrap} from 'angular2/angular2';@Component({ selector:'clock'})@Template({ inline:'{{name}}...
分类:
其他好文 时间:
2015-07-20 23:22:34
阅读次数:
137