HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GR_VolumeSlice Class Reference

#include <GR_VolumeRender.h>

+ Inheritance diagram for GR_VolumeSlice:

Public Member Functions

 GR_VolumeSlice (const UT_Vector3Array &points, const UT_Vector3Array &texcoords, GR_TextureRef volume, bool selected, bool motion, bool normal, fpreal32 zinc)
 
 GR_VolumeSlice (fpreal depth, fpreal slice)
 
void setDepth (const UT_Matrix4D &proj)
 
void setVolume (GR_TextureRef vol_tex)
 
void setObjectXform (const UT_SharedPtr< UT_Matrix3D > &object)
 
void setFog (fpreal depth, fpreal slice)
 
fpreal32 depth () const
 
int triCount () const
 
void createSlice (UT_Vector3FArray &pos, UT_Vector3FArray &texcoord, UT_IntArray &draw_mode, UT_Array< GR_TextureRef > &tex, UT_IntArray &draw_count, UT_FloatArray &zincs, UT_FloatArray &depth, bool show_selection, UT_ValArray< UT_SharedPtr< UT_Matrix3D >> *obj_mats=nullptr) const
 

Additional Inherited Members

- Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable
 UT_NonCopyable ()=default
 
 ~UT_NonCopyable ()=default
 
 UT_NonCopyable (const UT_NonCopyable &)=delete
 
UT_NonCopyableoperator= (const UT_NonCopyable &)=delete
 

Detailed Description

Definition at line 117 of file GR_VolumeRender.h.

Constructor & Destructor Documentation

GR_VolumeSlice::GR_VolumeSlice ( const UT_Vector3Array points,
const UT_Vector3Array texcoords,
GR_TextureRef  volume,
bool  selected,
bool  motion,
bool  normal,
fpreal32  zinc 
)
inline

Definition at line 121 of file GR_VolumeRender.h.

GR_VolumeSlice::GR_VolumeSlice ( fpreal  depth,
fpreal  slice 
)
inline

Definition at line 133 of file GR_VolumeRender.h.

Member Function Documentation

void GR_VolumeSlice::createSlice ( UT_Vector3FArray pos,
UT_Vector3FArray texcoord,
UT_IntArray draw_mode,
UT_Array< GR_TextureRef > &  tex,
UT_IntArray draw_count,
UT_FloatArray zincs,
UT_FloatArray depth,
bool  show_selection,
UT_ValArray< UT_SharedPtr< UT_Matrix3D >> *  obj_mats = nullptr 
) const
fpreal32 GR_VolumeSlice::depth ( ) const
inline

Definition at line 151 of file GR_VolumeRender.h.

void GR_VolumeSlice::setDepth ( const UT_Matrix4D proj)
void GR_VolumeSlice::setFog ( fpreal  depth,
fpreal  slice 
)
inline

Definition at line 146 of file GR_VolumeRender.h.

void GR_VolumeSlice::setObjectXform ( const UT_SharedPtr< UT_Matrix3D > &  object)
inline

Definition at line 141 of file GR_VolumeRender.h.

void GR_VolumeSlice::setVolume ( GR_TextureRef  vol_tex)
inline

Definition at line 139 of file GR_VolumeRender.h.

int GR_VolumeSlice::triCount ( ) const
inline

Definition at line 152 of file GR_VolumeRender.h.


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