I3DExVertex Struct Reference
[External Interfaces]

Inheritance diagram for I3DExVertex:

IMCUnknown List of all members.

Public Member Functions

virtual void MCCOMAPI GetPosition (TVector3 &position)=0
virtual void MCCOMAPI SetPosition (TVector3 &position)=0
virtual void MCCOMAPI SetSelection (boolean selected, boolean autoSelection=true)=0
virtual boolean MCCOMAPI GetSelection ()=0
virtual void MCCOMAPI Delete (boolean preserveTopology=false)=0
virtual IEdge *MCCOMAPI CreateEdge (I3DExVertex *v)=0
virtual void MCCOMAPI GetPolymesh (IPolymesh **iPolymesh)=0
virtual long MCCOMAPI GetNbEdges ()=0
virtual IEdge *MCCOMAPI GetEdge (long index)=0
virtual void MCCOMAPI SetHidden (boolean hidden)=0
virtual boolean MCCOMAPI GetHidden ()=0
virtual void MCCOMAPI SetUsed (boolean used)=0
virtual boolean MCCOMAPI GetUsed ()=0
virtual void MCCOMAPI MergeEdges ()=0
virtual void MCCOMAPI SetBooleanClassification (const long classification)=0
virtual const long MCCOMAPI GetBooleanClassification ()=0
virtual boolean MCCOMAPI Weld (I3DExVertex *v)=0
virtual IEdge *MCCOMAPI Link (I3DExVertex *v)=0
virtual boolean MCCOMAPI GetBestPlane (TVector3 &ii, TVector3 &jj, TVector3 &kk, TVector3 &center)=0
virtual void MCCOMAPI GetNeighborVertices (TMCPtrArray< I3DExVertex > &vertices, boolean extended)=0
virtual boolean MCCOMAPI GetBestPlane2 (TMCPtrArray< I3DExVertex > &vertices, TVector3 &ii, TVector3 &jj, TVector3 &kk, TVector3 &center)=0
virtual I3DExVertex *MCCOMAPI CloneConjugate ()=0
virtual void MCCOMAPI GetNormal (TVector3 &normal)=0
virtual void MCCOMAPI GetNormal (TVector3 &normal, const int32 index)=0
virtual int32 MCCOMAPI GetNormalCount ()=0
virtual void MCCOMAPI SetIndex (long index)=0
virtual long MCCOMAPI GetIndex ()=0
virtual void MCCOMAPI GetName (char *name)=0
virtual void MCCOMAPI SetName (char *name)=0
virtual int32 MCCOMAPI GetUVCount ()=0
virtual int32 MCCOMAPI AddUV (const TVector2 &uv)=0
virtual void MCCOMAPI ClearUV ()=0
virtual int32 MCCOMAPI RemoveUV (const int32 UVIndex, const int32 UVReplacement=0)=0
virtual const TVector2 &MCCOMAPI GetUV (int32 index)=0
virtual void MCCOMAPI SetUV (int32 index, const TVector2 &uv)=0
virtual void MCCOMAPI SetCustomUVMode (int32 mode)=0
virtual TVertexPrimVertexSkinInfo
*MCCOMAPI 
GetSkinInfo ()=0
virtual void MCCOMAPI SetSpecial (boolean special)=0
virtual void MCCOMAPI SetNonDisplayedSpecial (boolean special)=0
virtual void MCCOMAPI SetSkiningData (const TMCArray< TWeightedJoint > &inWeightsList, const TJointIndex &inPrimaryJointIndex)=0
virtual const TMCArray< TWeightedJoint
> *MCCOMAPI 
GetSkiningData (TJointIndex &outPrimaryJointIndex)=0

Detailed Description

This interface can be used to access a vertex inside a vertex primitive.


Member Function Documentation

virtual int32 MCCOMAPI I3DExVertex::AddUV (  const TVector2 &  uv  )  [pure virtual]
 

Adds new uv coordinates (texture coordinates) on this vertex.

Parameters:
uv Value of the uv to add.
Returns:
The index of the uv created on this vertex.

virtual void MCCOMAPI I3DExVertex::ClearUV (   )  [pure virtual]
 

Clear the UV list on this vertex. Important: this method does not clean the reference to the UV list in the surrounding polygons.

virtual I3DExVertex* MCCOMAPI I3DExVertex::CloneConjugate (   )  [pure virtual]
 

virtual IEdge* MCCOMAPI I3DExVertex::CreateEdge (  I3DExVertex *  v  )  [pure virtual]
 

virtual void MCCOMAPI I3DExVertex::Delete (  boolean  preserveTopology = false  )  [pure virtual]
 

virtual boolean MCCOMAPI I3DExVertex::GetBestPlane (  TVector3 &  ii,
TVector3 &  jj,
TVector3 &  kk,
TVector3 &  center
)  [pure virtual]
 

virtual boolean MCCOMAPI I3DExVertex::GetBestPlane2 (  TMCPtrArray< I3DExVertex > &  vertices,
TVector3 &  ii,
TVector3 &  jj,
TVector3 &  kk,
TVector3 &  center
)  [pure virtual]
 

virtual const long MCCOMAPI I3DExVertex::GetBooleanClassification (   )  [pure virtual]
 

virtual IEdge* MCCOMAPI I3DExVertex::GetEdge (  long  index  )  [pure virtual]
 

virtual boolean MCCOMAPI I3DExVertex::GetHidden (   )  [pure virtual]
 

virtual long MCCOMAPI I3DExVertex::GetIndex (   )  [pure virtual]
 

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

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

virtual void MCCOMAPI I3DExVertex::GetNeighborVertices (  TMCPtrArray< I3DExVertex > &  vertices,
boolean  extended
)  [pure virtual]
 

