96fb33322b
git-svn-id: https://triangle.svn.codeplex.com/svn@75153 0e2699bc-83d4-4a8f-98e7-55e24ab8c7a5
33 lines
761 B
C#
33 lines
761 B
C#
|
|
namespace TriangleNet.Rendering
|
|
{
|
|
using System.Collections.Generic;
|
|
using TriangleNet.Geometry;
|
|
using TriangleNet.Meshing;
|
|
using TriangleNet.Voronoi.Legacy;
|
|
|
|
public interface IRenderContext
|
|
{
|
|
ColorManager ColorManager { get; }
|
|
|
|
BoundingBox Bounds { get; }
|
|
|
|
IList<IRenderLayer> RenderLayers { get; }
|
|
|
|
Projection Zoom { get; }
|
|
|
|
IMesh Mesh { get; }
|
|
|
|
bool HasData { get; }
|
|
|
|
void Add(IPolygon data);
|
|
void Add(IMesh data, bool reset);
|
|
void Add(ICollection<Point> points, IEnumerable<IEdge> edges, bool reset);
|
|
|
|
void Add(float[] values);
|
|
void Add(int[] partition);
|
|
|
|
void Enable(int layer, bool enabled);
|
|
}
|
|
}
|