7 #ifndef __surface_SurfaceTriangles_h__ 8 #define __surface_SurfaceTriangles_h__ 26 class FE_DL_EXPORT Impact:
27 public SurfaceSearchable::Impact,
33 #if FE_COUNTED_STORE_TRACKER 34 setName(
"SurfaceTriangles::Impact");
37 virtual ~Impact(
void) {}
39 virtual I32 pointIndex2(
void)
const 40 {
return m_pointIndex2; }
41 void setPointIndex2(I32 a_pointIndex2)
42 { m_pointIndex2=a_pointIndex2; }
47 { m_vertex2=a_vertex2; }
52 { m_normal2=a_normal2; }
54 virtual I32 face(
void)
56 void setFace(I32 a_face)
61 using SurfaceSearchable::Impact::draw;
82 { m_triangulation=a_triangulation; }
84 using SurfaceSearchable::sampleImpact;
85 using SurfaceSearchable::sample;
87 virtual sp<ImpactI> sampleImpact(I32 a_triangleIndex,
93 virtual void drawInternal(BWORD a_transformed,
100 void setGroup(
String a_group)
107 virtual void resolveImpact(
sp<ImpactI> a_spImpactI)
const;
109 Triangulation m_triangulation;
Discrete Triangle Surface.
Definition: SurfaceTriangles.h:20
kernel
Definition: namespace.dox:3
Special vector for color (RGBA)
Definition: Color.h:21
Automatically reference-counted string container.
Definition: String.h:128
Tree-searchable Surface.
Definition: SurfaceSearchable.h:20
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
virtual void setTriangulation(Triangulation a_triangulation)
Set how 4+ vertex polygons break down.
Definition: SurfaceTriangles.h:81
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192