Go to the documentation of this file.
227 class vtkGraphEdgePoints;
244 class vtk_edge_iterator;
245 class vtk_out_edge_pointer_iterator;
246 class vtk_in_edge_pointer_iterator;
509 {
double p[3] = {
x,
y,
z}; this->SetEdgePoint(e, i,
p); }
517 {
double p[3] = {
x,
y,
z}; this->AddEdgePoint(e,
p); }
681 static double DefaultPoint[3];
represent and manipulate 3D points
vtkInEdgeType(vtkIdType s, vtkIdType id)
void AddEdgePoint(vtkIdType e, double x, double y, double z)
virtual void GetOutEdge(vtkIdType v, vtkIdType index, vtkGraphEdge *e)
VTKCOMMONDATAMODEL_EXPORT ostream & operator<<(ostream &out, vtkEdgeBase e)
virtual void GetInEdges(vtkIdType v, const vtkInEdgeType *&edges, vtkIdType &nedges)
#define vtkGetObjectMacro(name, type)
virtual void DeepCopy(vtkDataObject *obj)
GLboolean GLboolean GLboolean b
helper for the vtkGraph class that allows the graph to be distributed across multiple memory spaces.
vtkDistributedGraphHelper * GetDistributedGraphHelper()
Internal representation of vtkGraph.
void GetEdgePoints(vtkIdType e, vtkIdType &npts, double *&pts)
double * GetEdgePoint(vtkIdType e, vtkIdType i)
GLsizei GLsizei GLuint * obj
vtkIdType GetNumberOfEdgePoints(vtkIdType e)
vtkGraphInternals * Internals
represent and manipulate attribute data in a dataset
virtual vtkIdType GetNumberOfVertices()
void SetDistributedGraphHelper(vtkDistributedGraphHelper *helper)
record modification and/or execution time
void RemoveVertexInternal(vtkIdType v, bool directed)
static vtkGraph * GetData(vtkInformation *info)
virtual void SetPoints(vtkPoints *points)
void AddEdgeInternal(vtkIdType u, const vtkVariant &vPedigree, bool directed, vtkVariantArray *propertyArr, vtkEdgeType *edge)
void AddEdgeInternal(const vtkVariant &uPedigree, const vtkVariant &vPedigree, bool directed, vtkVariantArray *propertyArr, vtkEdgeType *edge)
void AddVertexInternal(const vtkVariant &pedigree, vtkIdType *vertex)
vtkEdgeBase(vtkIdType id)
#define vtkTypeMacro(thisClass, superclass)
vtkGraphInternals * GetGraphInternals(bool modifying)
GLint GLint GLint GLint GLint x
Forward declaration required for Boost serialization.
virtual vtkIdType GetNumberOfEdges()
void GetBounds(double bounds[6])
Iterates through all incoming edges to a vertex.
virtual vtkIdType GetNumberOfElements(int type)
virtual vtkOutEdgeType GetOutEdge(vtkIdType v, vtkIdType index)
An array holding vtkVariants.
double * GetPoint(vtkIdType ptId)
GLsizei const GLfloat * points
virtual void CopyInternal(vtkGraph *g, bool deep)
represent and manipulate fields of data
void GetInducedEdges(vtkIdTypeArray *verts, vtkIdTypeArray *edges)
void SetEdgePoints(vtkGraphEdgePoints *edgePoints)
vtkDataSetAttributes * VertexData
void AddEdgeInternal(vtkIdType u, vtkIdType v, bool directed, vtkVariantArray *propertyArr, vtkEdgeType *edge)
vtksys_stl::pair< boost::graph_traits< vtkGraph * >::edge_iterator, boost::graph_traits< vtkGraph * >::edge_iterator > edges(vtkGraph *g)
virtual bool IsStructureValid(vtkGraph *g)=0
bool VTKCOMMONDATAMODEL_EXPORT operator!=(vtkEdgeBase e1, vtkEdgeBase e2)
bool VTKCOMMONDATAMODEL_EXPORT operator==(vtkEdgeBase e1, vtkEdgeBase e2)
vtkIdTypeArray * EdgeList
virtual bool CheckedDeepCopy(vtkGraph *g)
virtual void GetInEdge(vtkIdType v, vtkIdType index, vtkGraphEdge *e)
void PrintSelf(ostream &os, vtkIndent indent)
void RemoveVerticesInternal(vtkIdTypeArray *arr, bool directed)
void DeepCopyEdgePoints(vtkGraph *g)
virtual vtkIdType GetOutDegree(vtkIdType v)
void ClearEdgePoints(vtkIdType e)
virtual bool CheckedShallowCopy(vtkGraph *g)
void RemoveEdgeInternal(vtkIdType e, bool directed)
virtual vtkIdType GetInDegree(vtkIdType v)
virtual int GetDataObjectType()
vtkOutEdgeType(vtkIdType t, vtkIdType id)
Representation of a single graph edge.
virtual vtkIdType GetDegree(vtkIdType v)
bool ToUndirectedGraph(vtkUndirectedGraph *g)
vtkIdType GetEdgeId(vtkIdType a, vtkIdType b)
a simple class to control print indentation
object to represent cell connectivity
virtual void SetEdgeList(vtkIdTypeArray *list)
A atomic type representing the union of many types.
Iterates through all edges in a graph.
void AddVertexInternal(vtkVariantArray *propertyArr=0, vtkIdType *vertex=0)
Iterates through all outgoing edges from a vertex.
vtkIdType GetTargetVertex(vtkIdType e)
GLboolean GLboolean GLboolean GLboolean a
void GetPoint(vtkIdType ptId, double x[3])
virtual void GetAdjacentVertices(vtkIdType v, vtkAdjacentVertexIterator *it)
void SetEdgePoints(vtkIdType e, vtkIdType npts, double *pts)
vtkGraphEdgePoints * EdgePoints
Iterates through adjacent vertices in a graph.
vtkEdgeType(vtkIdType s, vtkIdType t, vtkIdType id)
virtual void GetVertices(vtkVertexListIterator *it)
unsigned long int GetMTime()
vtkDataSetAttributes * EdgeData
virtual void GetOutEdges(vtkIdType v, vtkOutEdgeIterator *it)
bool ToDirectedGraph(vtkDirectedGraph *g)
vtksys_stl::pair< boost::graph_traits< vtkGraph * >::vertex_iterator, boost::graph_traits< vtkGraph * >::vertex_iterator > vertices(vtkGraph *g)
virtual void GetEdges(vtkEdgeListIterator *it)
dynamic, self-adjusting array of vtkIdType
GLint GLint GLint GLint GLint GLint y
virtual void GetInEdges(vtkIdType v, vtkInEdgeIterator *it)
void ShallowCopyEdgePoints(vtkGraph *g)
virtual void ShallowCopy(vtkDataObject *obj)
bool IsSameStructure(vtkGraph *other)
virtual void Initialize()
void ReorderOutVertices(vtkIdType v, vtkIdTypeArray *vertices)
void SetEdgePoint(vtkIdType e, vtkIdType i, double x, double y, double z)
void AddEdgePoint(vtkIdType e, double x[3])
void SetInternals(vtkGraphInternals *internals)
vtkDistributedGraphHelper * DistributedHelper
vtkIdType FindVertex(const vtkVariant &pedigreeID)
Iterates all vertices in a graph.
#define VTKCOMMONDATAMODEL_EXPORT
Base class for graph data types.
virtual vtkFieldData * GetAttributesAsFieldData(int type)
virtual void GetOutEdges(vtkIdType v, const vtkOutEdgeType *&edges, vtkIdType &nedges)
general representation of visualization data
virtual void CopyStructure(vtkGraph *g)
virtual vtkInEdgeType GetInEdge(vtkIdType v, vtkIdType index)
GLuint GLuint GLsizei GLenum type
void RemoveEdgesInternal(vtkIdTypeArray *arr, bool directed)
vtkIdType GetSourceVertex(vtkIdType e)
void AddEdgeInternal(const vtkVariant &uPedigree, vtkIdType v, bool directed, vtkVariantArray *propertyArr, vtkEdgeType *edge)
void SetEdgePoint(vtkIdType e, vtkIdType i, double x[3])
static vtkGraph * GetData(vtkInformationVector *v, int i=0)