Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | Private Attributes | Friends
ON_Mesh Class Reference

#include <opennurbs_mesh.h>

Inheritance diagram for ON_Mesh:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void Append (const ON_Mesh &)
void Append (int count, const ON_Mesh *const *meshes)
const ON_TextureCoordinatesCachedTextureCoordinates (const ON_UUID &mapping_id) const
bool CollapseEdge (int topei)
bool CombineCoincidentVertices (ON_3fVector, double)
bool CombineIdenticalVertices (bool bIgnoreVertexNormals=false, bool bIgnoreTextureCoordinates=false)
bool Compact ()
bool ComputeFaceNormal (int)
bool ComputeFaceNormals ()
bool ComputeVertexNormals ()
bool ConvertQuadsToTriangles ()
bool ConvertTrianglesToQuads (double angle_tol_radians, double min_diagonal_length_ratio)
bool CountQuads ()
const ON_MeshPartitionCreatePartition (int, int)
int CullClashingFaces (int what_to_cull)
int CullDegenerateFaces ()
int CullUnusedVertices ()
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
bool DeleteFace (int meshfi)
void DeleteMeshParameters ()
void Destroy ()
void DestroyDoublePrecisionVertices ()
void DestroyHiddenVertexArray ()
void DestroyNgonList ()
void DestroyPartition ()
void DestroyRuntimeCache (bool bDelete=true)
void DestroyTopology ()
void DestroyTree (bool bDeleteTree=true)
int Dimension () const
ON_3dPointArrayDoublePrecisionVertices ()
const ON_3dPointArrayDoublePrecisionVertices () const
bool DoublePrecisionVerticesAreValid () const
void Dump (ON_TextLog &) const
ON_MeshDuplicateFace (int face_index, ON_Mesh *mesh) const
ON_MeshEdgeRef EdgeRef (ON_COMPONENT_INDEX ci) const
ON_MeshEdgeRef EdgeRef (int tope_index) const
void EmergencyDestroy ()
void EnableDoublePrecisionVertices (bool bEnableDoublePrecisionVertices)
bool EvaluateMeshGeometry (const ON_Surface &)
bool EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const
int FaceCount () const
bool FaceIsHidden (int meshvi) const
ON_MeshFaceRef FaceRef (ON_COMPONENT_INDEX ci) const
ON_MeshFaceRef FaceRef (int mesh_F_index) const
void Flip ()
void FlipFaceNormals ()
void FlipFaceOrientation ()
void FlipVertexNormals ()
ON_BOOL32 GetBBox (double *, double *, ON_BOOL32=false) const
int GetClashingFacePairs (int max_pair_count, ON_SimpleArray< ON_2dex > &clashing_pairs) const
int GetConnectedComponents (bool bUseVertexConnections, bool bTopologicalConnections, ON_SimpleArray< int > &facet_component_labels) const
int GetConnectedComponents (bool bUseVertexConnections, bool bTopologicalConnections, ON_SimpleArray< ON_Mesh * > *components) const
bool GetCurvatureStats (ON::curvature_style, ON_MeshCurvatureStats &) const
int GetMeshEdgeList (ON_SimpleArray< ON_2dex > &edge_list, int edge_type_partition[5]) const
int GetMeshEdgeList (ON_SimpleArray< ON_2dex > &edge_list, ON_SimpleArray< int > &ci_meshtop_edge_map, int edge_type_partition[5]) const
int GetMeshEdgeList (ON_SimpleArray< ON_2dex > &edge_list, ON_SimpleArray< int > &ci_meshtop_edge_map, ON_SimpleArray< int > &ci_meshtop_vertex_map, int edge_type_partition[5]) const
int GetMeshEdges (ON_SimpleArray< ON_2dex > &edges) const
int GetMeshFaceSideList (const int *Vid, struct ON_MeshFaceSide *&sides) const
bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
int GetVertexEdges (int vcount, const int *vertex_index, bool bNoDuplicates, ON_SimpleArray< ON_2dex > &edges) const
int * GetVertexLocationIds (int first_vid, int *Vid, int *Vindex) const
bool HasCachedTextureCoordinates () const
bool HasDoublePrecisionVertices () const
bool HasFaceNormals () const
bool HasPackedTextureRegion () const
bool HasPrincipalCurvatures () const
bool HasSurfaceParameters () const
bool HasSynchronizedDoubleAndSinglePrecisionVertices () const
bool HasTextureCoordinates () const
bool HasVertexColors () const
bool HasVertexNormals () const
const bool * HiddenVertexArray () const
int HiddenVertexCount () const
void InvalidateBoundingBoxes ()
void InvalidateCurvatureStats ()
void InvalidateTextureCoordinateBoundingBox ()
void InvalidateVertexBoundingBox ()
void InvalidateVertexNormalBoundingBox ()
int InvalidFaceCount () const
bool IsClosed () const
bool IsDeformable () const
bool IsManifold () const
bool IsManifold (bool bTopologicalTest, bool *pbIsOriented=NULL, bool *pbHasBoundary=NULL) const
bool IsOriented () const
bool IsSolid () const
bool IsSwappableEdge (int topei)
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
bool MakeDeformable ()
void MemoryRelocate ()
ON_GeometryMeshComponent (ON_COMPONENT_INDEX ci) const
const ON_MeshParametersMeshParameters () const
ON_MeshMeshPart (const ON_MeshPart &mesh_part, ON_Mesh *mesh) const
class ON_MeshNgonListModifyNgonList ()
class ON_MeshNgonListNgonList () const
bool NormalizeTextureCoordinates ()
ON::object_type ObjectType () const
 ON_Mesh ()
 ON_Mesh (int initial_face_array_capacity, int initial_vertex_array_capacity, bool has_vertex_normals, bool has_texture_coordinates)
 ON_Mesh (const ON_Mesh &)