virtual void MCCOMAPI I3DExVertex::GetNormal (  TVector3 &  normal,
const int32  index
)  [pure virtual]
 

Returns the ieme normal on the vertex.

Parameters:
normal The vector of the normal that is returned.
index The index of the normal (0<= index < GetNormalCount())

virtual void MCCOMAPI I3DExVertex::GetNormal (  TVector3 &  normal  )  [pure virtual]
 

Returns the average of all the normals on this vertex

virtual int32 MCCOMAPI I3DExVertex::GetNormalCount (   )  [pure virtual]
 

Returns the number of normals on this vertex ( == smoother count )

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

virtual void MCCOMAPI I3DExVertex::GetPosition (  TVector3 &  position  )  [pure virtual]
 

Returns the position of the vertex.

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

Returns true if the vertex is selected.

virtual TVertexPrimVertexSkinInfo* MCCOMAPI I3DExVertex::GetSkinInfo (   )  [pure virtual]
 

Returns the information related to the skinning of this vertex

virtual const TMCArray<TWeightedJoint>* MCCOMAPI I3DExVertex::GetSkiningData (  TJointIndex &  outPrimaryJointIndex  )  [pure virtual]
 

Gets the skining info of a vertex. The vertex primitive is supposed to be attached to a skeleton and the indexes of the TWeightedJoint(s) match the order of the joints in I3dExSkinable::GetJoints().

Parameters:
outPrimaryJointIndex: the index of the "most important" joint for this vertex
Returns:
If the vertex had skining data returns the list of the joints influencing this vertex and their weight otherwise returns NULL (and don't fill outPrimaryJointIndex)

virtual boolean MCCOMAPI I3DExVertex::GetUsed (   )  [pure virtual]
 

Returns the Used flag status. This flag can be set On or Off with SetUsed

virtual const TVector2& MCCOMAPI I3DExVertex::GetUV (  int32  index  )  [pure virtual]
 

Returns the value of the uv (texture coordinates) of the vertex

Parameters:
index index of the uv coordinates to set (a vertex can have several)

virtual int32 MCCOMAPI I3DExVertex::GetUVCount (   )  [pure virtual]
 

Returns the number of UV stored on this vertex

virtual IEdge* MCCOMAPI I3DExVertex::Link (  I3DExVertex *  v  )  [pure virtual]
 

virtual void MCCOMAPI I3DExVertex::MergeEdges (   )  [pure virtual]
 

virtual int32 MCCOMAPI I3DExVertex::RemoveUV (  const int32  UVIndex,
const int32  UVReplacement = 0
)  [pure virtual]
 

Removes an UV from the list. The last element of the list will be copy in place of the removed UV => order in the UV list is modified. The references to the removed index in the polygons arround are set to the UVReplacement index.

Parameters:
UVIndex the UV to be removed
UVReplacement the new index for the surrounding polygons.
Returns:
-1 if could perform the removal ( index out of range, or UVIndex == UVReplacement), else return the new UVReplacement index

virtual void MCCOMAPI I3DExVertex::SetBooleanClassification (  const long  classification  )  [pure virtual]
 

virtual void MCCOMAPI I3DExVertex::SetCustomUVMode (  int32  mode  )  [pure virtual]
 

Sets the mode for the default uvs (custom or calculated)

Parameters:
mode the new uv mode

virtual void MCCOMAPI I3DExVertex::SetHidden (  boolean  hidden  )  [pure virtual]
 

virtual void MCCOMAPI I3DExVertex::SetIndex (  long  index  )  [pure virtual]
 

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

virtual void MCCOMAPI I3DExVertex::SetNonDisplayedSpecial (  boolean  special  )  [pure virtual]
 

Sets the value of the flag 'special non-displayed' of the vertex. The non- displayed special vertex is a vertex that can be found at the primitive level and that's not visible on the screen ( as opposed to the special vertex who appears yellow on the mesh )

virtual void MCCOMAPI I3DExVertex::SetPosition (  TVector3 &  position  )  [pure virtual]
 

Sets the position of the vertex.

virtual void MCCOMAPI I3DExVertex::SetSelection (  boolean  selected,
boolean  autoSelection = true
)  [pure virtual]
 

Select or unselect the vertex. Depending on the mode used, edges around can be selected

Parameters:
selected True to select, false to deselect
autoSelection True to complete the selection

virtual void MCCOMAPI I3DExVertex::SetSkiningData (  const TMCArray< TWeightedJoint > &  inWeightsList,
const TJointIndex &  inPrimaryJointIndex
)  [pure virtual]
 

Sets the skining info on a vertex. The vertex primitive is supposed to be attached to a skeleton and the indexes of the TWeightedJoint(s) should match the order of the joints in I3dExSkinable::GetJoints().

Parameters:
inWeightsList The list of the joints influencing this vertex and their weight.
inPrimaryJointIndex The index of the "most important" joint for this vertex

virtual void MCCOMAPI I3DExVertex::SetSpecial (  boolean  special  )  [pure virtual]
 

Sets the value of the flag 'special' of the vertex

Parameters:
special Value to be set.

virtual void MCCOMAPI I3DExVertex::SetUsed (  boolean  used  )  [pure virtual]
 

Set On or Off a flag in the vertex. The flag status can then be checked with GetUsed

virtual void MCCOMAPI I3DExVertex::SetUV (  int32  index,
const TVector2 &  uv
)  [pure virtual]
 

Sets the value of the uv (texture coordinates) of the vertex

Parameters:
index index of the uv coordinates to set (a vertex can have several)

virtual boolean MCCOMAPI I3DExVertex::Weld (  I3DExVertex *  v  )  [pure virtual]
 


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