GEO_Point Class Reference

#include <GEO_Point.h>

List of all members.

Public Types

typedef GA_Detail DetailType

Public Member Functions

void setPos (const UT_Vector4 &P)
void setPos (const UT_Vector3 &P, float w=1)
void setPos (float x, float y, float z)
void setPos (float x, float y, float z, float w)
 GEO_Point (const GA_IndexMap &index_map, GA_Offset offset)
 ~GEO_Point ()
const UT_Vector4 getPos () const
float getPw () const
void setPw (float w)
const UT_Vector3 getPos3 () const
void setPos3 (const UT_Vector3 &P)


Detailed Description

Examples:

GR/GR_SimpleNoise.C, POP/POP_CircleForce.C, POP/POP_CircleForce.h, POP/POP_LocalForce.C, POP/POP_LocalForce.h, POP/POP_RadialBirth.C, POP/POP_RadialBirth.h, POP/POP_SpotLight.C, POP/POP_SpotLight.h, SIM/SIM_ForceOrbit.C, SIM/SIM_SolverHair.C, SIM/SNOW_Solver.C, SIM/SNOW_Solver.h, SOP/SOP_BrushHairLen.C, SOP/SOP_BrushHairLen.h, SOP/SOP_CopRaster.C, SOP/SOP_CustomBrush.C, SOP/SOP_Flatten.C, SOP/SOP_IKSample.C, SOP/SOP_PointWave.C, SOP/SOP_SParticle.C, SOP/SOP_SParticle.h, SOP/SOP_Star.C, SOP/SOP_TimeCompare.C, tetprim/GEO_PrimTetra.C, tetprim/GEO_PrimTetra.h, tetprim/SOP_Tetra.C, and VRAY/VRAY_DemoSprite.C.

Definition at line 31 of file GEO_Point.h.


Member Typedef Documentation

Definition at line 71 of file GEO_Point.h.


Constructor & Destructor Documentation

GEO_Point::GEO_Point ( const GA_IndexMap index_map,
GA_Offset  offset 
) [inline]

Class constructors and destructors. The one that takes an attribute data "steals" the data from adata and sets adata's data pointer to 0.

Definition at line 37 of file GEO_Point.h.

GEO_Point::~GEO_Point (  )  [inline]

Class constructors and destructors. The one that takes an attribute data "steals" the data from adata and sets adata's data pointer to 0.

Definition at line 39 of file GEO_Point.h.


Member Function Documentation

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

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

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

Definition at line 65 of file GEO_Point.h.

float GEO_Point::getPw (  )  const [inline]

Get and set the homogeneous coordinate

Definition at line 50 of file GEO_Point.h.

void GEO_Point::setPos ( float  x,
float  y,
float  z,
float  w 
) [inline]

Definition at line 59 of file GEO_Point.h.

void GEO_Point::setPos ( float  x,
float  y,
float  z 
) [inline]

Definition at line 57 of file GEO_Point.h.

void GEO_Point::setPos ( const UT_Vector3 P,
float  w = 1 
) [inline]

Definition at line 55 of file GEO_Point.h.

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

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

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

Definition at line 67 of file GEO_Point.h.

void GEO_Point::setPw ( float  w  )  [inline]

Get and set the homogeneous coordinate

Definition at line 51 of file GEO_Point.h.


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

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