ON_Meshoperator= (const ON_Mesh &)
const ON_MeshPartitionPartition () const
int QuadCount () const
ON_BOOL32 Read (ON_BinaryArchive &)
bool ReverseSurfaceParameters (int dir)
bool ReverseTextureCoordinates (int dir)
const ON_TextureCoordinatesSetCachedTextureCoordinates (const class ON_TextureMapping &mapping, const class ON_Xform *mesh_xform=0, bool bLazy=true)
void SetClosed (int closed)
void SetDoublePrecisionVerticesAsValid ()
void SetMeshParameters (const ON_MeshParameters &)
bool SetQuad (int, int, int, int, int)
void SetSinglePrecisionVerticesAsValid ()
void SetSolidOrientation (int solid_orientation)
bool SetTextureCoord (int, double, double)
bool SetTextureCoordinates (const class ON_TextureMapping &mapping, const class ON_Xform *mesh_xform=0, bool bLazy=true)
bool SetTriangle (int, int, int, int)
bool SetVertex (int, const ON_3dPoint &)
bool SetVertex (int, const ON_3fPoint &)
void SetVertexHiddenFlag (int meshvi, bool bHidden)
bool SetVertexNormal (int, const ON_3dVector &)
bool SetVertexNormal (int, const ON_3fVector &)
ON_3fPointArraySinglePrecisionVertices ()
const ON_3fPointArraySinglePrecisionVertices () const
bool SinglePrecisionVerticesAreValid () const
unsigned int SizeOf () const
int SolidOrientation () const
ON_BOOL32 SwapCoordinates (int, int)
bool SwapEdge (int topei)
const ON_MeshTopologyTopology () const
bool TopologyExists () const
ON_BOOL32 Transform (const ON_Xform &)
bool TransposeSurfaceParameters ()
bool TransposeTextureCoordinates ()
int TriangleCount () const
bool UnitizeFaceNormals ()
bool UnitizeVertexNormals ()
void UpdateDoublePrecisionVertices ()
void UpdateSinglePrecisionVertices ()
ON_3dPoint Vertex (int vertex_index) const
int VertexCount () const
bool VertexIsHidden (int meshvi) const
ON_MeshVertexRef VertexRef (ON_COMPONENT_INDEX ci) const
ON_MeshVertexRef VertexRef (int mesh_V_index) const
ON_BOOL32 Write (ON_BinaryArchive &) const
 ~ON_Mesh ()

Public Attributes

