#include <SIM_TriangulatedGeometry.h>

Public Member Functions | |
| void | init () const |
| initializes alternate geometry for lite functions | |
| UT_Vector4 | getPointPos (int ptId) const |
| Gets the position of a point in SIM_Geometry space, given point ID. | |
| UT_Vector4 | getPointPos (int primId, int vtNum) const |
| int | getPointCount () const |
| Returns the total number of points. | |
| int | getPointId (int primId, int vtNum) const |
| int | getPrimitiveCount () const |
| Gets the number of primitives. | |
| int | getVertexCount (int primNum=0) const |
| Gets the number of vertices of a given primitive. | |
| float | getPointDensity (int ptId) const |
| float | getPointDensity (int primId, int vtNum) const |
| Gets the point density, given primitive ID and vertex number. | |
| UT_Vector3 | getBaryCenter (int primNum) const |
Protected Member Functions | |
| SIM_TriangulatedGeometry (const SIM_DataFactory *factory) | |
| virtual | ~SIM_TriangulatedGeometry () |
| virtual bool | getIsAlternateRepresentationSubclass () const |
| virtual int64 | getMemorySizeSubclass () const |
| virtual void | initAlternateRepresentationSubclass (const SIM_Data &) |
Definition at line 30 of file SIM_TriangulatedGeometry.h.
| SIM_TriangulatedGeometry::SIM_TriangulatedGeometry | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| virtual SIM_TriangulatedGeometry::~SIM_TriangulatedGeometry | ( | ) | [protected, virtual] |
| UT_Vector3 SIM_TriangulatedGeometry::getBaryCenter | ( | int | primNum | ) | const |
Returns the barycenter of the triangle. It is estimated from point density (if any)
| virtual bool SIM_TriangulatedGeometry::getIsAlternateRepresentationSubclass | ( | ) | const [protected, virtual] |
| virtual int64 SIM_TriangulatedGeometry::getMemorySizeSubclass | ( | ) | const [protected, virtual] |
Override this function to return an accurate representation of the amount of memory used by this piece of data. The size of subdata should not be included in this calculation.
Reimplemented from SIM_Data.
| int SIM_TriangulatedGeometry::getPointCount | ( | ) | const |
Returns the total number of points.
| float SIM_TriangulatedGeometry::getPointDensity | ( | int | primId, | |
| int | vtNum | |||
| ) | const |
Gets the point density, given primitive ID and vertex number.
| float SIM_TriangulatedGeometry::getPointDensity | ( | int | ptId | ) | const |
Returns the baryCenter of a given primitive Gets the point density, given point ID
| int SIM_TriangulatedGeometry::getPointId | ( | int | primId, | |
| int | vtNum | |||
| ) | const |
Gets the corresponding point id given a vertex number and a primitive id
| UT_Vector4 SIM_TriangulatedGeometry::getPointPos | ( | int | primId, | |
| int | vtNum | |||
| ) | const |
Gets the position of a point in SIM_Geometry space, given primitive ID and vertex number
| UT_Vector4 SIM_TriangulatedGeometry::getPointPos | ( | int | ptId | ) | const |
Gets the position of a point in SIM_Geometry space, given point ID.
| int SIM_TriangulatedGeometry::getPrimitiveCount | ( | ) | const |
Gets the number of primitives.
| int SIM_TriangulatedGeometry::getVertexCount | ( | int | primNum = 0 |
) | const |
Gets the number of vertices of a given primitive.
| void SIM_TriangulatedGeometry::init | ( | ) | const |
initializes alternate geometry for lite functions
| virtual void SIM_TriangulatedGeometry::initAlternateRepresentationSubclass | ( | const SIM_Data & | ) | [protected, virtual] |
Override this function if getIsAlternateRepresentationSubclass() is overridden to return true. This function is used to initialize the alternate representation based on the data to which it was just attached.
Reimplemented from SIM_Data.
1.5.9