IPolymesh Struct Reference
[External Interfaces]

Inheritance diagram for IPolymesh:

IMCUnknown List of all members.

Public Member Functions

virtual void MCCOMAPI SetSelection (boolean selected)=0
virtual boolean MCCOMAPI GetSelection ()=0
virtual boolean MCCOMAPI GetPartialSelection ()=0
virtual long MCCOMAPI GetNbVertices ()=0
virtual I3DExVertex *MCCOMAPI GetVertexNoAddRef (long index)=0
virtual long MCCOMAPI GetNbEdges ()=0
virtual IEdge *MCCOMAPI GetEdgeNoAddRef (long index)=0
virtual long MCCOMAPI GetNbPolygons ()=0
virtual IPolygon *MCCOMAPI GetPolygonNoAddRef (long index)=0
virtual void MCCOMAPI CreateVertex (I3DExVertex **vertexPtr, const TVector3 &position)=0
virtual ErrorCode MCCOMAPI FillPolygons ()=0
virtual void MCCOMAPI Delete ()=0
virtual void MCCOMAPI DeleteSelectedEdges ()=0
virtual void MCCOMAPI DeleteSelectedVertices ()=0
virtual void MCCOMAPI DeleteSelectedPolygons ()=0
virtual boolean MCCOMAPI GetBoundingBox (TBBox3D &bbox, boolean selection)=0
virtual void MCCOMAPI Triangulate ()=0
virtual ErrorCode MCCOMAPI GetPolylineHeads (TMCPtrArray< I3DExVertex > &vertices, TMCArray< boolean > &AreClosed)=0
virtual void MCCOMAPI Clone (IPolymesh **)=0
virtual boolean MCCOMAPI Weld (real tolerance, boolean alignOnly)=0
virtual void MCCOMAPI Merge (IPolymesh *polymesh)=0
virtual void MCCOMAPI InvertNormals ()=0
virtual IPolygon *MCCOMAPI MakePolygon (const TMCClassArray< TVMIVertexPtr > &vertices)=0
virtual IPolygon *MCCOMAPI MakePolygonCarefully (const TMCClassArray< TVMIVertexPtr > &ivertices)=0
virtual IPolygon *MCCOMAPI MakePolygonByForce (const TMCClassArray< TVMIVertexPtr > &ivertices)=0
virtual TVMIVertexPtr MCCOMAPI ImportVertex (const TVertex3D &vertex3d, boolean useUV, int32 index)=0
virtual void MCCOMAPI Topology (long counts[kNumberOfCases])=0
virtual void MCCOMAPI StartEdgeTransfer ()=0
virtual long MCCOMAPI EdgeTransfer (EdgeData edgeBuffer[], long bufferSize)=0
virtual void MCCOMAPI ConsistencyCheck ()=0
virtual void MCCOMAPI PreBoolean ()=0
virtual void MCCOMAPI Split (IPolymesh *polymesh)=0
virtual void MCCOMAPI GetName (char *name)=0
virtual void MCCOMAPI SetName (char *name)=0
virtual void MCCOMAPI SetUVPlaneAxis (long shadeAxis, long spaceAxis, boolean positive)=0
virtual int32 MCCOMAPI GetUVPlaneAxis (long shadeAxis)=0
virtual real MCCOMAPI GetUVValue (long shadeAxis)=0
virtual boolean MCCOMAPI GetUVPlanePositive (long shadeAxis)=0
virtual void MCCOMAPI SetUVCustomMode (long axis, long mode, boolean onSelection)=0
virtual long MCCOMAPI GetUVCustomMode (long axis)=0
virtual void MCCOMAPI SetUVMode (long mode)=0
virtual long MCCOMAPI GetUVMode ()=0
virtual void MCCOMAPI GetUVSpace (int32 shadingDomainID, UVSpaceInfo *uvSpaceInfo)=0
virtual void MCCOMAPI SetUVSpace (UVSpaceInfo *uvSpaceInfo)=0
virtual void MCCOMAPI SetUVAxisMode (long mode)=0
virtual long MCCOMAPI GetUVAxisMode ()=0
virtual void MCCOMAPI SetUVAxis (real roll, real pitch, real yaw)=0
virtual void MCCOMAPI GetUVAxis (real &roll, real &pitch, real &yaw)=0
virtual void MCCOMAPI BoxProjection (boolean onSelection, TBoxProjectionData &data)=0
virtual void MCCOMAPI SphereProjection (boolean onSelection, TSphereProjectionData &data)=0
virtual void MCCOMAPI CylinderProjection (boolean onSelection, TSphereProjectionData &data)=0
virtual void MCCOMAPI PlanarProjection (boolean onSelection, TPlanarProjectionData &data)=0
virtual void MCCOMAPI SetMarker (int32 iD)=0
virtual int32 MCCOMAPI GetMarker ()=0
virtual void MCCOMAPI GetVertexIndexList (I3DExVertex *v, TMCArray< int32 > &Index)=0
virtual void MCCOMAPI FlushOptimizer (void)=0
virtual void MCCOMAPI Transform (const TTransform3D &trans)=0
virtual void MCCOMAPI InvertSelection (int32 selectionFlag)=0
virtual void MCCOMAPI SetVerticesHidden (boolean hidden)=0
virtual void MCCOMAPI SetSubdivisionType (ESubdivisionType type)=0
virtual ESubdivisionType MCCOMAPI GetSubdivisionType ()=0
virtual void MCCOMAPI SetSubdivisionLevel (int32 level)=0
virtual int32 MCCOMAPI GetSubdivisionLevel ()=0
virtual void MCCOMAPI ConvertSubdivisionToPolygons (IPolymesh **iPolymesh)=0
virtual void MCCOMAPI GetPolyMeshFacetMesh (FacetMesh **outMesh)=0
virtual void MCCOMAPI Resize (TVector3 &scale, TVector3 &center)=0
virtual void MCCOMAPI SetUVWraparound (const boolean inWrapU, const boolean inWrapV)=0