ON_SimpleArray< ON_Colorm_C
ON_MappingTag m_Ctag
ON_SimpleArray< ON_MeshFacem_F
ON_3fVectorArray m_FN
ON_SimpleArray< bool > m_H
int m_hidden_count
ON_SimpleArray
< ON_SurfaceCurvature
m_K
ON_3fVectorArray m_N
ON_Interval m_packed_tex_domain [2]
bool m_packed_tex_rotate
const ON_Objectm_parent
ON_2dPointArray m_S
ON_Interval m_srf_domain [2]
double m_srf_scale [2]
ON_2fPointArray m_T
ON_ClassArray
< ON_TextureCoordinates
m_TC
ON_MappingTag m_Ttag
ON_3fPointArray m_V

Protected Attributes

int m_invalid_count
ON_MeshCurvatureStatsm_kstat [4]
ON_MeshParametersm_mesh_parameters
float m_nbox [2][3]
ON_MeshPartitionm_partition
int m_quad_count
float m_tbox [2][2]
ON_MeshTopology m_top
int m_triangle_count
float m_vbox [2][3]

Private Member Functions

 ON_OBJECT_DECLARE (ON_Mesh)
bool Read_1 (ON_BinaryArchive &)
bool Read_2 (int, ON_BinaryArchive &)
bool ReadFaceArray (int, int, ON_BinaryArchive &)
bool SwapEdge_Helper (int, bool)
bool Write_1 (ON_BinaryArchive &) const
bool Write_2 (int, ON_BinaryArchive &) const
bool WriteFaceArray (int, int, ON_BinaryArchive &) const

Private Attributes

char m_mesh_is_closed
char m_mesh_is_manifold
char m_mesh_is_oriented
char m_mesh_is_solid

Friends

class ON_MeshEdgeRef
class ON_MeshFaceRef
class ON_MeshVertexRef

Detailed Description

Definition at line 989 of file opennurbs_mesh.h.


Constructor & Destructor Documentation

Definition at line 359 of file opennurbs_mesh.cpp.

ON_Mesh::ON_Mesh ( int  initial_face_array_capacity,
int  initial_vertex_array_capacity,
bool  has_vertex_normals,
bool  has_texture_coordinates 
)

Definition at line 384 of file opennurbs_mesh.cpp.

ON_Mesh::ON_Mesh ( const ON_Mesh src)

Definition at line 417 of file opennurbs_mesh.cpp.

Definition at line 548 of file opennurbs_mesh.cpp.


Member Function Documentation

void ON_Mesh::Append ( const ON_Mesh m)

Definition at line 4166 of file opennurbs_mesh.cpp.

void ON_Mesh::Append ( int  count,
const ON_Mesh *const *  meshes 
)

Definition at line 3895 of file opennurbs_mesh.cpp.

const ON_TextureCoordinates * ON_Mesh::CachedTextureCoordinates ( const ON_UUID mapping_id) const

Definition at line 3138 of file opennurbs_mesh.cpp.

bool ON_Mesh::CollapseEdge ( int  topei)

Definition at line 213 of file opennurbs_mesh_tools.cpp.

bool ON_Mesh::CombineCoincidentVertices ( ON_3fVector  tolerance,
double  cos_normal_angle 
)

Definition at line 3558 of file opennurbs_mesh.cpp.

bool ON_Mesh::CombineIdenticalVertices ( bool  bIgnoreVertexNormals = false,
bool  bIgnoreTextureCoordinates = false 
)

Definition at line 3675 of file opennurbs_mesh.cpp.

bool ON_Mesh::Compact ( )

Definition at line 6245 of file opennurbs_mesh.cpp.

bool ON_Mesh::ComputeFaceNormal ( int  fi)

Definition at line 3482 of file opennurbs_mesh.cpp.

Definition at line 3502 of file opennurbs_mesh.cpp.

Definition at line 5483 of file opennurbs_mesh.cpp.

Definition at line 5261 of file opennurbs_mesh.cpp.

bool ON_Mesh::ConvertTrianglesToQuads ( double  angle_tol_radians,
double  min_diagonal_length_ratio 
)

