OpenCMISS-Zinc C++ API Documentation
Public Member Functions | Friends | List of all members
OpenCMISS::Zinc::GraphicsPoints Class Reference

Points graphics visualise discrete locations in the model. More...

#include <graphics.hpp>

Inheritance diagram for OpenCMISS::Zinc::GraphicsPoints:
OpenCMISS::Zinc::Graphics

Public Member Functions

 GraphicsPoints (cmzn_graphics_points_id points_id)
 
- Public Member Functions inherited from OpenCMISS::Zinc::Graphics
 Graphics (cmzn_graphics_id graphics_id)
 
 Graphics (const Graphics &graphics)
 
Graphicsoperator= (const Graphics &graphics)
 
bool isValid () const
 
cmzn_graphics_id getId () const
 
Field getCoordinateField ()
 
int setCoordinateField (const Field &coordinateField)
 
Field getDataField ()
 
int setDataField (const Field &dataField)
 
double getRenderLineWidth ()
 
int setRenderLineWidth (double width)
 
double getRenderPointSize ()
 
int setRenderPointSize (double size)
 
enum RenderPolygonMode getRenderPolygonMode ()
 
int setRenderPolygonMode (RenderPolygonMode renderPolygonMode)
 
Scene getScene ()
 
enum SelectMode getSelectMode ()
 
int setSelectMode (SelectMode selectMode)
 
Field getSubgroupField ()
 
int setSubgroupField (const Field &subgroupField)
 
Field getTextureCoordinateField ()
 
int setTextureCoordinateField (const Field &textureCoordinateField)
 
Material getMaterial ()
 
int setMaterial (const Material &material)
 
Graphicslineattributes getGraphicslineattributes ()
 
Graphicspointattributes getGraphicspointattributes ()
 
Graphicssamplingattributes getGraphicssamplingattributes ()
 
Material getSelectedMaterial ()
 
int setSelectedMaterial (const Material &material)
 
Spectrum getSpectrum ()
 
int setSpectrum (const Spectrum &spectrum)
 
enum Type getType ()
 
Tessellation getTessellation ()
 
int setTessellation (const Tessellation &tessellation)
 
Field getTessellationField ()
 
int setTessellationField (const Field &tessellationField)
 
bool getVisibilityFlag ()
 
int setVisibilityFlag (bool visibilityFlag)
 
enum Scenecoordinatesystem getScenecoordinatesystem ()
 
int setScenecoordinatesystem (Scenecoordinatesystem coordinateSystem)
 
Field::DomainType getFieldDomainType ()
 
int setFieldDomainType (Field::DomainType domainType)
 
char * getName ()
 
int setName (const char *name)
 
int setElementFaceType (Element::FaceType faceType)
 
Element::FaceType getElementFaceType ()
 
bool isExterior ()
 
int setExterior (bool exterior)
 
GraphicsContours castContours ()
 
GraphicsLines castLines ()
 
GraphicsPoints castPoints ()
 
GraphicsStreamlines castStreamlines ()
 
GraphicsSurfaces castSurfaces ()
 

Friends

class Scene
 

Additional Inherited Members

- Public Types inherited from OpenCMISS::Zinc::Graphics
enum  RenderPolygonMode { RENDER_POLYGON_MODE_INVALID = CMZN_GRAPHICS_RENDER_POLYGON_MODE_INVALID, RENDER_POLYGON_MODE_SHADED = CMZN_GRAPHICS_RENDER_POLYGON_MODE_SHADED, RENDER_POLYGON_MODE_WIREFRAME = CMZN_GRAPHICS_RENDER_POLYGON_MODE_WIREFRAME }
 
enum  SelectMode {
  SELECT_MODE_INVALID = CMZN_GRAPHICS_SELECT_MODE_INVALID, SELECT_MODE_ON = CMZN_GRAPHICS_SELECT_MODE_ON, SELECT_MODE_OFF = CMZN_GRAPHICS_SELECT_MODE_OFF, SELECT_MODE_DRAW_SELECTED = CMZN_GRAPHICS_SELECT_MODE_DRAW_SELECTED,
  SELECT_MODE_DRAW_UNSELECTED = CMZN_GRAPHICS_SELECT_MODE_DRAW_UNSELECTED
}
 
enum  Type {
  TYPE_INVALID = CMZN_GRAPHICS_TYPE_INVALID, TYPE_POINTS = CMZN_GRAPHICS_TYPE_POINTS, TYPE_LINES = CMZN_GRAPHICS_TYPE_LINES, TYPE_SURFACES = CMZN_GRAPHICS_TYPE_SURFACES,
  TYPE_CONTOURS = CMZN_GRAPHICS_TYPE_CONTOURS, TYPE_STREAMLINES = CMZN_GRAPHICS_TYPE_STREAMLINES
}
 
- Protected Attributes inherited from OpenCMISS::Zinc::Graphics
cmzn_graphics_id id
 

Detailed Description

Points graphics visualise discrete locations in the model.

Points graphics visualise discrete locations in the model with oriented and scaled glyphs and text labels as specified by the graphics point attributes. Points can be generated on any field DomainType. For mesh domains, points are sampled in elements according to the graphics sampling attributes and tessellation. The single point domain is used to draw a single glyph such as axes or colour bar (and is the only case not requiring a coordinate field as it defaults to the origin).

See also
Graphicspointattributes
Graphicssamplingattributes

The documentation for this class was generated from the following file: