Repetier-Host Plugin  0.95
RepetierHostExtender.geom.TopoModel Class Reference

List of all members.

Public Member Functions

void StartAction (string name)
void Progress (double prg)
bool IsActionStopped ()
void clear ()
TopoModel Copy ()
void Merge (TopoModel model, Matrix4 trans)
void addVertex (TopoVertex v)
TopoVertex findVertexOrNull (RHVector3 pos)
TopoVertex addVertex (RHVector3 pos)
void UpdateVertexNumbers ()
TopoEdge getOrCreateEdgeBetween (TopoVertex v1, TopoVertex v2)
void UpdateIntersectingTriangles ()
TopoTriangle addTriangle (double p1x, double p1y, double p1z, double p2x, double p2y, double p2z, double p3x, double p3y, double p3z, double nx, double ny, double nz)
TopoTriangle addTriangle (RHVector3 p1, RHVector3 p2, RHVector3 p3, RHVector3 normal)
TopoTriangle AddTriangle (TopoTriangle triangle)
void removeTriangle (TopoTriangle triangle)
void UpdateNormals ()
bool CheckNormals ()
double Surface ()
double Volume ()
double SignedShellVolume (int shell)
int MarkPlanarRegions ()
HashSet< TopoEdgeOpenLoopEdges ()
bool JoinTouchedOpenEdges (double limit)
bool RemoveUnusedDatastructures ()
void ResetTriangleMarker ()
bool RemoveDegeneratedFaces ()
void statistics ()
int RemoveColinearFaces ()
void RepairUnobtrusive ()
void UpdateEdgeTypes ()
void Analyse ()
void AnalyseFast ()
void RetestIntersectingTriangles ()
TopoTriangle IntersectsTriangleAnyTriangle (TopoTriangle test)
void checkEdgesOver2 ()
void updateBad ()
int CountShells ()
List< TopoModelSplitIntoSurfaces ()
void CutMesh (Submesh mesh, RHVector3 normal, RHVector3 point, int defaultFaceColor)
void FillMesh (Submesh mesh, int defaultColor)
void FillMeshTrianglesOnly (Submesh mesh, int defaultColor)
void exportObj (string filename, bool withNormals)
void exportSTL (string filename, bool binary)
bool importObj (string filename, double scale=1)
void importSTL (string filename, double scale=1)
bool import3Ds (string filename, double scale=1)

Public Attributes

const bool debugRepair = false
const double epsilon = 0.0001f
TopoVertexStorage vertices = new TopoVertexStorage()
TopoTriangleStorage triangles = new TopoTriangleStorage()
HashSet< TopoEdgeedges = new HashSet<TopoEdge>()
RHBoundingBox boundingBox = new RHBoundingBox()
HashSet< TopoTriangleintersectingTriangles = new HashSet<TopoTriangle>()
int badEdges = 0
int badTriangles = 0
int shells = 0
int updatedNormals = 0
int loopEdges = 0
int manyShardEdges = 0
bool manifold = false
bool normalsOriented = false
bool intersectionsUpToDate = false
IInfoProgressPanel ipp = null

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Properties