Definition at line 5067 of file opennurbs_mesh.cpp.

Definition at line 5461 of file opennurbs_mesh.cpp.

const ON_MeshPartition * ON_Mesh::CreatePartition ( int  partition_max_vertex_count,
int  partition_max_triangle_count 
)

Definition at line 7519 of file opennurbs_mesh.cpp.

int ON_Mesh::CullClashingFaces ( int  what_to_cull)

Definition at line 5963 of file opennurbs_mesh.cpp.

Definition at line 6102 of file opennurbs_mesh.cpp.

ON__UINT32 ON_Mesh::DataCRC ( ON__UINT32  current_remainder) const [virtual]

Reimplemented from ON_Object.

Definition at line 464 of file opennurbs_mesh.cpp.

bool ON_Mesh::DeleteFace ( int  meshfi)

Definition at line 661 of file opennurbs_mesh_tools.cpp.

Definition at line 5871 of file opennurbs_mesh.cpp.

void ON_Mesh::Destroy ( )

Definition at line 560 of file opennurbs_mesh.cpp.

Definition at line 9403 of file opennurbs_mesh.cpp.

Definition at line 8875 of file opennurbs_mesh.cpp.

Definition at line 503 of file opennurbs_mesh_ngon.cpp.

Definition at line 7726 of file opennurbs_mesh.cpp.

void ON_Mesh::DestroyRuntimeCache ( bool  bDelete = true) [virtual]

Reimplemented from ON_Object.

Definition at line 2034 of file opennurbs_mesh.cpp.

Definition at line 3331 of file opennurbs_mesh.cpp.

void ON_Mesh::DestroyTree ( bool  bDeleteTree = true)

Definition at line 9849 of file opennurbs_mesh.cpp.

int ON_Mesh::Dimension ( ) const [virtual]

Implements ON_Geometry.

Definition at line 1738 of file opennurbs_mesh.cpp.

Definition at line 9555 of file opennurbs_mesh.cpp.

Definition at line 9597 of file opennurbs_mesh.cpp.

Definition at line 9543 of file opennurbs_mesh.cpp.

void ON_Mesh::Dump ( ON_TextLog dump) const [virtual]

Reimplemented from ON_Object.

Definition at line 783 of file opennurbs_mesh.cpp.

ON_Mesh * ON_Mesh::DuplicateFace ( int  face_index,
ON_Mesh mesh 
) const

Definition at line 7878 of file opennurbs_mesh.cpp.

ON_MeshEdgeRef ON_Mesh::EdgeRef ( ON_COMPONENT_INDEX  ci) const

Definition at line 8507 of file opennurbs_mesh.cpp.

ON_MeshEdgeRef ON_Mesh::EdgeRef ( int  tope_index) const

Definition at line 8502 of file opennurbs_mesh.cpp.

void ON_Mesh::EmergencyDestroy ( void  )

Reimplemented from ON_Object.

Definition at line 577 of file opennurbs_mesh.cpp.

void ON_Mesh::EnableDoublePrecisionVertices ( bool  bEnableDoublePrecisionVertices)

Definition at line 9410 of file opennurbs_mesh.cpp.

Definition at line 5774 of file opennurbs_mesh.cpp.

bool ON_Mesh::EvaluatePoint ( const class ON_ObjRef objref,
ON_3dPoint P 
) const [virtual]

Reimplemented from ON_Geometry.

Definition at line 467 of file opennurbs_morph.cpp.

int ON_Mesh::FaceCount ( ) const

Definition at line 3066 of file opennurbs_mesh.cpp.

bool ON_Mesh::FaceIsHidden ( int  meshvi) const

Definition at line 8940 of file opennurbs_mesh.cpp.

ON_MeshFaceRef ON_Mesh::FaceRef ( ON_COMPONENT_INDEX  ci) const

Definition at line 8525 of file opennurbs_mesh.cpp.

ON_MeshFaceRef ON_Mesh::FaceRef ( int  mesh_F_index) const

Definition at line 8512 of file opennurbs_mesh.cpp.

void ON_Mesh::Flip ( )

Definition at line 3405 of file opennurbs_mesh.cpp.

Definition at line 3428 of file opennurbs_mesh.cpp.

