Changeset 2569 for GTP/trunk/Lib/Vis/Preprocessing/src/Mesh.h
- Timestamp:
- 12/17/07 18:39:12 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Mesh.h
r2176 r2569 242 242 243 243 244 class MeshInstance 244 class MeshInstance: public Intersectable { 245 245 246 246 public: … … 277 277 virtual int Type() const { return MESH_INSTANCE; } 278 278 279 virtual int 280 CastRay( 281 Ray &ray, 282 const std::vector<int> &faces 283 ); 284 285 286 virtual std::ostream &Describe(std::ostream &s) { 279 virtual int CastRay(Ray &ray, const std::vector<int> &faces); 280 281 virtual std::ostream &Describe(std::ostream &s) 282 { 287 283 s<<"MeshInstance Id="<<GetId(); 288 284 return mMesh->Describe(s); … … 290 286 291 287 /** Sets the material. this overrides the material from 292 the mesh itself.288 the mesh itself. 293 289 */ 294 290 void SetMaterial(Material *mat); 295 291 296 292 /** Returns the material of this mesh instance. 297 if not defined, returns the material of the mesh itself.293 if not defined, returns the material of the mesh itself. 298 294 */ 299 295 Material *GetMaterial() const;
Note: See TracChangeset
for help on using the changeset viewer.