Class hierarchy   Compound list   Header files   Member list  

dimePolyline Class Reference

The dimePolyline class handles a POLYLINE entity. More...

#include <Polyline.h>

Inherits dimeExtrusionEntity.

List of all members.

Public Members

Protected Members


Detailed Description

The dimePolyline class handles a POLYLINE entity.


Member Function Documentation

dimePolyline::dimePolyline()

Constructor.

dimePolyline::~dimePolyline() [virtual]

Destructor.

int dimePolyline::getType() const

Convenience function that returns the type of the polyline.

void dimePolyline::setCoordVertices(dimeVertex **vertices, const int num, dimeMemHandler * const memhandler)

Sets the coordinate vertices for this polyline. Old vertices will be deleted.

void dimePolyline::setIndexVertices(dimeVertex **vertices, const int num, dimeMemHandler * const memhandler)

Sets the index vertices for this polyline. Old vertices will be deleted.

void dimePolyline::setSplineFrameControlPoints(dimeVertex **vertices, const int num, dimeMemHandler * const memhandler)

Sets the spline frame control point vertices for this polyline. Old control points will be deleted.

dimeEntity* dimePolyline::copy(dimeModel * const model) const [virtual]

Reimplemented from dimeEntity.

bool dimePolyline::getRecord(const int groupcode, dimeParam &param, const int index) const [virtual]

Reimplemented from dimeRecordHolder.

void dimePolyline::setLayer(const dimeLayer * const layer) [virtual]

Reimplemented from dimeEntity.

const char* dimePolyline::getEntityName() const [virtual]

Reimplemented from dimeEntity.

bool dimePolyline::read(dimeInput * const file) [virtual]

Reads a POLYLINE entity.

Reimplemented from dimeRecordHolder.

bool dimePolyline::write(dimeOutput * const file) [virtual]

Writes POLYLINE data to file.

Reimplemented from dimeRecordHolder.

int dimePolyline::typeId() const [virtual]

Reimplemented from dimeExtrusionEntity.

int dimePolyline::countRecords() const [virtual]

Reimplemented from dimeRecordHolder.

dimeEntity::GeometryType dimePolyline::extractGeometry(dimeArray <dimeVec3f> &verts, dimeArray <int> &indices, dimeVec3f &extrusionDir, float &thickness) [virtual]

Reimplemented from dimeEntity.

bool dimePolyline::handleRecord(const int groupcode, const dimeParam &param, dimeMemHandler * const memhandler) [protected, virtual]

Reimplemented from dimeRecordHolder.

bool dimePolyline::traverse(const dimeState * const state, dimeCallback callback, void *userdata) [protected, virtual]

Overloaded from dimeEntity. Will first do a callback for this entity, then for all vertices. Each vertex will have a pointer to its polyline "parent".

Reimplemented from dimeEntity.


The documentation for this class was generated from the following files:
Copyright © 1998-1999, Systems In Motion <sales@sim.no>. All rights reserved.
System documentation was generated using doxygen.