Definition at line 3440 of file opennurbs_mesh.cpp.

Definition at line 3416 of file opennurbs_mesh.cpp.

ON_BOOL32 ON_Mesh::GetBBox ( double *  boxmin,
double *  boxmax,
ON_BOOL32  bGrowBox = false 
) const [virtual]

Implements ON_Geometry.

Definition at line 1789 of file opennurbs_mesh.cpp.

int ON_Mesh::GetClashingFacePairs ( int  max_pair_count,
ON_SimpleArray< ON_2dex > &  clashing_pairs 
) const
int ON_Mesh::GetConnectedComponents ( bool  bUseVertexConnections,
bool  bTopologicalConnections,
ON_SimpleArray< int > &  facet_component_labels 
) const

Definition at line 1118 of file opennurbs_mesh_tools.cpp.

int ON_Mesh::GetConnectedComponents ( bool  bUseVertexConnections,
bool  bTopologicalConnections,
ON_SimpleArray< ON_Mesh * > *  components 
) const

Definition at line 1172 of file opennurbs_mesh_tools.cpp.

bool ON_Mesh::GetCurvatureStats ( ON::curvature_style  kappa_style,
ON_MeshCurvatureStats stats 
) const

Definition at line 3257 of file opennurbs_mesh.cpp.

int ON_Mesh::GetMeshEdgeList ( ON_SimpleArray< ON_2dex > &  edge_list,
int  edge_type_partition[5] 
) const
int ON_Mesh::GetMeshEdgeList ( ON_SimpleArray< ON_2dex > &  edge_list,
ON_SimpleArray< int > &  ci_meshtop_edge_map,
int  edge_type_partition[5] 
) const
int ON_Mesh::GetMeshEdgeList ( ON_SimpleArray< ON_2dex > &  edge_list,
ON_SimpleArray< int > &  ci_meshtop_edge_map,
ON_SimpleArray< int > &  ci_meshtop_vertex_map,
int  edge_type_partition[5] 
) const
int ON_Mesh::GetMeshEdges ( ON_SimpleArray< ON_2dex > &  edges) const

Definition at line 2376 of file opennurbs_mesh.cpp.

int ON_Mesh::GetMeshFaceSideList ( const int *  Vid,
struct ON_MeshFaceSide *&  sides 
) const

Definition at line 10178 of file opennurbs_mesh.cpp.

bool ON_Mesh::GetTightBoundingBox ( ON_BoundingBox tight_bbox,
int  bGrowBox = false,
const ON_Xform xform = 0 
) const [virtual]

Reimplemented from ON_Geometry.

Definition at line 1044 of file opennurbs_bezier.cpp.

int ON_Mesh::GetVertexEdges ( int  vcount,
const int *  vertex_index,
bool  bNoDuplicates,
ON_SimpleArray< ON_2dex > &  edges 
) const

Definition at line 2211 of file opennurbs_mesh.cpp.

int * ON_Mesh::GetVertexLocationIds ( int  first_vid,
int *  Vid,
int *  Vindex 
) const

Definition at line 9974 of file opennurbs_mesh.cpp.

Definition at line 3122 of file opennurbs_mesh.cpp.

Definition at line 9398 of file opennurbs_mesh.cpp.

bool ON_Mesh::HasFaceNormals ( ) const

Definition at line 3110 of file opennurbs_mesh.cpp.

Definition at line 5631 of file opennurbs_mesh.cpp.

Definition at line 3163 of file opennurbs_mesh.cpp.

Definition at line 3157 of file opennurbs_mesh.cpp.

Definition at line 9375 of file opennurbs_mesh.cpp.

Definition at line 3116 of file opennurbs_mesh.cpp.

bool ON_Mesh::HasVertexColors ( ) const

Definition at line 3169 of file opennurbs_mesh.cpp.

bool ON_Mesh::HasVertexNormals ( ) const

Definition at line 3104 of file opennurbs_mesh.cpp.

const bool * ON_Mesh::HiddenVertexArray ( ) const

Definition at line 8870 of file opennurbs_mesh.cpp.

Definition at line 8881 of file opennurbs_mesh.cpp.

