Logo Search packages:      
Sourcecode: blender version File versions  Download package

LOD_FaceNormalEditor Class Reference

#include <LOD_FaceNormalEditor.h>

Inheritance diagram for LOD_FaceNormalEditor:


List of all members.

Detailed Description

LOD_FaceNormalEditor.h 14444 2008-04-16 22:40:48Z hos

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. All rights reserved.

The Original Code is: all of this file.

Contributor(s): none yet.


Definition at line 37 of file LOD_FaceNormalEditor.h.

Public Member Functions

void Add ()
void BuildNormals ()
const std::vector< MT_Vector3 > & Normals () const
void Remove (std::vector< LOD_FaceInd > &sorted_faces)
void RemoveVertexNormals (std::vector< LOD_VertexInd > &sorted_verts)
void Update (std::vector< LOD_FaceInd > &sorted_faces)
void UpdateVertexNormals (std::vector< LOD_VertexInd > &sorted_verts)
const std::vector< MT_Vector3 > & VertexNormals () const

Static Public Member Functions

static LOD_FaceNormalEditorNew (LOD_ManMesh2 &mesh)

Private Member Functions

const MT_Vector3 ComputeNormal (const LOD_TriFace &face) const
const MT_Vector3 ComputeVertexNormal (const LOD_VertexInd vi) const
 LOD_FaceNormalEditor (LOD_ManMesh2 &mesh)

Private Attributes

LOD_ManMesh2 & m_mesh
MEM_SmartPtr< std::vector
< MT_Vector3 > > 
MEM_SmartPtr< std::vector
< MT_Vector3 > > 

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index