|
1 /* |
|
2 * Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #include "uiacceltk/huiproceduralmesh.h" |
|
21 #include "uiacceltk/HuiStatic.h" |
|
22 #include "HuiRenderPlugin.h" |
|
23 #include "uiacceltk/HuiProbe.h" |
|
24 #include "uiacceltk/HuiUtil.h" |
|
25 |
|
26 |
|
27 EXPORT_C CHuiProceduralMesh::CHuiProceduralMesh() |
|
28 { |
|
29 iMaterial.iPreset = EHuiMaterialChrome; |
|
30 } |
|
31 |
|
32 EXPORT_C CHuiProceduralMesh::~CHuiProceduralMesh() |
|
33 { |
|
34 } |
|
35 |
|
36 |
|
37 EXPORT_C void CHuiProceduralMesh::Reset() |
|
38 { |
|
39 iMaterial = THuiMaterial(); |
|
40 iMaterial.iPreset = EHuiMaterialChrome; |
|
41 } |
|
42 |
|
43 |
|
44 EXPORT_C void CHuiProceduralMesh::MakeCubeL(TReal32 /*aSizeX*/, TReal32 /*aSizeY*/, TReal32 /*aSizeZ*/, |
|
45 TReal32 /*aEdgeRadius*/) __SOFTFP |
|
46 { |
|
47 } |
|
48 |
|
49 |
|
50 EXPORT_C void CHuiProceduralMesh::MakeSphereL(TReal32 /*aRadius*/, TInt /*aColumns*/, TInt /*aRows*/) __SOFTFP |
|
51 { |
|
52 } |
|
53 |
|
54 |
|
55 EXPORT_C void CHuiProceduralMesh::MakeTorusL(TReal32 /*aMainRadius*/, TReal32 /*aOuterRadius*/, |
|
56 TInt /*aMainSegments*/, TInt /*aOuterSegments*/, |
|
57 TReal32 /*aSegmentAngleOffset*/) __SOFTFP |
|
58 { |
|
59 } |
|
60 |
|
61 |
|
62 EXPORT_C void CHuiProceduralMesh::StretchUniformly(TReal32 /*aXLimit*/, TReal32 /*aXOffset*/, |
|
63 TReal32 /*aYLimit*/, TReal32 /*aYOffset*/, |
|
64 TReal32 /*aZLimit*/, TReal32 /*aZOffset*/) __SOFTFP |
|
65 { |
|
66 } |
|
67 |
|
68 |
|
69 EXPORT_C void CHuiProceduralMesh::ScaleUniformly(TReal32 /*aX*/, TReal32 /*aY*/, TReal32 /*aZ*/) __SOFTFP |
|
70 { |
|
71 } |
|
72 |
|
73 |
|
74 EXPORT_C void CHuiProceduralMesh::UpdateSurface(TReal32 /*aYaw*/, TReal32 /*aPitch*/) __SOFTFP |
|
75 { |
|
76 } |
|
77 |
|
78 |
|
79 EXPORT_C void CHuiProceduralMesh::Draw(CHuiGc& /*aGc*/, const THuiImage* /*aImage*/, |
|
80 const THuiImage* /*aSecondaryImage*/, |
|
81 TReal32 /*aSecondaryAlpha*/) const __SOFTFP |
|
82 { |
|
83 } |
|
84 |
|
85 EXPORT_C void CHuiProceduralMesh::ProceduralMeshExtension(const TUid& /*aExtensionUid*/, TAny** aExtensionParams) |
|
86 { |
|
87 // If no extension with given UID was found, indicate it by returning null |
|
88 *aExtensionParams = NULL; |
|
89 } |
|
90 |