프로그래밍43 Lagrangian vs. Eulerian 2015. 8. 20. Maya Context 출처http://wanochoi.com/?p=1782 Context란 마우스의 이벤트에 반응하여 어떠한 특정 작업 수행이 가능한 Maya의 특수 모드를 말한다. Maya에서 context는 tool과 동일한 개념으로 사용된다.다만, graphical user interface 기준에서는 tool이라고 부르고, programming interface 기준에서는 context라고 부른다. setToolTo [context name]으로 특정 컨텍스트 모드로 들어갈 수 있다.currentCtx: 현재 어떠한 컨텍스트 모드에 있는지 알 수 있는 명령어. 다음과 같은 세 가지 API 클래스를 상속받아서 자신만의 custom context를 만들 수 있다.1) MPxContext2) MPxContextCommand.. 2015. 8. 5. std::pair template struct pair; This class couples together a pair of values, which may be of different types (T1 and T2). The individual values can be accessed through its public members first and second. Pairs are a particular case of tuple. Template ParametersT1 Type of member first, aliased as first_type.T2 Type of member second, aliased as second_type. Member Variablefirst The first value in the pair.. 2015. 7. 1. 무게중심좌표 Barycentric Coordinates http://2000clicks.com/mathhelp/GeometryTriangleBarycentricCoordinates.aspxhttp://mathworld.wolfram.com/BarycentricCoordinates.html Barycentric coordinates are triples of numbers corresponding to masses placed at the vertices of a reference triangle . These masses then determine a point , which is the geometric centroid of the three masses and is identified with coordinates . The vertices of the .. 2015. 6. 26. 이전 1 2 3 4 5 ··· 11 다음