Definition at line 3175 of file opennurbs_mesh.cpp.

Definition at line 3201 of file opennurbs_mesh.cpp.

Definition at line 3195 of file opennurbs_mesh.cpp.

Definition at line 3183 of file opennurbs_mesh.cpp.

Definition at line 3189 of file opennurbs_mesh.cpp.

Definition at line 3091 of file opennurbs_mesh.cpp.

bool ON_Mesh::IsClosed ( void  ) const

Definition at line 2870 of file opennurbs_mesh.cpp.

bool ON_Mesh::IsDeformable ( ) const [virtual]

Reimplemented from ON_Geometry.

Definition at line 1891 of file opennurbs_mesh.cpp.

bool ON_Mesh::IsManifold ( ) const

Definition at line 2881 of file opennurbs_mesh.cpp.

bool ON_Mesh::IsManifold ( bool  bTopologicalTest,
bool *  pbIsOriented = NULL,
bool *  pbHasBoundary = NULL 
) const

Definition at line 2470 of file opennurbs_mesh.cpp.

bool ON_Mesh::IsOriented ( ) const

Definition at line 2891 of file opennurbs_mesh.cpp.

bool ON_Mesh::IsSolid ( ) const

Definition at line 2464 of file opennurbs_mesh.cpp.

bool ON_Mesh::IsSwappableEdge ( int  topei)

Definition at line 145 of file opennurbs_mesh_tools.cpp.

ON_BOOL32 ON_Mesh::IsValid ( ON_TextLog text_log = NULL) const [virtual]

Implements ON_Object.

Definition at line 596 of file opennurbs_mesh.cpp.

bool ON_Mesh::MakeDeformable ( ) [virtual]

Reimplemented from ON_Geometry.

Definition at line 1896 of file opennurbs_mesh.cpp.

void ON_Mesh::MemoryRelocate ( ) [virtual]

Reimplemented from ON_Object.

Definition at line 554 of file opennurbs_mesh.cpp.

ON_Geometry * ON_Mesh::MeshComponent ( ON_COMPONENT_INDEX  ci) const

Definition at line 8717 of file opennurbs_mesh.cpp.

Definition at line 5866 of file opennurbs_mesh.cpp.

ON_Mesh * ON_Mesh::MeshPart ( const ON_MeshPart mesh_part,
ON_Mesh mesh 
) const

Definition at line 7747 of file opennurbs_mesh.cpp.

Definition at line 470 of file opennurbs_mesh_ngon.cpp.

Definition at line 455 of file opennurbs_mesh_ngon.cpp.

Definition at line 5562 of file opennurbs_mesh.cpp.

ON::object_type ON_Mesh::ObjectType ( ) const [virtual]

Reimplemented from ON_Object.

Definition at line 1733 of file opennurbs_mesh.cpp.

ON_Mesh & ON_Mesh::operator= ( const ON_Mesh src)

Definition at line 474 of file opennurbs_mesh.cpp.

Definition at line 7721 of file opennurbs_mesh.cpp.

int ON_Mesh::QuadCount ( ) const

Definition at line 3071 of file opennurbs_mesh.cpp.

ON_BOOL32 ON_Mesh::Read ( ON_BinaryArchive file) [virtual]

Reimplemented from ON_Object.

Definition at line 1525 of file opennurbs_mesh.cpp.

bool ON_Mesh::Read_1 ( ON_BinaryArchive file) [private]

Definition at line 1071 of file opennurbs_mesh.cpp.

bool ON_Mesh::Read_2 ( int  vcount,
ON_BinaryArchive file 
) [private]

Definition at line 1141 of file opennurbs_mesh.cpp.

bool ON_Mesh::ReadFaceArray ( int  vcount,
int  fcount,
ON_BinaryArchive file 
) [private]

Definition at line 1014 of file opennurbs_mesh.cpp.

Definition at line 5755 of file opennurbs_mesh.cpp.

Definition at line 5707 of file opennurbs_mesh.cpp.

const ON_TextureCoordinates * ON_Mesh::SetCachedTextureCoordinates ( const class ON_TextureMapping mapping,
const class ON_Xform mesh_xform = 0,
bool  bLazy = true 
)

