25#ifndef _WRAPS_C_TFCCLIPPLANE_H_
26#define _WRAPS_C_TFCCLIPPLANE_H_
Handle to a rendering::ClipPlane instance.
Definition tfCClipPlane.h:36
HRESULT tfRenderingClipPlane_getPoint(struct tfRenderingClipPlaneHandle *handle, float **point)
Get the point of the clip plane.
HRESULT tfRenderingClipPlane_getIndex(struct tfRenderingClipPlaneHandle *handle, int *index)
Get the index of the clip plane.
HRESULT tfRenderingClipPlane_setEquationPN(struct tfRenderingClipPlaneHandle *handle, float *point, float *normal)
Set the coefficients of the plane equation of the clip plane using a point on the plane and its norma...
HRESULT tfRenderingClipPlanes_len(unsigned int *numCPs)
Get the number of clip planes.
HRESULT tfRenderingClipPlanes_createPN(struct tfRenderingClipPlaneHandle *handle, float *point, float *normal)
Create a clip plane from a point and normal of the plane.
HRESULT tfRenderingClipPlane_setEquationE(struct tfRenderingClipPlaneHandle *handle, float *pe)
Set the coefficients of the plane equation of the clip plane.
HRESULT tfRenderingClipPlane_destroy(struct tfRenderingClipPlaneHandle *handle)
Destroy the handle instance.
HRESULT tfRenderingClipPlane_getNormal(struct tfRenderingClipPlaneHandle *handle, float **normal)
Get the normal vector of the clip plane.
HRESULT tfRenderingClipPlane_destroyCP(struct tfRenderingClipPlaneHandle *handle)
Destroy the clip plane.
HRESULT tfRenderingClipPlanes_createE(struct tfRenderingClipPlaneHandle *handle, float *pe)
Create a clip plane from the coefficients of the equation of the plane.
HRESULT tfRenderingClipPlane_getEquation(struct tfRenderingClipPlaneHandle *handle, float **pe)
Get the coefficients of the plane equation of the clip plane.
HRESULT tfRenderingClipPlanes_item(struct tfRenderingClipPlaneHandle *handle, unsigned int index)
Get a clip plane by index.