GEO_Vertex Class Reference

#include <GEO_Vertex.h>

List of all members.

Public Member Functions

 GEO_Vertex (const GA_IndexMap &index, GA_Offset offset)
 GEO_Vertex ()
 GEO_Vertex (const GEO_Vertex &v)
GEO_Vertexoperator= (const GEO_Vertex &src)
bool operator== (const GEO_Vertex &src) const
void setPos (const UT_Vector4 &P)
void setPos (const UT_Vector3 &P, fpreal64 w=1)
void setPos (fpreal64 x, fpreal64 y, fpreal64 z)
void setPos (fpreal64 x, fpreal64 y, fpreal64 z, fpreal64 w)
GEO_PointgetPt () const
const GEO_PrimitivegetPrimitive () const
GEO_PrimitivegetPrimitive ()
const UT_Vector4 getPos () const
fpreal64 getPw () const
void setPw (fpreal64 w)
const UT_Vector3 getPos3 () const
void setPos3 (const UT_Vector3 &P)


Detailed Description

Examples:

SOP/SOP_BrushHairLen.C, SOP/SOP_BrushHairLen.h, SOP/SOP_NURBS.C, and tetprim/GEO_PrimTetra.h.

Definition at line 34 of file GEO_Vertex.h.


Constructor & Destructor Documentation

GEO_Vertex::GEO_Vertex ( const GA_IndexMap index,
GA_Offset  offset 
) [inline]

Definition at line 37 of file GEO_Vertex.h.

GEO_Vertex::GEO_Vertex (  )  [inline]

Definition at line 39 of file GEO_Vertex.h.

GEO_Vertex::GEO_Vertex ( const GEO_Vertex v  )  [inline]

Definition at line 42 of file GEO_Vertex.h.


Member Function Documentation

const UT_Vector4 GEO_Vertex::getPos (  )  const [inline]

Get de-homogenized position (that is, without the homogeneous coordinate multiplied through).

Examples:
GEO/GEO_VoxelTranslator.C, and standalone/geo2voxel.C.

Definition at line 71 of file GEO_Vertex.h.

const UT_Vector3 GEO_Vertex::getPos3 (  )  const [inline]

New GA methods which support getting/setting positons without affecting the w (homogeneous) coordinate.

Definition at line 91 of file GEO_Vertex.h.

GEO_Primitive* GEO_Vertex::getPrimitive (  ) 

Return the primitive that owns this vertex (references the vertex). This may return a NULL pointer if the topology attributes aren't built

const GEO_Primitive* GEO_Vertex::getPrimitive (  )  const

Return the primitive that owns this vertex (references the vertex). This may return a NULL pointer if the topology attributes aren't built

GEO_Point* GEO_Vertex::getPt (  )  const [inline]

Return the GEO_Point referenced by the vertex

Examples:
GR/GR_SimpleNoise.C, ROP/ROP_DopField.C, SIM/SIM_SolverHair.C, SOP/SOP_NURBS.C, SOP/SOP_Star.C, and VRAY/VRAY_DemoSprite.C.

Definition at line 57 of file GEO_Vertex.h.

fpreal64 GEO_Vertex::getPw (  )  const [inline]

Get and set the homogeneous coordinate

Definition at line 76 of file GEO_Vertex.h.

GEO_Vertex& GEO_Vertex::operator= ( const GEO_Vertex src  )  [inline]

Definition at line 45 of file GEO_Vertex.h.

bool GEO_Vertex::operator== ( const GEO_Vertex src  )  const [inline]

Definition at line 50 of file GEO_Vertex.h.

void GEO_Vertex::setPos ( fpreal64  x,
fpreal64  y,
fpreal64  z,
fpreal64  w 
) [inline]

Definition at line 85 of file GEO_Vertex.h.

void GEO_Vertex::setPos ( fpreal64  x,
fpreal64  y,
fpreal64  z 
) [inline]

Definition at line 83 of file GEO_Vertex.h.

void GEO_Vertex::setPos ( const UT_Vector3 P,
fpreal64  w = 1 
) [inline]

Definition at line 81 of file GEO_Vertex.h.

void GEO_Vertex::setPos ( const UT_Vector4 P  )  [inline]

Examples:
VRAY/VRAY_DemoMountain.C.

Definition at line 80 of file GEO_Vertex.h.

void GEO_Vertex::setPos3 ( const UT_Vector3 P  )  [inline]

New GA methods which support getting/setting positons without affecting the w (homogeneous) coordinate.

Definition at line 93 of file GEO_Vertex.h.

void GEO_Vertex::setPw ( fpreal64  w  )  [inline]

Get and set the homogeneous coordinate

Definition at line 77 of file GEO_Vertex.h.


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

Generated on Thu Jan 31 00:31:11 2013 for HDK by  doxygen 1.5.9