Definition at line 3977 of file opennurbs_material.cpp.

void ON_Mesh::SetClosed ( int  closed)

Definition at line 2109 of file opennurbs_mesh.cpp.

Definition at line 9526 of file opennurbs_mesh.cpp.

Definition at line 5860 of file opennurbs_mesh.cpp.

bool ON_Mesh::SetQuad ( int  face_index,
int  a,
int  b,
int  c,
int  d 
)

Definition at line 3037 of file opennurbs_mesh.cpp.

Definition at line 9517 of file opennurbs_mesh.cpp.

void ON_Mesh::SetSolidOrientation ( int  solid_orientation)

Definition at line 2141 of file opennurbs_mesh.cpp.

bool ON_Mesh::SetTextureCoord ( int  vertex_index,
double  s,
double  t 
)

Definition at line 3007 of file opennurbs_mesh.cpp.

bool ON_Mesh::SetTextureCoordinates ( const class ON_TextureMapping mapping,
const class ON_Xform mesh_xform = 0,
bool  bLazy = true 
)

Definition at line 4061 of file opennurbs_material.cpp.

bool ON_Mesh::SetTriangle ( int  face_index,
int  a,
int  b,
int  c 
)

Definition at line 3029 of file opennurbs_mesh.cpp.

bool ON_Mesh::SetVertex ( int  vertex_index,
const ON_3dPoint vertex_location 
)

Definition at line 2902 of file opennurbs_mesh.cpp.

bool ON_Mesh::SetVertex ( int  vertex_index,
const ON_3fPoint vertex_location 
)

Definition at line 2938 of file opennurbs_mesh.cpp.

void ON_Mesh::SetVertexHiddenFlag ( int  meshvi,
bool  bHidden 
)

Definition at line 8886 of file opennurbs_mesh.cpp.

bool ON_Mesh::SetVertexNormal ( int  vertex_index,
const ON_3dVector normal 
)

Definition at line 2974 of file opennurbs_mesh.cpp.

bool ON_Mesh::SetVertexNormal ( int  vertex_index,
const ON_3fVector normal 
)

Definition at line 2998 of file opennurbs_mesh.cpp.

Definition at line 9604 of file opennurbs_mesh.cpp.

Definition at line 9620 of file opennurbs_mesh.cpp.

Definition at line 9535 of file opennurbs_mesh.cpp.

unsigned int ON_Mesh::SizeOf ( ) const [virtual]

Reimplemented from ON_Object.

Definition at line 446 of file opennurbs_mesh.cpp.

Definition at line 2435 of file opennurbs_mesh.cpp.

ON_BOOL32 ON_Mesh::SwapCoordinates ( int  i,
int  j 
) [virtual]

Reimplemented from ON_Geometry.

Definition at line 2069 of file opennurbs_mesh.cpp.

bool ON_Mesh::SwapEdge ( int  topei)

Definition at line 150 of file opennurbs_mesh_tools.cpp.

bool ON_Mesh::SwapEdge_Helper ( int  topei,
bool  bTestOnly 
) [private]

Definition at line 24 of file opennurbs_mesh_tools.cpp.

Definition at line 3316 of file opennurbs_mesh.cpp.

bool ON_Mesh::TopologyExists ( ) const

Definition at line 3311 of file opennurbs_mesh.cpp.

ON_BOOL32 ON_Mesh::Transform ( const ON_Xform xform) [virtual]

Reimplemented from ON_Geometry.

Definition at line 1901 of file opennurbs_mesh.cpp.

Definition at line 5610 of file opennurbs_mesh.cpp.

Definition at line 5649 of file opennurbs_mesh.cpp.

int ON_Mesh::TriangleCount ( ) const

Definition at line 3084 of file opennurbs_mesh.cpp.

Definition at line 3234 of file opennurbs_mesh.cpp.

Definition at line 3212 of file opennurbs_mesh.cpp.

Definition at line 9463 of file opennurbs_mesh.cpp.

Definition at line 9439 of file opennurbs_mesh.cpp.

ON_3dPoint ON_Mesh::Vertex ( int  vertex_index) const