Detailed Description

A Polymesh is a 3D object consisting of vertices with edges and polygons defined on the set of vertices. It can apply various UV mappings to its set of vertices, and it can compute subdivision surfaces using its polygons as the control mesh. For rendering and display, it can output a facet mesh based on its polygons or the subdivision surface.


Member Function Documentation

virtual void MCCOMAPI IPolymesh::BoxProjection (  boolean  onSelection,
TBoxProjectionData &  data
)  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::Clone (  IPolymesh **   )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::ConsistencyCheck (   )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::ConvertSubdivisionToPolygons (  IPolymesh **  iPolymesh  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::CreateVertex (  I3DExVertex **  vertexPtr,
const TVector3 &  position
)  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::CylinderProjection (  boolean  onSelection,
TSphereProjectionData &  data
)  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::Delete (   )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::DeleteSelectedEdges (   )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::DeleteSelectedPolygons (   )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::DeleteSelectedVertices (   )  [pure virtual]
 

virtual long MCCOMAPI IPolymesh::EdgeTransfer (  EdgeData  edgeBuffer[],
long  bufferSize
)  [pure virtual]
 

virtual ErrorCode MCCOMAPI IPolymesh::FillPolygons (   )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::FlushOptimizer (  void   )  [pure virtual]
 

virtual boolean MCCOMAPI IPolymesh::GetBoundingBox (  TBBox3D &  bbox,
boolean  selection
)  [pure virtual]
 

virtual IEdge* MCCOMAPI IPolymesh::GetEdgeNoAddRef (  long  index  )  [pure virtual]
 

virtual int32 MCCOMAPI IPolymesh::GetMarker (   )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::GetName (  char *  name  )  [pure virtual]
 

virtual long MCCOMAPI IPolymesh::GetNbEdges (   )  [pure virtual]
 

virtual long MCCOMAPI IPolymesh::GetNbPolygons (   )  [pure virtual]
 

virtual long MCCOMAPI IPolymesh::GetNbVertices (   )  [pure virtual]
 

virtual boolean MCCOMAPI IPolymesh::GetPartialSelection (   )  [pure virtual]
 

virtual IPolygon* MCCOMAPI IPolymesh::GetPolygonNoAddRef (  long  index  )  [pure virtual]
 

virtual ErrorCode MCCOMAPI IPolymesh::GetPolylineHeads (  TMCPtrArray< I3DExVertex > &  vertices,
TMCArray< boolean > &  AreClosed
)  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::GetPolyMeshFacetMesh (  FacetMesh **  outMesh  )  [pure virtual]
 

virtual boolean MCCOMAPI IPolymesh::GetSelection (   )  [pure virtual]
 

virtual int32 MCCOMAPI IPolymesh::GetSubdivisionLevel (   )  [pure virtual]
 

virtual ESubdivisionType MCCOMAPI IPolymesh::GetSubdivisionType (   )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::GetUVAxis (  real &  roll,
real &  pitch,
real &  yaw
)  [pure virtual]
 

virtual long MCCOMAPI IPolymesh::GetUVAxisMode (   )  [pure virtual]
 

virtual long MCCOMAPI IPolymesh::GetUVCustomMode (  long  axis  )  [pure virtual]
 

virtual long MCCOMAPI IPolymesh::GetUVMode (   )  [pure virtual]
 

virtual int32 MCCOMAPI IPolymesh::GetUVPlaneAxis (  long  shadeAxis  )  [pure virtual]
 

virtual boolean MCCOMAPI IPolymesh::GetUVPlanePositive (  long  shadeAxis  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::GetUVSpace (  int32  shadingDomainID,
UVSpaceInfo *  uvSpaceInfo
)  [pure virtual]
 

virtual real MCCOMAPI IPolymesh::GetUVValue (  long  shadeAxis  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::GetVertexIndexList (  I3DExVertex *  v,
TMCArray< int32 > &  Index
)  [pure virtual]
 

virtual I3DExVertex* MCCOMAPI IPolymesh::GetVertexNoAddRef (  long  index  )  [pure virtual]
 

virtual TVMIVertexPtr MCCOMAPI IPolymesh::ImportVertex (  const TVertex3D &  vertex3d,
boolean  useUV,
int32  index
)  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::InvertNormals (   )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::InvertSelection (  int32  selectionFlag  )  [pure virtual]
 

virtual IPolygon* MCCOMAPI IPolymesh::MakePolygon (  const TMCClassArray< TVMIVertexPtr > &  vertices  )  [pure virtual]
 

Creates a new polygon in this Polymesh.

Parameters:
vertices Array of vertices in the new Polygon
Returns:
A pointer to the new Polygon created

virtual IPolygon* MCCOMAPI IPolymesh::MakePolygonByForce (  const TMCClassArray< TVMIVertexPtr > &  ivertices  )  [pure virtual]
 

Creates a new polygon. MakePolygonByForce inserts the polygon, regardless of whether or not the edges of the polgon already have two polygons, by creating new edges.

Parameters:
ivertices Array of vertices in the new Polygon
Returns:
A pointer to the new Polygon created

virtual IPolygon* MCCOMAPI IPolymesh::MakePolygonCarefully (  const TMCClassArray< TVMIVertexPtr > &  ivertices  )  [pure virtual]
 

Creates a new polygon. Note that MakePolygonCarefully checks first to make sure that a polygon with these vertices doesn't already exist in the polymesh.

Parameters:
ivertices Array of vertices in the new Polygon
Returns:
A pointer to the new Polygon created

virtual void MCCOMAPI IPolymesh::Merge (  IPolymesh *  polymesh  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::PlanarProjection (  boolean  onSelection,
TPlanarProjectionData &  data
)  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::PreBoolean (   )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::Resize (  TVector3 &  scale,
TVector3 &  center
)  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetMarker (  int32  iD  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetName (  char *  name  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetSelection (  boolean  selected  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetSubdivisionLevel (  int32  level  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetSubdivisionType (  ESubdivisionType  type  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetUVAxis (  real  roll,
real  pitch,
real  yaw
)  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetUVAxisMode (  long  mode  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetUVCustomMode (  long  axis,
long  mode,
boolean  onSelection
)  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetUVMode (  long  mode  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetUVPlaneAxis (  long  shadeAxis,
long  spaceAxis,
boolean  positive
)  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetUVSpace (  UVSpaceInfo *  uvSpaceInfo  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetUVWraparound (  const boolean  inWrapU,
const boolean  inWrapV
)  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SetVerticesHidden (  boolean  hidden  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::SphereProjection (  boolean  onSelection,
TSphereProjectionData &  data
)  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::Split (  IPolymesh *  polymesh  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::StartEdgeTransfer (   )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::Topology (  long  counts[kNumberOfCases]  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::Transform (  const TTransform3D &  trans  )  [pure virtual]
 

virtual void MCCOMAPI IPolymesh::Triangulate (   )  [pure virtual]
 

virtual boolean MCCOMAPI IPolymesh::Weld (  real  tolerance,
boolean  alignOnly
)  [pure virtual]
 


The documentation for this struct was generated from the following file:
Generated on Mon Mar 14 12:29:04 2005 for Carrara SDK Doc by  doxygen 1.3.9.1