#include <VMDDisplayList.h>
Public Methods | |
VMDDisplayList () | |
constructor. More... | |
~VMDDisplayList () | |
destructor. More... | |
void * | operator new (size_t) |
potentially shared mem allocation. More... | |
void | operator delete (void *, size_t) |
potentially shared mem allocation. More... | |
void * | append (int code, long size) |
Append a new item. Return space for the requested number of bytes. More... | |
void | reset_and_free (unsigned long newserial) |
const VMDClipPlane * | clipplane (int i) |
return clip plane info for read-only access. More... | |
void | first (VMDLinkIter *it) const |
get head of the list. More... | |
int | next (VMDLinkIter *it, char *&d) const |
get next item in the list. More... | |
int | set_clip_center (int i, const float *) |
Set/get clip plane properties. Return true on success, false if failed. More... | |
int | set_clip_normal (int i, const float *) |
Set/get clip plane properties. Return true on success, false if failed. More... | |
int | set_clip_color (int i, const float *) |
Set/get clip plane properties. Return true on success, false if failed. More... | |
int | set_clip_status (int i, int) |
Set/get clip plane properties. Return true on success, false if failed. More... | |
int | get_clip_status (int i, int &) |
Set/get clip plane properties. Return true on success, false if failed. More... | |
Public Attributes | |
Matrix4 | mat |
transform matrix for this display list. More... | |
unsigned long | serial |
globally unique serial# for cur contents. More... | |
int | cacheskip |
display list cache skip flag. More... | |
int | pbc |
periodic boundary condition flags. More... | |
int | npbc |
number of times to replicate the image. More... | |
Matrix4 | transX |
Matrix4 | transY |
Matrix4 | transZ |
how to create periodic images. More... | |
Matrix4 | transXinv |
Matrix4 | transYinv |
Matrix4 | transZinv |
the inverse transforms. More... | |
int | instanceset |
molecule instance flags. More... | |
ResizeArray< Matrix4 > | instances |
molecule instance list. More... | |
VMDClipPlane | clipplanes [VMD_MAX_CLIP_PLANE] |
user clip planes. More... | |
float | ambient |
Material properties for this display list. More... | |
float | specular |
Material properties for this display list. More... | |
float | diffuse |
Material properties for this display list. More... | |
float | shininess |
Material properties for this display list. More... | |
float | mirror |
Material properties for this display list. More... | |
float | opacity |
Material properties for this display list. More... | |
float | outline |
Material properties for this display list. More... | |
float | outlinewidth |
Material properties for this display list. More... | |
float | transmode |
Material properties for this display list. More... | |
int | materialtag |
used to avoid unnecessary material changes. More... |
Definition at line 66 of file VMDDisplayList.h.
|
constructor.
Definition at line 53 of file VMDDisplayList.C. References cacheskip, ResizeArray< Matrix4 >::clear, INSTANCE_ALL, instances, instanceset, materialtag, npbc, NULL, pbc, PBC_NONE, and serial. |
|
destructor.
Definition at line 77 of file VMDDisplayList.C. References vmd_dealloc. |
|
|
return clip plane info for read-only access.
Definition at line 107 of file VMDDisplayList.h. References NULL, and VMD_MAX_CLIP_PLANE. Referenced by Displayable::clipplane. |
|
get head of the list.
Definition at line 128 of file VMDDisplayList.h. References it. Referenced by DisplayDevice::pick, PSDisplayDevice::render, and FileRenderer::render. |
|
Set/get clip plane properties. Return true on success, false if failed.
Definition at line 163 of file VMDDisplayList.C. References clipplanes, VMDClipPlane::mode, and VMD_MAX_CLIP_PLANE. Referenced by Displayable::set_clip_center, Displayable::set_clip_color, Displayable::set_clip_normal, and Displayable::set_clip_status. |
|
get next item in the list.
Definition at line 134 of file VMDDisplayList.h. Referenced by DisplayDevice::pick, PSDisplayDevice::render, and FileRenderer::render. |
|
potentially shared mem allocation.
Definition at line 49 of file VMDDisplayList.C. References vmd_dealloc. |
|
potentially shared mem allocation.
Definition at line 45 of file VMDDisplayList.C. |
|
Definition at line 117 of file VMDDisplayList.C. References BASE_DISPLAYLIST_SIZE, NULL, serial, and vmd_dealloc. Referenced by Displayable::reset_disp_list, and Displayable::~Displayable. |
|
Set/get clip plane properties. Return true on success, false if failed.
Definition at line 141 of file VMDDisplayList.C. References VMDClipPlane::center, clipplanes, and VMD_MAX_CLIP_PLANE. Referenced by Displayable::set_clip_center. |
|
Set/get clip plane properties. Return true on success, false if failed.
Definition at line 149 of file VMDDisplayList.C. References clipplanes, VMDClipPlane::color, and VMD_MAX_CLIP_PLANE. Referenced by Displayable::set_clip_color. |
|
Set/get clip plane properties. Return true on success, false if failed.
Definition at line 131 of file VMDDisplayList.C. References clipplanes, length, norm, VMDClipPlane::normal, and VMD_MAX_CLIP_PLANE. Referenced by Displayable::set_clip_normal. |
|
Set/get clip plane properties. Return true on success, false if failed.
Definition at line 157 of file VMDDisplayList.C. References clipplanes, VMDClipPlane::mode, and VMD_MAX_CLIP_PLANE. Referenced by Displayable::set_clip_status. |
|
Material properties for this display list.
Definition at line 92 of file VMDDisplayList.h. Referenced by Displayable::change_material, Displayable::Displayable, and FileRenderer::render. |
|
display list cache skip flag.
Definition at line 82 of file VMDDisplayList.h. Referenced by Displayable::cacheskip, Displayable::Displayable, and VMDDisplayList. |
|
user clip planes.
Definition at line 97 of file VMDDisplayList.h. Referenced by get_clip_status, DisplayDevice::pick, FileRenderer::render, set_clip_center, set_clip_color, set_clip_normal, and set_clip_status. |
|
Material properties for this display list.
Definition at line 92 of file VMDDisplayList.h. Referenced by Displayable::change_material, Displayable::Displayable, and FileRenderer::render. |
|
molecule instance list.
Definition at line 88 of file VMDDisplayList.h. Referenced by DisplayDevice::find_instance_images, and VMDDisplayList. |
|
molecule instance flags.
Definition at line 87 of file VMDDisplayList.h. Referenced by DisplayDevice::find_instance_images, DrawMolItem::get_instances, DrawMolItem::prepare, DrawMolItem::set_instances, and VMDDisplayList. |
|
transform matrix for this display list.
Definition at line 80 of file VMDDisplayList.h. Referenced by DisplayDevice::pick, Displayable::recalc_mat, PSDisplayDevice::render, and FileRenderer::render. |
|
used to avoid unnecessary material changes.
Definition at line 94 of file VMDDisplayList.h. Referenced by Displayable::change_material, Displayable::curr_material, Displayable::Displayable, FileRenderer::render, and VMDDisplayList. |
|
Material properties for this display list.
Definition at line 92 of file VMDDisplayList.h. Referenced by Displayable::change_material, Displayable::Displayable, and FileRenderer::render. |
|
number of times to replicate the image.
Definition at line 84 of file VMDDisplayList.h. Referenced by DisplayDevice::find_pbc_cells, DrawMolItem::get_pbc_images, DrawMolItem::set_pbc_images, and VMDDisplayList. |
|
Material properties for this display list.
Definition at line 92 of file VMDDisplayList.h. Referenced by Displayable::change_material, Displayable::Displayable, and FileRenderer::render. |
|
Material properties for this display list.
Definition at line 93 of file VMDDisplayList.h. Referenced by Displayable::change_material, Displayable::Displayable, and FileRenderer::render. |
|
Material properties for this display list.
Definition at line 93 of file VMDDisplayList.h. Referenced by Displayable::change_material, Displayable::Displayable, and FileRenderer::render. |
|
periodic boundary condition flags.
Definition at line 83 of file VMDDisplayList.h. Referenced by DisplayDevice::find_pbc_cells, DisplayDevice::find_pbc_images, DrawMolItem::get_pbc, DrawMolItem::prepare, DrawMolItem::set_pbc, and VMDDisplayList. |
|
globally unique serial# for cur contents.
Definition at line 81 of file VMDDisplayList.h. Referenced by reset_and_free, and VMDDisplayList. |
|
Material properties for this display list.
Definition at line 92 of file VMDDisplayList.h. Referenced by Displayable::change_material, Displayable::Displayable, and FileRenderer::render. |
|
Material properties for this display list.
Definition at line 92 of file VMDDisplayList.h. Referenced by Displayable::change_material, Displayable::Displayable, and FileRenderer::render. |
|
Material properties for this display list.
Definition at line 93 of file VMDDisplayList.h. Referenced by Displayable::change_material, Displayable::Displayable, and FileRenderer::render. |
|
Definition at line 85 of file VMDDisplayList.h. Referenced by DisplayDevice::find_pbc_images. |
|
Definition at line 86 of file VMDDisplayList.h. Referenced by DisplayDevice::find_pbc_images. |
|
Definition at line 85 of file VMDDisplayList.h. Referenced by DisplayDevice::find_pbc_images. |
|
Definition at line 86 of file VMDDisplayList.h. Referenced by DisplayDevice::find_pbc_images. |
|
how to create periodic images.
Definition at line 85 of file VMDDisplayList.h. Referenced by DisplayDevice::find_pbc_images. |
|
the inverse transforms.
Definition at line 86 of file VMDDisplayList.h. Referenced by DisplayDevice::find_pbc_images. |