3.5.0-rc1
Loading...
Searching...
No Matches
tigl::CTiglPolyObject Class Reference

#include <CTiglPolyData.h>

Public Member Functions

TIGL_EXPORT unsigned long addPointNormal (const class CTiglPoint &p, const class CTiglPoint &n)
TIGL_EXPORT void addPolygon (const class CTiglPolygon &)
TIGL_EXPORT unsigned long addTriangleByVertexIndex (unsigned long i1, unsigned long i2, unsigned long i3)
TIGL_EXPORT CTiglPolyObject ()
TIGL_EXPORT void enableNormals (bool)
TIGL_EXPORT const char * getMetadataElements () const
TIGL_EXPORT unsigned long getNPointsOfPolygon (unsigned long iPoly) const
TIGL_EXPORT unsigned long getNPolygons () const
TIGL_EXPORT unsigned int getNumberOfPolyRealData () const
TIGL_EXPORT unsigned long getNVertices () const
TIGL_EXPORT const char * getPolyDataFieldName (unsigned long iField) const
TIGL_EXPORT double getPolyDataReal (unsigned long iPoly, const char *dataName) const
TIGL_EXPORT const char * getPolyMetadata (unsigned long iPoly) const
TIGL_EXPORT double getVertexDataReal (unsigned long iVertexIndex, const char *dataName) const
TIGL_EXPORT unsigned long getVertexIndexOfPolygon (unsigned long iPoint, unsigned long iPoly) const
TIGL_EXPORT const CTiglPointgetVertexNormal (unsigned long iVertexIndex) const
TIGL_EXPORT const CTiglPointgetVertexPoint (unsigned long iVertexIndex) const
TIGL_EXPORT bool hasMetadata () const
TIGL_EXPORT bool hasNormals () const
TIGL_EXPORT void setMetadataElements (const char *)
TIGL_EXPORT void setPolyDataReal (unsigned long iPoly, const char *dataName, double value)
TIGL_EXPORT void setPolyMetadata (unsigned long iPoly, const char *)
TIGL_EXPORT void setVertexDataReal (unsigned long iVertexIndex, const char *dataName, double value)
TIGL_EXPORT ~CTiglPolyObject ()

Private Member Functions

CTiglPolyObjectoperator= (const CTiglPolyObject &)

Private Attributes

ObjectImpl * impl

Constructor & Destructor Documentation

◆ CTiglPolyObject()

TIGL_EXPORT tigl::CTiglPolyObject::CTiglPolyObject ( )

◆ ~CTiglPolyObject()

TIGL_EXPORT tigl::CTiglPolyObject::~CTiglPolyObject ( )

Member Function Documentation

◆ addPointNormal()

TIGL_EXPORT unsigned long tigl::CTiglPolyObject::addPointNormal ( const class CTiglPoint & p,
const class CTiglPoint & n )

◆ addPolygon()

TIGL_EXPORT void tigl::CTiglPolyObject::addPolygon ( const class CTiglPolygon & )

◆ addTriangleByVertexIndex()

TIGL_EXPORT unsigned long tigl::CTiglPolyObject::addTriangleByVertexIndex ( unsigned long i1,
unsigned long i2,
unsigned long i3 )

◆ enableNormals()

TIGL_EXPORT void tigl::CTiglPolyObject::enableNormals ( bool )

◆ getMetadataElements()

TIGL_EXPORT const char * tigl::CTiglPolyObject::getMetadataElements ( ) const

◆ getNPointsOfPolygon()

TIGL_EXPORT unsigned long tigl::CTiglPolyObject::getNPointsOfPolygon ( unsigned long iPoly) const

◆ getNPolygons()

TIGL_EXPORT unsigned long tigl::CTiglPolyObject::getNPolygons ( ) const

◆ getNumberOfPolyRealData()

TIGL_EXPORT unsigned int tigl::CTiglPolyObject::getNumberOfPolyRealData ( ) const

◆ getNVertices()

TIGL_EXPORT unsigned long tigl::CTiglPolyObject::getNVertices ( ) const

◆ getPolyDataFieldName()

TIGL_EXPORT const char * tigl::CTiglPolyObject::getPolyDataFieldName ( unsigned long iField) const

◆ getPolyDataReal()

TIGL_EXPORT double tigl::CTiglPolyObject::getPolyDataReal ( unsigned long iPoly,
const char * dataName ) const

◆ getPolyMetadata()

TIGL_EXPORT const char * tigl::CTiglPolyObject::getPolyMetadata ( unsigned long iPoly) const

◆ getVertexDataReal()

TIGL_EXPORT double tigl::CTiglPolyObject::getVertexDataReal ( unsigned long iVertexIndex,
const char * dataName ) const

◆ getVertexIndexOfPolygon()

TIGL_EXPORT unsigned long tigl::CTiglPolyObject::getVertexIndexOfPolygon ( unsigned long iPoint,
unsigned long iPoly ) const

◆ getVertexNormal()

TIGL_EXPORT const CTiglPoint & tigl::CTiglPolyObject::getVertexNormal ( unsigned long iVertexIndex) const

◆ getVertexPoint()

TIGL_EXPORT const CTiglPoint & tigl::CTiglPolyObject::getVertexPoint ( unsigned long iVertexIndex) const

◆ hasMetadata()

TIGL_EXPORT bool tigl::CTiglPolyObject::hasMetadata ( ) const

◆ hasNormals()

TIGL_EXPORT bool tigl::CTiglPolyObject::hasNormals ( ) const

◆ operator=()

CTiglPolyObject & tigl::CTiglPolyObject::operator= ( const CTiglPolyObject & )
private

◆ setMetadataElements()

TIGL_EXPORT void tigl::CTiglPolyObject::setMetadataElements ( const char * )

◆ setPolyDataReal()

TIGL_EXPORT void tigl::CTiglPolyObject::setPolyDataReal ( unsigned long iPoly,
const char * dataName,
double value )

◆ setPolyMetadata()

TIGL_EXPORT void tigl::CTiglPolyObject::setPolyMetadata ( unsigned long iPoly,
const char *  )

◆ setVertexDataReal()

TIGL_EXPORT void tigl::CTiglPolyObject::setVertexDataReal ( unsigned long iVertexIndex,
const char * dataName,
double value )

Field Documentation

◆ impl

ObjectImpl* tigl::CTiglPolyObject::impl
private

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