Rhino C++ API
8.13
|
#include <opennurbs_ground_plane.h>
Public Member Functions | |
ON_GroundPlane () | |
ON_GroundPlane (const ON_GroundPlane &gp) | |
ON_GroundPlane (ON_XMLNode &model_node) | |
virtual | ~ON_GroundPlane () |
virtual double | Altitude (void) const |
virtual bool | AutoAltitude (void) const |
Returns true if auto-altitude is enabled. More... | |
virtual bool | Enabled (void) const |
Returns true if the ground plane is enabled, else false. More... | |
virtual void * | EVF (const wchar_t *func, void *data) |
Emergency virtual function for future expansion. More... | |
virtual ON_UUID | MaterialInstanceId (void) const |
Returns the instance id of the ground plane's material. More... | |
virtual void | OnInternalXmlChanged (const ON_GroundPlane *) |
For internal use only. More... | |
virtual bool | operator!= (const ON_GroundPlane &gp) const |
virtual const ON_GroundPlane & | operator= (const ON_GroundPlane &gp) |
virtual bool | operator== (const ON_GroundPlane &gp) const |
virtual bool | PopulateMaterial (ON_Material &mat) const |
virtual void | SetAltitude (double altitude) |
Set the ground plane's altitude. More... | |
virtual void | SetAutoAltitude (bool on) |
Set if the ground plane is set to auto-altitude. More... | |
virtual void | SetEnabled (bool on) |
Set the ground plane enabled state. More... | |
virtual void | SetMaterialInstanceId (const ON_UUID &uuid) |
Set the instance id of the ground plane's material. More... | |
virtual void | SetShadowOnly (bool on) |
Set if the ground plane is set to shadow-only. More... | |
virtual void | SetShowUnderside (bool on) |
Set if the ground plane backface is enabled. More... | |
virtual void | SetTextureOffset (const ON_2dVector &vec) |
Set the texture offset of the ground plane in model units. More... | |
virtual void | SetTextureOffsetLocked (bool locked) |
Set if the texture offset x and y are locked together. More... | |
virtual void | SetTextureRotation (double angle) |
Set the texture rotation of the ground plane in degrees. More... | |
virtual void | SetTextureSize (const ON_2dVector &vec) |
Set the texture size of the ground plane in model units. More... | |
virtual void | SetTextureSizeLocked (bool locked) |
Set if the texture size x and y are locked together. More... | |
virtual bool | ShadowOnly (void) const |
Returns true if the ground plane is set to shadow-only. More... | |
virtual bool | ShowUnderside (void) const |
Returns true if ground plane backface is enabled, else false. More... | |
virtual ON_2dVector | TextureOffset (void) const |
Returns the texture offset of the ground plane in model units. More... | |
virtual bool | TextureOffsetLocked (void) const |
Returns true if the texture offset x and y are locked together. More... | |
virtual double | TextureRotation (void) const |
Returns the texture rotation of the ground plane in degrees. More... | |
virtual ON_2dVector | TextureSize (void) const |
Returns the texture size of the ground plane in model units. More... | |
virtual bool | TextureSizeLocked (void) const |
Returns true if the texture size x and y are locked together. More... | |
Friends | |
class | ON_3dmRenderSettingsPrivate |
< For internal use only. More... | |
Copyright (c) 1993-2022 Robert McNeel & Associates. All rights reserved. OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert McNeel & Associates.
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED.
For complete openNURBS copyright information see http://www.opennurbs.org.
ON_GroundPlane::ON_GroundPlane | ( | ) |
ON_GroundPlane::ON_GroundPlane | ( | ON_XMLNode & | model_node | ) |
ON_GroundPlane::ON_GroundPlane | ( | const ON_GroundPlane & | gp | ) |
|
virtual |
|
virtual |
Returns the altitude of the ground plane. Note that this merely returns the stored value. It does not do any auto-altitude computation. Auto-altitude must be computed by a subclass (e.g., in Rhino).
|
virtual |
Returns true if auto-altitude is enabled.
|
virtual |
Returns true if the ground plane is enabled, else false.
|
virtual |
Emergency virtual function for future expansion.
|
virtual |
Returns the instance id of the ground plane's material.
|
virtual |
For internal use only.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
This method populates an ON_Material with default settings and returns true. This is designed to be overridden by a subclass that can return a more interesting material.
|
virtual |
Set the ground plane's altitude.
|
virtual |
Set if the ground plane is set to auto-altitude.
|
virtual |
Set the ground plane enabled state.
|
virtual |
Set the instance id of the ground plane's material.
|
virtual |
Set if the ground plane is set to shadow-only.
|
virtual |
Set if the ground plane backface is enabled.
|
virtual |
Set the texture offset of the ground plane in model units.
|
virtual |
Set if the texture offset x and y are locked together.
|
virtual |
Set the texture rotation of the ground plane in degrees.
|
virtual |
Set the texture size of the ground plane in model units.
|
virtual |
Set if the texture size x and y are locked together.
|
virtual |
Returns true if the ground plane is set to shadow-only.
|
virtual |
Returns true if ground plane backface is enabled, else false.
|
virtual |
Returns the texture offset of the ground plane in model units.
|
virtual |
Returns true if the texture offset x and y are locked together.
|
virtual |
Returns the texture rotation of the ground plane in degrees.
|
virtual |
Returns the texture size of the ground plane in model units.
|
virtual |
Returns true if the texture size x and y are locked together.
|
friend |
< For internal use only.