Definition at line 9577 of file opennurbs_mesh.cpp.

int ON_Mesh::VertexCount ( ) const

Definition at line 3099 of file opennurbs_mesh.cpp.

bool ON_Mesh::VertexIsHidden ( int  meshvi) const

Definition at line 8932 of file opennurbs_mesh.cpp.

ON_MeshVertexRef ON_Mesh::VertexRef ( ON_COMPONENT_INDEX  ci) const

Definition at line 8472 of file opennurbs_mesh.cpp.

ON_MeshVertexRef ON_Mesh::VertexRef ( int  mesh_V_index) const

Definition at line 8456 of file opennurbs_mesh.cpp.

ON_BOOL32 ON_Mesh::Write ( ON_BinaryArchive file) const [virtual]

Reimplemented from ON_Object.

Definition at line 1260 of file opennurbs_mesh.cpp.

bool ON_Mesh::Write_1 ( ON_BinaryArchive file) const [private]

Definition at line 1058 of file opennurbs_mesh.cpp.

bool ON_Mesh::Write_2 ( int  Vcount,
ON_BinaryArchive file 
) const [private]

Definition at line 1084 of file opennurbs_mesh.cpp.

bool ON_Mesh::WriteFaceArray ( int  vcount,
int  fcount,
ON_BinaryArchive file 
) const [private]

Definition at line 965 of file opennurbs_mesh.cpp.


Friends And Related Function Documentation

friend class ON_MeshEdgeRef [friend]

Definition at line 2356 of file opennurbs_mesh.h.

friend class ON_MeshFaceRef [friend]

Definition at line 2357 of file opennurbs_mesh.h.

friend class ON_MeshVertexRef [friend]

Definition at line 2355 of file opennurbs_mesh.h.


Member Data Documentation

Definition at line 2336 of file opennurbs_mesh.h.

Definition at line 2335 of file opennurbs_mesh.h.

Definition at line 2204 of file opennurbs_mesh.h.

Definition at line 2216 of file opennurbs_mesh.h.

Definition at line 2343 of file opennurbs_mesh.h.

Definition at line 2347 of file opennurbs_mesh.h.

int ON_Mesh::m_invalid_count [protected]

Definition at line 2366 of file opennurbs_mesh.h.

Definition at line 2328 of file opennurbs_mesh.h.

Definition at line 2382 of file opennurbs_mesh.h.

char ON_Mesh::m_mesh_is_closed [private]

Definition at line 2371 of file opennurbs_mesh.h.

Definition at line 2372 of file opennurbs_mesh.h.

Definition at line 2373 of file opennurbs_mesh.h.

char ON_Mesh::m_mesh_is_solid [private]

Definition at line 2374 of file opennurbs_mesh.h.

Definition at line 2364 of file opennurbs_mesh.h.

Definition at line 2210 of file opennurbs_mesh.h.

float ON_Mesh::m_nbox[2][3] [protected]

Definition at line 2379 of file opennurbs_mesh.h.

Definition at line 2282 of file opennurbs_mesh.h.

Definition at line 2313 of file opennurbs_mesh.h.

Definition at line 2352 of file opennurbs_mesh.h.

Definition at line 2385 of file opennurbs_mesh.h.

int ON_Mesh::m_quad_count [protected]

Definition at line 2367 of file opennurbs_mesh.h.

Definition at line 2271 of file opennurbs_mesh.h.

Definition at line 2272 of file opennurbs_mesh.h.

Definition at line 2273 of file opennurbs_mesh.h.

Definition at line 2227 of file opennurbs_mesh.h.

float ON_Mesh::m_tbox[2][2] [protected]

Definition at line 2381 of file opennurbs_mesh.h.

Definition at line 2236 of file opennurbs_mesh.h.

Definition at line 2362 of file opennurbs_mesh.h.

int ON_Mesh::m_triangle_count [protected]

Definition at line 2368 of file opennurbs_mesh.h.

Definition at line 2226 of file opennurbs_mesh.h.

Definition at line 2192 of file opennurbs_mesh.h.

float ON_Mesh::m_vbox[2][3] [protected]

Definition at line 2378 of file opennurbs_mesh.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:52