20#ifndef _SOURCE_IO_TFTHREEDMESHDATA_H_
21#define _SOURCE_IO_TFTHREEDMESHDATA_H_
23#include <TissueForge_private.h>
27#include "tfThreeDFRenderData.h"
52 std::vector<ThreeDFFaceData*>
faces;
Tissue Forge I/O.
Definition tfThreeDFAngleMeshGenerator.h:28
3D data file edge data
Definition tfThreeDFEdgeData.h:41
3D data file face data
Definition tfThreeDFFaceData.h:41
3D data file mesh data
Definition tfThreeDFMeshData.h:43
std::vector< ThreeDFVertexData * > getVertices()
Get all constituent vertices.
unsigned int getNumEdges()
Get the number of constituent edges.
unsigned int getNumFaces()
Get the number of constituent faces.
ThreeDFStructure * structure
Definition tfThreeDFMeshData.h:46
HRESULT scale(const FVector3 &scales)
Scale the mesh about its centroid.
HRESULT translate(const FVector3 &displacement)
Translate the mesh by a displacement.
HRESULT translateTo(const FVector3 &position)
Translate the mesh to a position.
std::vector< ThreeDFFaceData * > getFaces()
Get all constituent faces.
bool has(ThreeDFFaceData *f)
Test whether a face is a constituent.
std::vector< ThreeDFEdgeData * > getEdges()
Get all constituent edges.
ThreeDFRenderData * renderData
Definition tfThreeDFMeshData.h:58
HRESULT rotateAt(const FMatrix3 &rotMat, const FVector3 &rotPt)
Rotate the mesh about a point.
bool has(ThreeDFEdgeData *e)
Test whether an edge is a constituent.
HRESULT rotate(const FMatrix3 &rotMat)
Rotate the mesh about its centroid.
std::vector< ThreeDFFaceData * > faces
Definition tfThreeDFMeshData.h:52
HRESULT scaleFrom(const FloatP_t &scale, const FVector3 &scalePt)
Scale the mesh uniformly about a point.
HRESULT scale(const FloatP_t &scale)
Scale the mesh uniformly about its centroid.
std::string name
Definition tfThreeDFMeshData.h:55
FVector3 getCentroid()
Get the centroid of the mesh.
bool has(ThreeDFVertexData *v)
Test whether a vertex is a constituent.
HRESULT scaleFrom(const FVector3 &scales, const FVector3 &scalePt)
Scale the mesh about a point.
unsigned int getNumVertices()
Get the number of constituent vertices.
bool in(ThreeDFStructure *s)
Test whether in a structure.
Definition tfThreeDFRenderData.h:30
Container for relevant data found in a 3D data file.
Definition tfThreeDFStructure.h:61
3D data file vertex data
Definition tfThreeDFVertexData.h:41
int32_t HRESULT
Definition tf_port.h:255