Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Curioni <maxime.curioni@gmail.com>2008-07-22 01:24:37 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2008-07-22 01:24:37 +0400
commit7426a3e35bb6ebc5c08eb307c0f9d30ef51ae570 (patch)
tree20ca168e42005a447ce4a89f37b3a238a92942cb /source/blender/freestyle/intern/view_map/ViewMapBuilder.h
parentab722884d3684808b17f76ae742ef59dccf4f8e2 (diff)
Added StrokeAttribute class. Beginning of StrokeVertex.
IMPORTANT: The setters functions' names were normalized due to constant confusion regarding capitalization. All the function names start with set... instead of Set.... This convention was changed all throughout Freestyle. To use Freestyle as an external renderer, the SWIG library MUST be regenerated.
Diffstat (limited to 'source/blender/freestyle/intern/view_map/ViewMapBuilder.h')
-rwxr-xr-xsource/blender/freestyle/intern/view_map/ViewMapBuilder.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/freestyle/intern/view_map/ViewMapBuilder.h b/source/blender/freestyle/intern/view_map/ViewMapBuilder.h
index ec52d4fdd7e..5ac100bae15 100755
--- a/source/blender/freestyle/intern/view_map/ViewMapBuilder.h
+++ b/source/blender/freestyle/intern/view_map/ViewMapBuilder.h
@@ -113,7 +113,7 @@ public:
/*! Sets the current viewpoint */
- inline void SetViewpoint(const Vec3r& ivp) {_viewpoint = ivp; SilhouetteGeomEngine::SetViewpoint(ivp);}
+ inline void setViewpoint(const Vec3r& ivp) {_viewpoint = ivp; SilhouetteGeomEngine::setViewpoint(ivp);}
/*! Sets the current transformation
* iModelViewMatrix
@@ -123,17 +123,17 @@ public:
* iViewport
* The viewport. 4 real array: origin.x, origin.y, width, length
*/
- inline void SetTransform(const real iModelViewMatrix[4][4],
+ inline void setTransform(const real iModelViewMatrix[4][4],
const real iProjectionMatrix[4][4],
const int iViewport[4],
real iFocalLength,
real iAspect,
real iFovy) {
- SilhouetteGeomEngine::SetTransform(iModelViewMatrix, iProjectionMatrix, iViewport, iFocalLength);
+ SilhouetteGeomEngine::setTransform(iModelViewMatrix, iProjectionMatrix, iViewport, iFocalLength);
}
- inline void SetFrustum(real iZnear, real iZfar) {
- SilhouetteGeomEngine::SetFrustum(iZnear, iZfar);
+ inline void setFrustum(real iZnear, real iZfar) {
+ SilhouetteGeomEngine::setFrustum(iZnear, iZfar);
}
/*! Builds the scene view map
@@ -164,13 +164,13 @@ public:
*/
void ComputeEdgesVisibility(ViewMap *ioViewMap, visibility_algo iAlgo= ray_casting, Grid* iGrid = 0, real epsilon=1e-6);
- void SetGrid(Grid *iGrid) {_Grid = iGrid;}
+ void setGrid(Grid *iGrid) {_Grid = iGrid;}
/*! accessors */
/*! Modifiers */
- inline void SetProgressBar(ProgressBar *iProgressBar) {_pProgressBar = iProgressBar;}
- inline void SetEnableQI(bool iBool) {_EnableQI = iBool;}
+ inline void setProgressBar(ProgressBar *iProgressBar) {_pProgressBar = iProgressBar;}
+ inline void setEnableQI(bool iBool) {_EnableQI = iBool;}
protected: